arm64: tegra: Add Tegra234 pin controllers
authorPrathamesh Shete <pshete@nvidia.com>
Mon, 5 Jun 2023 15:42:30 +0000 (17:42 +0200)
committerThierry Reding <treding@nvidia.com>
Tue, 6 Jun 2023 12:43:22 +0000 (14:43 +0200)
Add the device tree nodes for the MAIN and AON pin controllers found on
the Tegra234 family of SoCs.

Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra234.dtsi

index 97ed3e0..f5146ce 100644 (file)
                        interrupt-controller;
                        #gpio-cells = <2>;
                        gpio-controller;
+                       gpio-ranges = <&pinmux 0 0 164>;
+               };
+
+               pinmux: pinmux@2430000 {
+                       compatible = "nvidia,tegra234-pinmux";
+                       reg = <0x0 0x2430000 0x0 0x19100>;
                };
 
                gpcdma: dma-controller@2600000 {
                        interrupt-controller;
                        #gpio-cells = <2>;
                        gpio-controller;
+                       gpio-ranges = <&pinmux_aon 0 0 32>;
+               };
+
+               pinmux_aon: pinmux@c300000 {
+                       compatible = "nvidia,tegra234-pinmux-aon";
+                       reg = <0x0 0xc300000 0x0 0x4000>;
                };
 
                pwm4: pwm@c340000 {