]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: k3-j721e-main: Add Support for gpio0
authorFaiz Abbas <faiz_abbas@ti.com>
Tue, 28 Jan 2020 10:10:04 +0000 (15:40 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 4 Feb 2020 03:37:24 +0000 (09:07 +0530)
Add the main_gpio0 node.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/dts/k3-j721e-main.dtsi

index c785ab05121e452899bb6db610d9c3455fe803be..45ac98c47ed37f5aff21ae52572daa17b657a230 100644 (file)
                clock-names = "fclk";
        };
 
+       main_gpio0: gpio@600000 {
+               compatible = "ti,j721e-gpio", "ti,keystone-gpio";
+               reg = <0x0 0x00600000 0x0 0x100>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupts = <105 0 IRQ_TYPE_EDGE_RISING>,
+                            <105 1 IRQ_TYPE_EDGE_RISING>,
+                            <105 2 IRQ_TYPE_EDGE_RISING>,
+                            <105 3 IRQ_TYPE_EDGE_RISING>,
+                            <105 4 IRQ_TYPE_EDGE_RISING>,
+                            <105 5 IRQ_TYPE_EDGE_RISING>,
+                            <105 6 IRQ_TYPE_EDGE_RISING>,
+                            <105 7 IRQ_TYPE_EDGE_RISING>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+               ti,ngpio = <128>;
+               ti,davinci-gpio-unbanked = <0>;
+               power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
+               clocks = <&k3_clks 105 0>;
+               clock-names = "gpio";
+       };
+
        main_sdhci0: sdhci@4f80000 {
                compatible = "ti,j721e-sdhci-8bit";
                reg = <0x0 0x4f80000 0x0 0x1000>, <0x0 0x4f88000 0x0 0x400>;