]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-am62p: Fix gpio-range for main_pmx0
authorJared McArthur <j-mcarthur@ti.com>
Thu, 1 Aug 2024 21:04:13 +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 a hole within gpio-range for main_pmx0. As a result, automatic
mapping of GPIO to pin control for gpios within the main_pmx0 domain is
broken. Fix this by correcting the gpio-range.

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-3-j-mcarthur@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi

index 57383bd2eaeb41cf6360411e6a08fc2fdd834bb1..0ce9721b417653850c08e8a57267bdafef66b38c 100644 (file)
@@ -45,7 +45,8 @@
 &main_pmx0 {
        pinctrl-single,gpio-range =
                <&main_pmx0_range 0 32 PIN_GPIO_RANGE_IOPAD>,
-               <&main_pmx0_range 33 92 PIN_GPIO_RANGE_IOPAD>,
+               <&main_pmx0_range 33 38 PIN_GPIO_RANGE_IOPAD>,
+               <&main_pmx0_range 72 22 PIN_GPIO_RANGE_IOPAD>,
                <&main_pmx0_range 137 5 PIN_GPIO_RANGE_IOPAD>,
                <&main_pmx0_range 143 3 PIN_GPIO_RANGE_IOPAD>,
                <&main_pmx0_range 149 2 PIN_GPIO_RANGE_IOPAD>;