浏览代码

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>
Rob Herring 13 年之前
父节点
当前提交
f614c74f94
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      Documentation/devicetree/bindings/gpio/pl061-gpio.txt

+ 10 - 0
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.
+