]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: tegra: Add Tegra186 pin controllers
authorAaron Kling <webgeek1234@gmail.com>
Tue, 12 Aug 2025 21:24:42 +0000 (16:24 -0500)
committerThierry Reding <treding@nvidia.com>
Thu, 30 Oct 2025 19:31:11 +0000 (20:31 +0100)
Add the device tree nodes for the MAIN and AON pin controllers found on
the Tegra186 family of SoCs.

Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186.dtsi

index 5778c93af3e6e72f5f14a9fcee1e7abf80d2d2c5..66fdcec17073a0954b3bf600588324e4c047d0bf 100644 (file)
                interrupt-controller;
                #gpio-cells = <2>;
                gpio-controller;
+               gpio-ranges = <&pinmux 0 0 140>;
+       };
+
+       pinmux: pinmux@2430000 {
+               compatible = "nvidia,tegra186-pinmux";
+               reg = <0x0 0x2430000 0x0 0x15000>;
        };
 
        ethernet@2490000 {
                interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
                gpio-controller;
                #gpio-cells = <2>;
+               gpio-ranges = <&pinmux_aon 0 0 47>;
                interrupt-controller;
                #interrupt-cells = <2>;
        };
 
+       pinmux_aon: pinmux@c300000 {
+               compatible = "nvidia,tegra186-pinmux-aon";
+               reg = <0x0 0xc300000 0x0 0x4000>;
+       };
+
        pwm4: pwm@c340000 {
                compatible = "nvidia,tegra186-pwm";
                reg = <0x0 0xc340000 0x0 0x10000>;