[PATCH] arm64: dts: freescale: imx952: Add GPIO5 lines 18 to 20

Francesco Dolcini francesco at dolcini.it
Mon Oct 5 10:26:21 PDT 2026


From: Francesco Dolcini <francesco.dolcini at toradex.com>

Add missing GPIO5 lines, GPIO_IO38, GPIO_IO39 and GPIO_IO40 are
GPIO-only pads fixed to GPIO5[18:20], their SW_MUX_CTL registers have no
MUX_MODE field (IMX952RM Rev.1, 2026-07-08, sections 33.3.2.44-46 and
33.3.2.184-186).

Signed-off-by: Francesco Dolcini <francesco.dolcini at toradex.com>
---
 arch/arm64/boot/dts/freescale/imx952-pinfunc.h | 6 ++++++
 arch/arm64/boot/dts/freescale/imx952.dtsi      | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx952-pinfunc.h b/arch/arm64/boot/dts/freescale/imx952-pinfunc.h
index debe6ede2d70..72cfe7893af8 100644
--- a/arch/arm64/boot/dts/freescale/imx952-pinfunc.h
+++ b/arch/arm64/boot/dts/freescale/imx952-pinfunc.h
@@ -307,6 +307,12 @@
 #define IMX952_PAD_GPIO_IO37__WAKEUPMIX_TOP_LPUART7_RX                0x00A4 0x02D4 0x05B0 0x02 0x01
 #define IMX952_PAD_GPIO_IO37__WAKEUPMIX_TOP_LPSPI4_SCK                0x00A4 0x02D4 0x0568 0x04 0x01
 
+#define IMX952_PAD_GPIO_IO38__WAKEUPMIX_TOP_GPIO5_IO_18               0x00A8 0x02D8 0x0000 0x00 0x00
+
+#define IMX952_PAD_GPIO_IO39__WAKEUPMIX_TOP_GPIO5_IO_19               0x00AC 0x02DC 0x0000 0x00 0x00
+
+#define IMX952_PAD_GPIO_IO40__WAKEUPMIX_TOP_GPIO5_IO_20               0x00B0 0x02E0 0x0000 0x00 0x00
+
 #define IMX952_PAD_CCM_CLKO1__CCMSRCGPCMIX_TOP_CLKO_1                 0x00D4 0x0304 0x0000 0x00 0x00
 #define IMX952_PAD_CCM_CLKO1__NETCMIX_TOP_NETC_TMR_1588_TRIG1         0x00D4 0x0304 0x0494 0x01 0x00
 #define IMX952_PAD_CCM_CLKO1__WAKEUPMIX_TOP_FLEXIO1_FLEXIO_26         0x00D4 0x0304 0x04AC 0x04 0x00
diff --git a/arch/arm64/boot/dts/freescale/imx952.dtsi b/arch/arm64/boot/dts/freescale/imx952.dtsi
index 1154b66dadb2..4930e09e0206 100644
--- a/arch/arm64/boot/dts/freescale/imx952.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx952.dtsi
@@ -1076,8 +1076,8 @@ gpio5: gpio at 43850000 {
 			clocks = <&scmi_clk IMX952_CLK_BUSWAKEUP>,
 				 <&scmi_clk IMX952_CLK_BUSWAKEUP>;
 			clock-names = "gpio", "port";
-			gpio-ranges = <&scmi_iomuxc 0 103 12>, <&scmi_iomuxc 12 36 6>;
-			ngpios = <18>;
+			gpio-ranges = <&scmi_iomuxc 0 103 12>, <&scmi_iomuxc 12 36 9>;
+			ngpios = <21>;
 		};
 
 		aips1: bus at 44000000 {
-- 
2.47.3




More information about the linux-arm-kernel mailing list