diff options
Diffstat (limited to 'Documentation/devicetree/bindings/gpio/gpio-omap.txt')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio-omap.txt | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-omap.txt b/Documentation/devicetree/bindings/gpio/gpio-omap.txt index bff51a2fee1e..8d950522e7fa 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-omap.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-omap.txt | |||
@@ -5,12 +5,12 @@ Required properties: | |||
5 | - "ti,omap2-gpio" for OMAP2 controllers | 5 | - "ti,omap2-gpio" for OMAP2 controllers |
6 | - "ti,omap3-gpio" for OMAP3 controllers | 6 | - "ti,omap3-gpio" for OMAP3 controllers |
7 | - "ti,omap4-gpio" for OMAP4 controllers | 7 | - "ti,omap4-gpio" for OMAP4 controllers |
8 | - gpio-controller : Marks the device node as a GPIO controller. | ||
8 | - #gpio-cells : Should be two. | 9 | - #gpio-cells : Should be two. |
9 | - first cell is the pin number | 10 | - first cell is the pin number |
10 | - second cell is used to specify optional parameters (unused) | 11 | - second cell is used to specify optional parameters (unused) |
11 | - gpio-controller : Marks the device node as a GPIO controller. | 12 | - interrupt-controller: Mark the device node as an interrupt controller. |
12 | - #interrupt-cells : Should be 2. | 13 | - #interrupt-cells : Should be 2. |
13 | - interrupt-controller: Mark the device node as an interrupt controller | ||
14 | The first cell is the GPIO number. | 14 | The first cell is the GPIO number. |
15 | The second cell is used to specify flags: | 15 | The second cell is used to specify flags: |
16 | bits[3:0] trigger type and level flags: | 16 | bits[3:0] trigger type and level flags: |
@@ -20,8 +20,11 @@ Required properties: | |||
20 | 8 = active low level-sensitive. | 20 | 8 = active low level-sensitive. |
21 | 21 | ||
22 | OMAP specific properties: | 22 | OMAP specific properties: |
23 | - ti,hwmods: Name of the hwmod associated to the GPIO: | 23 | - ti,hwmods: Name of the hwmod associated to the GPIO: |
24 | "gpio<X>", <X> being the 1-based instance number from the HW spec | 24 | "gpio<X>", <X> being the 1-based instance number |
25 | from the HW spec. | ||
26 | - ti,gpio-always-on: Indicates if a GPIO bank is always powered and | ||
27 | so will never lose its logic state. | ||
25 | 28 | ||
26 | 29 | ||
27 | Example: | 30 | Example: |
@@ -29,8 +32,8 @@ Example: | |||
29 | gpio4: gpio4 { | 32 | gpio4: gpio4 { |
30 | compatible = "ti,omap4-gpio"; | 33 | compatible = "ti,omap4-gpio"; |
31 | ti,hwmods = "gpio4"; | 34 | ti,hwmods = "gpio4"; |
32 | #gpio-cells = <2>; | ||
33 | gpio-controller; | 35 | gpio-controller; |
34 | #interrupt-cells = <2>; | 36 | #gpio-cells = <2>; |
35 | interrupt-controller; | 37 | interrupt-controller; |
38 | #interrupt-cells = <2>; | ||
36 | }; | 39 | }; |