arm64: dts: ti: am6-wakeup: Add gpio node
authorKeerthy <j-keerthy@ti.com>
Thu, 6 Jun 2019 09:56:18 +0000 (15:26 +0530)
committerTero Kristo <t-kristo@ti.com>
Mon, 17 Jun 2019 14:24:28 +0000 (17:24 +0300)
Add gpio0 node under wakeup domain. This has 56 gpios
and all are capable of generating banked interrupts.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi

index f1ca171..9cf2c08 100644 (file)
                ti,sci-dst-id = <56>;
                ti,sci-rm-range-girq = <0x4>;
        };
+
+       wkup_gpio0: wkup_gpio0@42110000 {
+               compatible = "ti,am654-gpio", "ti,keystone-gpio";
+               reg = <0x42110000 0x100>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-parent = <&intr_wkup_gpio>;
+               interrupts = <59 128>, <59 129>, <59 130>, <59 131>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+               ti,ngpio = <56>;
+               ti,davinci-gpio-unbanked = <0>;
+               clocks = <&k3_clks 59 0>;
+               clock-names = "gpio";
+       };
 };