aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2014-08-14 05:40:24 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-08-29 02:20:34 -0400
commita879891ee80413f6999905db43ad0d6852dfa6ca (patch)
treea3b02ab6804bb3ee7d28646009dd0a42ee164a8c
parent51dd2e8ec99cc83bd787f836f1d812f384a61dff (diff)
gpio: pxa: Documentation: provide example bindings for PXA3xx
Add another example to describe bindings that work for PXA3xx boards. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/gpio/mrvl-gpio.txt15
1 files changed, 14 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt b/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt
index 66416261e14d..b2afdb27adeb 100644
--- a/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt
@@ -19,7 +19,7 @@ Required properties:
19- gpio-controller : Marks the device node as a gpio controller. 19- gpio-controller : Marks the device node as a gpio controller.
20- #gpio-cells : Should be one. It is the pin number. 20- #gpio-cells : Should be one. It is the pin number.
21 21
22Example: 22Example for a MMP platform:
23 23
24 gpio: gpio@d4019000 { 24 gpio: gpio@d4019000 {
25 compatible = "marvell,mmp-gpio"; 25 compatible = "marvell,mmp-gpio";
@@ -32,6 +32,19 @@ Example:
32 #interrupt-cells = <1>; 32 #interrupt-cells = <1>;
33 }; 33 };
34 34
35Example for a PXA3xx platform:
36
37 gpio: gpio@40e00000 {
38 compatible = "intel,pxa3xx-gpio";
39 reg = <0x40e00000 0x10000>;
40 interrupt-names = "gpio0", "gpio1", "gpio_mux";
41 interrupts = <8 9 10>;
42 gpio-controller;
43 #gpio-cells = <0x2>;
44 interrupt-controller;
45 #interrupt-cells = <0x2>;
46 };
47
35* Marvell Orion GPIO Controller 48* Marvell Orion GPIO Controller
36 49
37Required properties: 50Required properties: