11== Amlogic Meson pinmux controller ==
22
33Required properties for the root node:
4- - compatible: "amlogic,meson8-pinctrl" or "amlogic,meson8b-pinctrl"
4+ - compatible: one of "amlogic,meson8-cbus-pinctrl"
5+ "amlogic,meson8b-cbus-pinctrl"
6+ "amlogic,meson8-aobus-pinctrl"
7+ "amlogic,meson8b-aobus-pinctrl"
58 - reg: address and size of registers controlling irq functionality
69
710=== GPIO sub-nodes ===
811
9- The 2 power domains of the controller (regular and always-on) are
10- represented as sub-nodes and each of them acts as a GPIO controller.
12+ The GPIO bank for the controller is represented as a sub-node and it acts as a
13+ GPIO controller.
1114
1215Required properties for sub-nodes are:
1316 - reg: should contain address and size for mux, pull-enable, pull and
@@ -18,10 +21,6 @@ Required properties for sub-nodes are:
1821 - gpio-controller: identifies the node as a gpio controller
1922 - #gpio-cells: must be 2
2023
21- Valid sub-node names are:
22- - "banks" for the regular domain
23- - "ao-bank" for the always-on domain
24-
2524=== Other sub-nodes ===
2625
2726Child nodes without the "gpio-controller" represent some desired
@@ -45,7 +44,7 @@ pinctrl-bindings.txt
4544=== Example ===
4645
4746 pinctrl: pinctrl@c1109880 {
48- compatible = "amlogic,meson8-pinctrl";
47+ compatible = "amlogic,meson8-cbus- pinctrl";
4948 reg = <0xc1109880 0x10>;
5049 #address-cells = <1>;
5150 #size-cells = <1>;
@@ -61,15 +60,6 @@ pinctrl-bindings.txt
6160 #gpio-cells = <2>;
6261 };
6362
64- gpio_ao: ao-bank@c1108030 {
65- reg = <0xc8100014 0x4>,
66- <0xc810002c 0x4>,
67- <0xc8100024 0x8>;
68- reg-names = "mux", "pull", "gpio";
69- gpio-controller;
70- #gpio-cells = <2>;
71- };
72-
7363 nand {
7464 mux {
7565 groups = "nand_io", "nand_io_ce0", "nand_io_ce1",
@@ -79,18 +69,4 @@ pinctrl-bindings.txt
7969 function = "nand";
8070 };
8171 };
82-
83- uart_ao_a {
84- mux {
85- groups = "uart_tx_ao_a", "uart_rx_ao_a",
86- "uart_cts_ao_a", "uart_rts_ao_a";
87- function = "uart_ao";
88- };
89-
90- conf {
91- pins = "GPIOAO_0", "GPIOAO_1",
92- "GPIOAO_2", "GPIOAO_3";
93- bias-disable;
94- };
95- };
9672 };
0 commit comments