[PATCH v1 02/11] arm64: dts: freescale: imx8mp-verdin: Add SPI alias

From: Francesco Dolcini

Date: Thu Nov 12 2026 - 10:20:03 EST


From: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>

The Verdin family pinout defines the SoM interfaces and their
numbering, SPI_1 being the SPI bus available to the carrier board,
implemented by ecspi1 on Verdin iMX8MP.

Without an alias the Linux SPI bus number is assigned dynamically and
can change with the carrier board or probe order. Add a spi0 alias so
the bus number in sysfs and the spidev name follow the Verdin interface
numbering, zero-based with SPI_1 being spi0. This replaces the spi0
alias imx8mp.dtsi gives to flexspi, Verdin QSPI_1, which gets a
dynamic bus number instead.

Signed-off-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
---
arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
index 6887d5555d30..ae8aba856240 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
@@ -18,6 +18,7 @@ aliases {
ethernet1 = &fec;
rtc0 = &rtc_i2c;
rtc1 = &snvs_rtc;
+ spi0 = &ecspi1;
};

backlight: backlight {
--
2.47.3