hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/Documentation/devicetree/bindings/gpio/gpio-omap.txt
....@@ -5,6 +5,8 @@
55 - "ti,omap2-gpio" for OMAP2 controllers
66 - "ti,omap3-gpio" for OMAP3 controllers
77 - "ti,omap4-gpio" for OMAP4 controllers
8
+- reg : Physical base address of the controller and length of memory mapped
9
+ region.
810 - gpio-controller : Marks the device node as a GPIO controller.
911 - #gpio-cells : Should be two.
1012 - first cell is the pin number
....@@ -18,6 +20,8 @@
1820 2 = high-to-low edge triggered.
1921 4 = active high level-sensitive.
2022 8 = active low level-sensitive.
23
+- interrupts : The interrupt the controller is rising as output when an
24
+ interrupt occures
2125
2226 OMAP specific properties:
2327 - ti,hwmods: Name of the hwmod associated to the GPIO:
....@@ -29,11 +33,13 @@
2933
3034 Example:
3135
32
-gpio4: gpio4 {
36
+gpio0: gpio@44e07000 {
3337 compatible = "ti,omap4-gpio";
34
- ti,hwmods = "gpio4";
38
+ reg = <0x44e07000 0x1000>;
39
+ ti,hwmods = "gpio1";
3540 gpio-controller;
3641 #gpio-cells = <2>;
3742 interrupt-controller;
3843 #interrupt-cells = <2>;
44
+ interrupts = <96>;
3945 };