arm64: dts: imx93: correct gpio-ranges
authorPeng Fan <peng.fan@nxp.com>
Thu, 20 Oct 2022 10:16:57 +0000 (18:16 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 29 Oct 2022 08:26:32 +0000 (16:26 +0800)
Per imx93-pinfunc.h and pinctrl-imx93.c, correct gpio-ranges.

Fixes: ec8b5b5058ea ("arm64: dts: freescale: Add i.MX93 dtsi support")
Reported-by: David Wolfe <david.wolfe@nxp.com>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx93.dtsi

index 55a70ee6f91af05e6604690740c676e66161e7eb..0247866fc86b0d753c4102f3d317229bd9932c5f 100644 (file)
                        clocks = <&clk IMX93_CLK_GPIO2_GATE>,
                                 <&clk IMX93_CLK_GPIO2_GATE>;
                        clock-names = "gpio", "port";
-                       gpio-ranges = <&iomuxc 0 32 32>;
+                       gpio-ranges = <&iomuxc 0 4 30>;
                };
 
                gpio3: gpio@43820080 {
                        clocks = <&clk IMX93_CLK_GPIO3_GATE>,
                                 <&clk IMX93_CLK_GPIO3_GATE>;
                        clock-names = "gpio", "port";
-                       gpio-ranges = <&iomuxc 0 64 32>;
+                       gpio-ranges = <&iomuxc 0 84 8>, <&iomuxc 8 66 18>,
+                                     <&iomuxc 26 34 2>, <&iomuxc 28 0 4>;
                };
 
                gpio4: gpio@43830080 {
                        clocks = <&clk IMX93_CLK_GPIO4_GATE>,
                                 <&clk IMX93_CLK_GPIO4_GATE>;
                        clock-names = "gpio", "port";
-                       gpio-ranges = <&iomuxc 0 96 32>;
+                       gpio-ranges = <&iomuxc 0 38 28>, <&iomuxc 28 36 2>;
                };
 
                gpio1: gpio@47400080 {
                        clocks = <&clk IMX93_CLK_GPIO1_GATE>,
                                 <&clk IMX93_CLK_GPIO1_GATE>;
                        clock-names = "gpio", "port";
-                       gpio-ranges = <&iomuxc 0 0 32>;
+                       gpio-ranges = <&iomuxc 0 92 16>;
                };
 
                s4muap: mailbox@47520000 {