1Aspeed GPIO controller Device Tree Bindings 2------------------------------------------- 3 4Required properties: 5- compatible : Either "aspeed,ast2400-gpio" or "aspeed,ast2500-gpio" 6 7- #gpio-cells : Should be two 8 - First cell is the GPIO line number 9 - Second cell is used to specify optional 10 parameters (unused) 11 12- reg : Address and length of the register set for the device 13- gpio-controller : Marks the device node as a GPIO controller. 14- interrupts : Interrupt specifier (see interrupt bindings for 15 details) 16- interrupt-controller : Mark the GPIO controller as an interrupt-controller 17 18Optional properties: 19 20- clocks : A phandle to the clock to use for debounce timings 21 22The gpio and interrupt properties are further described in their respective 23bindings documentation: 24 25- Documentation/devicetree/bindings/gpio/gpio.txt 26- Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 27 28 Example: 29 gpio@1e780000 { 30 #gpio-cells = <2>; 31 compatible = "aspeed,ast2400-gpio"; 32 gpio-controller; 33 interrupts = <20>; 34 reg = <0x1e780000 0x1000>; 35 interrupt-controller; 36 }; 37