diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2012-03-01 13:49:57 +0800 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-03-07 09:32:52 +0800 |
commit | 46e446db4fb2cdb2f1bc69d3981fa23738a42835 (patch) | |
tree | 19091e18c031153685374723f64fad68eae6d43a /Documentation/devicetree/bindings/gpio/mrvl-gpio.txt | |
parent | 10d77ec21a748e7ddaf6410bd08959769764520c (diff) | |
download | blackbird-op-linux-46e446db4fb2cdb2f1bc69d3981fa23738a42835.tar.gz blackbird-op-linux-46e446db4fb2cdb2f1bc69d3981fa23738a42835.zip |
Document: devicetree: add OF documents for arch-mmp
Add OF support in Document/devicetree directory.
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio/mrvl-gpio.txt')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/mrvl-gpio.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt b/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt new file mode 100644 index 000000000000..1e34cfe5ebea --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt @@ -0,0 +1,23 @@ +* Marvell PXA GPIO controller + +Required properties: +- compatible : Should be "mrvl,pxa-gpio" or "mrvl,mmp-gpio" +- reg : Address and length of the register set for the device +- interrupts : Should be the port interrupt shared by all gpio pins, if +- interrupt-name : Should be the name of irq resource. + one number. +- gpio-controller : Marks the device node as a gpio controller. +- #gpio-cells : Should be one. It is the pin number. + +Example: + + gpio: gpio@d4019000 { + compatible = "mrvl,mmp-gpio", "mrvl,pxa-gpio"; + reg = <0xd4019000 0x1000>; + interrupts = <49>, <17>, <18>; + interrupt-name = "gpio_mux", "gpio0", "gpio1"; + gpio-controller; + #gpio-cells = <1>; + interrupt-controller; + #interrupt-cells = <1>; + }; |