]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: ti: k3-j721e: Add gpio nodes in wakeup domain
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 9 Aug 2019 08:29:44 +0000 (13:59 +0530)
committerTero Kristo <t-kristo@ti.com>
Thu, 29 Aug 2019 13:04:59 +0000 (16:04 +0300)
Similar to the gpio groups in main domain, there is one gpio group
in wakup domain with 2 module instances in it. This gpio group pins
out 84 lines(6 banks). Add DT node for these 2 gpio module instances.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi

index e616c2481f510e885f7cfb5303207e1c25ac62d6..555dc7b7aedc964e61ce541aaa33dca69272f3ca 100644 (file)
@@ -87,4 +87,38 @@ wkup_gpio_intr: interrupt-controller2 {
                ti,sci-dst-id = <14>;
                ti,sci-rm-range-girq = <0x5>;
        };
+
+       wkup_gpio0: gpio@42110000 {
+               compatible = "ti,j721e-gpio", "ti,keystone-gpio";
+               reg = <0x0 0x42110000 0x0 0x100>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-parent = <&wkup_gpio_intr>;
+               interrupts = <113 0>, <113 1>, <113 2>,
+                            <113 3>, <113 4>, <113 5>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+               ti,ngpio = <84>;
+               ti,davinci-gpio-unbanked = <0>;
+               power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>;
+               clocks = <&k3_clks 113 0>;
+               clock-names = "gpio";
+       };
+
+       wkup_gpio1: gpio@42100000 {
+               compatible = "ti,j721e-gpio", "ti,keystone-gpio";
+               reg = <0x0 0x42100000 0x0 0x100>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-parent = <&wkup_gpio_intr>;
+               interrupts = <114 0>, <114 1>, <114 2>,
+                            <114 3>, <114 4>, <114 5>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+               ti,ngpio = <84>;
+               ti,davinci-gpio-unbanked = <0>;
+               power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
+               clocks = <&k3_clks 114 0>;
+               clock-names = "gpio";
+       };
 };