summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2011-09-23 09:55:54 -0500
committerRob Herring <rob.herring@calxeda.com>2011-10-05 07:39:56 -0500
commitf614c74f94f435adcbe52bf7682f1dcc805f0ab1 (patch)
treec08b63e5bb0d0b269b29e2528f693047dd2909de /Documentation
parentdc9372808412edbc653a675a526c2ee6c0c14a91 (diff)
downloadop-kernel-dev-f614c74f94f435adcbe52bf7682f1dcc805f0ab1.zip
op-kernel-dev-f614c74f94f435adcbe52bf7682f1dcc805f0ab1.tar.gz
devicetree: Add ARM pl061 gpio controller binding doc
Add binding documentation for ARM's Primecell PL061 GPIO controller. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/gpio/pl061-gpio.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/pl061-gpio.txt b/Documentation/devicetree/bindings/gpio/pl061-gpio.txt
new file mode 100644
index 0000000..a2c416b
--- /dev/null
+++ b/Documentation/devicetree/bindings/gpio/pl061-gpio.txt
@@ -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.
+
OpenPOWER on IntegriCloud