[PATCH v1 1/4] ARM: dts: imx6qdl-apalis: Add SPI aliases

Francesco Dolcini francesco at dolcini.it
Thu Nov 12 07:08:45 PST 2026


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

The Apalis family pinout defines the SoM interfaces and their
numbering, SPI1 and SPI2 being the SPI buses available to the carrier
board, implemented by ecspi1 and ecspi2 on Apalis iMX6.

imx6qdl.dtsi already numbers them spi0 and spi1, matching the Apalis
numbering. Add the aliases to the SoM dtsi anyway so the mapping from
the Apalis interfaces to the Linux bus numbers in sysfs and the spidev
names is explicit at the SoM level, zero-based with SPI1 being spi0,
and does not depend on the SoC defaults.

Signed-off-by: Francesco Dolcini <francesco.dolcini at toradex.com>
---
 arch/arm/boot/dts/nxp/imx/imx6qdl-apalis.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-apalis.dtsi
index af038ac47226..e880cf876da4 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6qdl-apalis.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-apalis.dtsi
@@ -16,6 +16,8 @@ aliases {
 		mmc1 = &usdhc1; /* MMC1 slot */
 		mmc2 = &usdhc2; /* SD1 slot */
 		/delete-property/ mmc3;
+		spi0 = &ecspi1;
+		spi1 = &ecspi2;
 	};
 
 	/* Will be filled by the bootloader */
-- 
2.47.3




More information about the linux-arm-kernel mailing list