diff options
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio-msm.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-msm.txt b/Documentation/devicetree/bindings/gpio/gpio-msm.txt new file mode 100644 index 000000000000..ac20e68a004e --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio-msm.txt | |||
@@ -0,0 +1,26 @@ | |||
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 | }; | ||