diff options
author | Jonas Jensen <jonas.jensen@gmail.com> | 2013-11-29 11:11:34 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-12-03 10:26:08 (GMT) |
commit | 0299b77b44531ae0963fe86d8b9cb9b5ddb584b7 (patch) | |
tree | 4eaca26add5385a6a1d5508366c92dd5c08b72d3 /Documentation/devicetree/bindings/gpio | |
parent | 612575255635f67f09f6261114f58965f2062584 (diff) | |
download | linux-0299b77b44531ae0963fe86d8b9cb9b5ddb584b7.tar.xz |
gpio: Add MOXA ART GPIO driver
Add GPIO driver for MOXA ART SoCs.
Signed-off-by: Jonas Jensen <jonas.jensen@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/moxa,moxart-gpio.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/moxa,moxart-gpio.txt b/Documentation/devicetree/bindings/gpio/moxa,moxart-gpio.txt new file mode 100644 index 0000000..f8e8f18 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/moxa,moxart-gpio.txt @@ -0,0 +1,19 @@ +MOXA ART GPIO Controller + +Required properties: + +- #gpio-cells : Should be 2, The first cell is the pin number, + the second cell is used to specify polarity: + 0 = active high + 1 = active low +- compatible : Must be "moxa,moxart-gpio" +- reg : Should contain registers location and length + +Example: + + gpio: gpio@98700000 { + gpio-controller; + #gpio-cells = <2>; + compatible = "moxa,moxart-gpio"; + reg = <0x98700000 0xC>; + }; |