]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-j722s: Fix gpio-range for main_pmx0
authorJared McArthur <j-mcarthur@ti.com>
Thu, 1 Aug 2024 21:04:14 +0000 (16:04 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 5 Aug 2024 19:22:00 +0000 (14:22 -0500)
Commit 5e5c50964e2e ("arm64: dts: ti: k3-j722s: 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: 5e5c50964e2e ("arm64: dts: ti: k3-j722s: Add gpio-ranges properties")
Signed-off-by: Jared McArthur <j-mcarthur@ti.com>
Link: https://lore.kernel.org/r/20240801210414.715306-4-j-mcarthur@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-j722s-main.dtsi

index c797980528ec7c10a59703374b920d3c9ef91c9a..dde4bd5c664539dc8b24ed4d9e05d09e1bf07ba4 100644 (file)
 &main_pmx0 {
        pinctrl-single,gpio-range =
                <&main_pmx0_range 0 32 PIN_GPIO_RANGE_IOPAD>,
-               <&main_pmx0_range 33 55 PIN_GPIO_RANGE_IOPAD>,
+               <&main_pmx0_range 33 38 PIN_GPIO_RANGE_IOPAD>,
+               <&main_pmx0_range 72 17 PIN_GPIO_RANGE_IOPAD>,
                <&main_pmx0_range 101 25 PIN_GPIO_RANGE_IOPAD>,
                <&main_pmx0_range 137 5 PIN_GPIO_RANGE_IOPAD>,
                <&main_pmx0_range 143 3 PIN_GPIO_RANGE_IOPAD>,