hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/Documentation/devicetree/bindings/gpio/gpio-davinci.txt
....@@ -5,6 +5,8 @@
55 "ti,keystone-gpio": for Keystone 2 66AK2H/K, 66AK2L,
66 66AK2E SoCs
77 "ti,k2g-gpio", "ti,keystone-gpio": for 66AK2G
8
+ "ti,am654-gpio", "ti,keystone-gpio": for TI K3 AM654
9
+ "ti,j721e-gpio", "ti,keystone-gpio": for J721E SoCs
810
911 - reg: Physical base address of the controller and the size of memory mapped
1012 registers.
....@@ -145,3 +147,20 @@
145147 ti,ngpio = <32>;
146148 ti,davinci-gpio-unbanked = <32>;
147149 };
150
+
151
+Example for K3 AM654:
152
+
153
+wkup_gpio0: wkup_gpio0@42110000 {
154
+ compatible = "ti,am654-gpio", "ti,keystone-gpio";
155
+ reg = <0x42110000 0x100>;
156
+ gpio-controller;
157
+ #gpio-cells = <2>;
158
+ interrupt-parent = <&intr_wkup_gpio>;
159
+ interrupts = <59 128>, <59 129>, <59 130>, <59 131>;
160
+ interrupt-controller;
161
+ #interrupt-cells = <2>;
162
+ ti,ngpio = <56>;
163
+ ti,davinci-gpio-unbanked = <0>;
164
+ clocks = <&k3_clks 59 0>;
165
+ clock-names = "gpio";
166
+};