Back to home page

OSCL-LXR

 
 

    


0001 APM X-Gene SoC GPIO controller bindings
0002 
0003 This is a gpio controller that is part of the flash controller.
0004 This gpio controller controls a total of 48 gpios.
0005 
0006 Required properties:
0007 - compatible: "apm,xgene-gpio" for X-Gene GPIO controller
0008 - reg: Physical base address and size of the controller's registers
0009 - #gpio-cells: Should be two.
0010         - first cell is the pin number
0011         - second cell is used to specify the gpio polarity:
0012                 0 = active high
0013                 1 = active low
0014 - gpio-controller: Marks the device node as a GPIO controller.
0015 
0016 Example:
0017         gpio0: gpio0@1701c000 {
0018                 compatible = "apm,xgene-gpio";
0019                 reg = <0x0 0x1701c000 0x0 0x40>;
0020                 gpio-controller;
0021                 #gpio-cells = <2>;
0022         };