Haojian Zhuang | 46e446d | 2012-03-01 13:49:57 +0800 | [diff] [blame] | 1 | * Marvell PXA GPIO controller |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : Should be "mrvl,pxa-gpio" or "mrvl,mmp-gpio" |
| 5 | - reg : Address and length of the register set for the device |
| 6 | - interrupts : Should be the port interrupt shared by all gpio pins, if |
| 7 | - interrupt-name : Should be the name of irq resource. |
| 8 | one number. |
| 9 | - gpio-controller : Marks the device node as a gpio controller. |
| 10 | - #gpio-cells : Should be one. It is the pin number. |
| 11 | |
| 12 | Example: |
| 13 | |
| 14 | gpio: gpio@d4019000 { |
| 15 | compatible = "mrvl,mmp-gpio", "mrvl,pxa-gpio"; |
| 16 | reg = <0xd4019000 0x1000>; |
| 17 | interrupts = <49>, <17>, <18>; |
| 18 | interrupt-name = "gpio_mux", "gpio0", "gpio1"; |
| 19 | gpio-controller; |
| 20 | #gpio-cells = <1>; |
| 21 | interrupt-controller; |
| 22 | #interrupt-cells = <1>; |
| 23 | }; |