1 APM X-Gene SoC GPIO controller bindings 1 APM X-Gene SoC GPIO controller bindings 2 2 3 This is a gpio controller that is part of the 3 This is a gpio controller that is part of the flash controller. 4 This gpio controller controls a total of 48 gp 4 This gpio controller controls a total of 48 gpios. 5 5 6 Required properties: 6 Required properties: 7 - compatible: "apm,xgene-gpio" for X-Gene GPIO 7 - compatible: "apm,xgene-gpio" for X-Gene GPIO controller 8 - reg: Physical base address and size of the c 8 - reg: Physical base address and size of the controller's registers 9 - #gpio-cells: Should be two. 9 - #gpio-cells: Should be two. 10 - first cell is the pin number 10 - first cell is the pin number 11 - second cell is used to specify the g 11 - second cell is used to specify the gpio polarity: 12 0 = active high 12 0 = active high 13 1 = active low 13 1 = active low 14 - gpio-controller: Marks the device node as a 14 - gpio-controller: Marks the device node as a GPIO controller. 15 15 16 Example: 16 Example: 17 gpio0: gpio0@1701c000 { 17 gpio0: gpio0@1701c000 { 18 compatible = "apm,xgene-gpio"; 18 compatible = "apm,xgene-gpio"; 19 reg = <0x0 0x1701c000 0x0 0x40 19 reg = <0x0 0x1701c000 0x0 0x40>; 20 gpio-controller; 20 gpio-controller; 21 #gpio-cells = <2>; 21 #gpio-cells = <2>; 22 }; 22 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.