devicetree: Add ARM pl061 gpio controller binding doc
authorRob Herring <rob.herring@calxeda.com>
Fri, 23 Sep 2011 14:55:54 +0000 (09:55 -0500)
committerRob Herring <rob.herring@calxeda.com>
Wed, 5 Oct 2011 12:39:56 +0000 (07:39 -0500)
Add binding documentation for ARM's Primecell PL061 GPIO controller.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Documentation/devicetree/bindings/gpio/pl061-gpio.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/gpio/pl061-gpio.txt b/Documentation/devicetree/bindings/gpio/pl061-gpio.txt
new file mode 100644 (file)
index 0000000..a2c416b
--- /dev/null
@@ -0,0 +1,10 @@
+ARM PL061 GPIO controller
+
+Required properties:
+- compatible : "arm,pl061", "arm,primecell"
+- #gpio-cells : Should be two. The first cell is the pin number and the
+  second cell is used to specify optional parameters:
+  - bit 0 specifies polarity (0 for normal, 1 for inverted)
+- gpio-controller : Marks the device node as a GPIO controller.
+- interrupts : Interrupt mapping for GPIO IRQ.
+