* [PATCH] arm64: dts: freescale: imx952: Add GPIO5 lines 18 to 20
@ 2026-10-05 17:26 Francesco Dolcini
2026-10-05 17:32 ` Francesco Dolcini
0 siblings, 1 reply; 2+ messages in thread
From: Francesco Dolcini @ 2026-10-05 17:26 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Frank Li,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
Cc: Francesco Dolcini, devicetree, imx, linux-arm-kernel, linux-kernel
From: Francesco Dolcini <francesco.dolcini@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@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@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@44000000 {
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: freescale: imx952: Add GPIO5 lines 18 to 20
2026-10-05 17:26 [PATCH] arm64: dts: freescale: imx952: Add GPIO5 lines 18 to 20 Francesco Dolcini
@ 2026-10-05 17:32 ` Francesco Dolcini
0 siblings, 0 replies; 2+ messages in thread
From: Francesco Dolcini @ 2026-10-05 17:32 UTC (permalink / raw)
To: Frank Li, Francesco Dolcini
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, devicetree, imx,
linux-arm-kernel, linux-kernel
Hello Frank,
On Mon, Oct 05, 2026 at 07:26:21PM +0200, Francesco Dolcini wrote:
> From: Francesco Dolcini <francesco.dolcini@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@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
> +
Frank: the downstream kernel has different names, that seems not
correct. A double check on why you have this wrong naming on your
donwstream kernel is appreciated.
Francesco
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-05 17:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-05 17:26 [PATCH] arm64: dts: freescale: imx952: Add GPIO5 lines 18 to 20 Francesco Dolcini
2026-10-05 17:32 ` Francesco Dolcini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®