Rohit Vaswani | 43f6844 | 2013-06-10 15:50:21 -0700 | [diff] [blame^] | 1 | MSM GPIO controller bindings |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: |
| 5 | - "qcom,msm-gpio" for MSM controllers |
| 6 | - #gpio-cells : Should be two. |
| 7 | - first cell is the pin number |
| 8 | - second cell is used to specify optional parameters (unused) |
| 9 | - gpio-controller : Marks the device node as a GPIO controller. |
| 10 | - #interrupt-cells : Should be 2. |
| 11 | - interrupt-controller: Mark the device node as an interrupt controller |
| 12 | - interrupts : Specify the TLMM summary interrupt number |
| 13 | - ngpio : Specify the number of MSM GPIOs |
| 14 | |
| 15 | Example: |
| 16 | |
| 17 | msmgpio: gpio@fd510000 { |
| 18 | compatible = "qcom,msm-gpio"; |
| 19 | gpio-controller; |
| 20 | #gpio-cells = <2>; |
| 21 | interrupt-controller; |
| 22 | #interrupt-cells = <2>; |
| 23 | reg = <0xfd510000 0x4000>; |
| 24 | interrupts = <0 208 0>; |
| 25 | ngpio = <150>; |
| 26 | }; |