arm64: tegra: Add GPIO controller on Tegra194
authorMikko Perttunen <mperttunen@nvidia.com>
Wed, 20 Jun 2018 12:54:04 +0000 (15:54 +0300)
committerThierry Reding <treding@nvidia.com>
Mon, 2 Jul 2018 13:55:34 +0000 (15:55 +0200)
Add the device tree node for the GPIO controller on Tegra194.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra194.dtsi

index 6322ef265c2ffa6464ca221afa58b1305dc69440..20c30782049e1cac287b70d9e6232a0bd8daa0cc 100644 (file)
                #size-cells = <1>;
                ranges = <0x0 0x0 0x0 0x40000000>;
 
+               gpio: gpio@2200000 {
+                       compatible = "nvidia,tegra194-gpio";
+                       reg-names = "security", "gpio";
+                       reg = <0x2200000 0x10000>,
+                             <0x2210000 0x10000>;
+                       interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>;
+                       #interrupt-cells = <2>;
+                       interrupt-controller;
+                       #gpio-cells = <2>;
+                       gpio-controller;
+               };
+
                uarta: serial@3100000 {
                        compatible = "nvidia,tegra194-uart", "nvidia,tegra20-uart";
                        reg = <0x03100000 0x40>;