diff options
Diffstat (limited to 'Documentation')
-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 000000000000..f8e8f185a3db --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/moxa,moxart-gpio.txt | |||
@@ -0,0 +1,19 @@ | |||
1 | MOXA ART GPIO Controller | ||
2 | |||
3 | Required properties: | ||
4 | |||
5 | - #gpio-cells : Should be 2, The first cell is the pin number, | ||
6 | the second cell is used to specify polarity: | ||
7 | 0 = active high | ||
8 | 1 = active low | ||
9 | - compatible : Must be "moxa,moxart-gpio" | ||
10 | - reg : Should contain registers location and length | ||
11 | |||
12 | Example: | ||
13 | |||
14 | gpio: gpio@98700000 { | ||
15 | gpio-controller; | ||
16 | #gpio-cells = <2>; | ||
17 | compatible = "moxa,moxart-gpio"; | ||
18 | reg = <0x98700000 0xC>; | ||
19 | }; | ||