Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
60 lines
1.2 KiB
Plaintext
60 lines
1.2 KiB
Plaintext
Cortina Systems Gemini pin controller
|
|
|
|
This pin controller is found in the Cortina Systems Gemini SoC family,
|
|
see further arm/gemini.txt. It is a purely group-based multiplexing pin
|
|
controller.
|
|
|
|
The pin controller node must be a subnode of the system controller node.
|
|
|
|
Required properties:
|
|
- compatible: "cortina,gemini-pinctrl"
|
|
|
|
Subnodes of the pin controller contain pin control multiplexing set-up.
|
|
Please refer to pinctrl-bindings.txt for generic pin multiplexing nodes.
|
|
|
|
Example:
|
|
|
|
|
|
syscon {
|
|
compatible = "cortina,gemini-syscon";
|
|
...
|
|
pinctrl {
|
|
compatible = "cortina,gemini-pinctrl";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&dram_default_pins>, <&system_default_pins>,
|
|
<&vcontrol_default_pins>;
|
|
|
|
dram_default_pins: pinctrl-dram {
|
|
mux {
|
|
function = "dram";
|
|
groups = "dramgrp";
|
|
};
|
|
};
|
|
rtc_default_pins: pinctrl-rtc {
|
|
mux {
|
|
function = "rtc";
|
|
groups = "rtcgrp";
|
|
};
|
|
};
|
|
power_default_pins: pinctrl-power {
|
|
mux {
|
|
function = "power";
|
|
groups = "powergrp";
|
|
};
|
|
};
|
|
system_default_pins: pinctrl-system {
|
|
mux {
|
|
function = "system";
|
|
groups = "systemgrp";
|
|
};
|
|
};
|
|
(...)
|
|
uart_default_pins: pinctrl-uart {
|
|
mux {
|
|
function = "uart";
|
|
groups = "uartrxtxgrp";
|
|
};
|
|
};
|
|
};
|
|
};
|