]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-am62p: Add gpio-ranges for mcu_gpio0
authorJared McArthur <j-mcarthur@ti.com>
Thu, 1 Aug 2024 21:04:12 +0000 (16:04 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 5 Aug 2024 19:22:00 +0000 (14:22 -0500)
Commit d72d73a44c3c ("arm64: dts: ti: k3-am62p: Add gpio-ranges
properties") introduced pinmux range definition for gpio-ranges, however
missed introducing the range description for the mcu_gpio node. As a
result, automatic mapping of GPIO to pin control for mcu gpios is
broken. Fix this by introducing the proper ranges.

Fixes: d72d73a44c3c ("arm64: dts: ti: k3-am62p: Add gpio-ranges properties")
Signed-off-by: Jared McArthur <j-mcarthur@ti.com>
Link: https://lore.kernel.org/r/20240801210414.715306-2-j-mcarthur@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am62p-j722s-common-mcu.dtsi

index e65db6ce02bf668ace388a7a547563584056d1d9..df7945156397b14015661193c93a006308501bed 100644 (file)
                power-domains = <&k3_pds 79 TI_SCI_PD_EXCLUSIVE>;
                clocks = <&k3_clks 79 0>;
                clock-names = "gpio";
+               gpio-ranges = <&mcu_pmx0 0 0 21>, <&mcu_pmx0 21 23 1>,
+                             <&mcu_pmx0 22 32 2>;
        };
 
        mcu_rti0: watchdog@4880000 {