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

From: Francesco Dolcini

Date: Thu Nov 12 2026 - 10:51:39 EST


From: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>

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@xxxxxxxxxxx>
---
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