1OMAP GPIO controller bindings
2
3Required properties:
4- compatible:
5  - "ti,omap2-gpio" for OMAP2 controllers
6  - "ti,omap3-gpio" for OMAP3 controllers
7  - "ti,omap4-gpio" for OMAP4 controllers
8- reg : Physical base address of the controller and length of memory mapped
9  region.
10- gpio-controller : Marks the device node as a GPIO controller.
11- #gpio-cells : Should be two.
12  - first cell is the pin number
13  - second cell is used to specify optional parameters (unused)
14- interrupt-controller: Mark the device node as an interrupt controller.
15- #interrupt-cells : Should be 2.
16  The first cell is the GPIO number.
17  The second cell is used to specify flags:
18    bits[3:0] trigger type and level flags:
19      1 = low-to-high edge triggered.
20      2 = high-to-low edge triggered.
21      4 = active high level-sensitive.
22      8 = active low level-sensitive.
23- interrupts : The interrupt the controller is rising as output when an
24  interrupt occures
25
26OMAP specific properties:
27- ti,hwmods:		Name of the hwmod associated to the GPIO:
28			"gpio<X>", <X> being the 1-based instance number
29			from the HW spec.
30- ti,gpio-always-on: 	Indicates if a GPIO bank is always powered and
31			so will never lose its logic state.
32
33
34Example:
35
36gpio0: gpio@44e07000 {
37    compatible = "ti,omap4-gpio";
38    reg = <0x44e07000 0x1000>;
39    ti,hwmods = "gpio1";
40    gpio-controller;
41    #gpio-cells = <2>;
42    interrupt-controller;
43    #interrupt-cells = <2>;
44    interrupts = <96>;
45};
46