Skip to content

Commit

Permalink
gpio: pxa: Documentation: provide example bindings for PXA3xx
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Mack authored and Linus Walleij committed Aug 29, 2014
1 parent 51dd2e8 commit a879891
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Documentation/devicetree/bindings/gpio/mrvl-gpio.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Required properties:
- gpio-controller : Marks the device node as a gpio controller.
- #gpio-cells : Should be one. It is the pin number.

Example:
Example for a MMP platform:

gpio: gpio@d4019000 {
compatible = "marvell,mmp-gpio";
Expand All @@ -32,6 +32,19 @@ Example:
#interrupt-cells = <1>;
};

Example for a PXA3xx platform:

gpio: gpio@40e00000 {
compatible = "intel,pxa3xx-gpio";
reg = <0x40e00000 0x10000>;
interrupt-names = "gpio0", "gpio1", "gpio_mux";
interrupts = <8 9 10>;
gpio-controller;
#gpio-cells = <0x2>;
interrupt-controller;
#interrupt-cells = <0x2>;
};

* Marvell Orion GPIO Controller

Required properties:
Expand Down

0 comments on commit a879891

Please sign in to comment.