提交 a879891e 编写于 作者: D Daniel Mack 提交者: Linus Walleij

gpio: pxa: Documentation: provide example bindings for PXA3xx

Add another example to describe bindings that work for PXA3xx boards.
Signed-off-by: NDaniel Mack <zonque@gmail.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 51dd2e8e
...@@ -19,7 +19,7 @@ Required properties: ...@@ -19,7 +19,7 @@ Required properties:
- gpio-controller : Marks the device node as a gpio controller. - gpio-controller : Marks the device node as a gpio controller.
- #gpio-cells : Should be one. It is the pin number. - #gpio-cells : Should be one. It is the pin number.
Example: Example for a MMP platform:
gpio: gpio@d4019000 { gpio: gpio@d4019000 {
compatible = "marvell,mmp-gpio"; compatible = "marvell,mmp-gpio";
...@@ -32,6 +32,19 @@ Example: ...@@ -32,6 +32,19 @@ Example:
#interrupt-cells = <1>; #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 * Marvell Orion GPIO Controller
Required properties: Required properties:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册