Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / Documentation / devicetree / bindings / gpio / moxa,moxart-gpio.txt
diff --git a/kernel/Documentation/devicetree/bindings/gpio/moxa,moxart-gpio.txt b/kernel/Documentation/devicetree/bindings/gpio/moxa,moxart-gpio.txt
new file mode 100644 (file)
index 0000000..f8e8f18
--- /dev/null
@@ -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>;
+       };