1 == Amlogic Meson pinmux controller ==
3 Required properties for the root node:
4 - compatible: one of "amlogic,meson8-cbus-pinctrl"
5 "amlogic,meson8b-cbus-pinctrl"
6 "amlogic,meson8-aobus-pinctrl"
7 "amlogic,meson8b-aobus-pinctrl"
8 "amlogic,meson-gxbb-periphs-pinctrl"
9 "amlogic,meson-gxbb-aobus-pinctrl"
10 "amlogic,meson-gxl-periphs-pinctrl"
11 "amlogic,meson-gxl-aobus-pinctrl"
12 - reg: address and size of registers controlling irq functionality
14 === GPIO sub-nodes ===
16 The GPIO bank for the controller is represented as a sub-node and it acts as a
19 Required properties for sub-nodes are:
20 - reg: should contain address and size for mux, pull-enable, pull and
22 - reg-names: an array of strings describing the "reg" entries. Must
23 contain "mux", "pull" and "gpio". "pull-enable" is optional and
24 when it is missing the "pull" registers are used instead
25 - gpio-controller: identifies the node as a gpio controller
26 - #gpio-cells: must be 2
28 === Other sub-nodes ===
30 Child nodes without the "gpio-controller" represent some desired
31 configuration for a pin or a group. Those nodes can be pinmux nodes or
34 Required properties for pinmux nodes are:
35 - groups: a list of pinmux groups. The list of all available groups
36 depends on the SoC and can be found in driver sources.
37 - function: the name of a function to activate for the specified set
38 of groups. The list of all available functions depends on the SoC
39 and can be found in driver sources.
41 Required properties for configuration nodes:
42 - pins: a list of pin names
44 Configuration nodes support the generic properties "bias-disable",
45 "bias-pull-up" and "bias-pull-down", described in file
50 pinctrl: pinctrl@c1109880 {
51 compatible = "amlogic,meson8-cbus-pinctrl";
52 reg = <0xc1109880 0x10>;
57 gpio: banks@c11080b0 {
58 reg = <0xc11080b0 0x28>,
62 reg-names = "mux", "pull", "pull-enable", "gpio";
69 groups = "nand_io", "nand_io_ce0", "nand_io_ce1",
70 "nand_io_rb0", "nand_ale", "nand_cle",
71 "nand_wen_clk", "nand_ren_clk", "nand_dqs",
72 "nand_ce2", "nand_ce3";