Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303207
b: refs/heads/master
c: b55ac4e
h: refs/heads/master
i:
  303205: 18b10a8
  303203: edbc95d
  303199: 648532a
v: v3
  • Loading branch information
Lee Jones authored and Linus Walleij committed Apr 23, 2012
1 parent 2913aa0 commit 904aa97
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c0b133bda1eb89f7ce737fc7c646fa68ec7b9f1a
refs/heads/master: b55ac4ea96adc907bec7b0a804c1edd3dbf2e64d
29 changes: 29 additions & 0 deletions trunk/Documentation/devicetree/bindings/gpio/gpio-nmk.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Nomadik GPIO controller

Required properties:
- compatible : Should be "st,nomadik-gpio".
- reg : Physical base address and length of the controller's registers.
- interrupts : The interrupt outputs from the controller.
- #gpio-cells : Should be two:
The first cell is the pin number.
The second cell is used to specify optional parameters:
- bits[3:0] trigger type and level flags:
1 = low-to-high edge triggered.
2 = high-to-low edge triggered.
4 = active high level-sensitive.
8 = active low level-sensitive.
- gpio-controller : Marks the device node as a GPIO controller.
- gpio-bank : Specifies which bank a controller owns.
- st,supports-sleepmode : Specifies whether controller can sleep or not

Example:

gpio1: gpio@8012e080 {
compatible = "st,nomadik-gpio";
reg = <0x8012e080 0x80>;
interrupts = <0 120 0x4>;
#gpio-cells = <2>;
gpio-controller;
supports-sleepmode;
gpio-bank = <1>;
};

0 comments on commit 904aa97

Please sign in to comment.