[PATCH v1 10/11] arm64: dts: freescale: imx93-imx91-toradex-osm-common: Add SPI aliases
From: Francesco Dolcini
Date: Thu Nov 12 2026 - 10:28:42 EST
From: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
The OSM specification defines the module interfaces and their naming,
SPI_A and SPI_B being the SPI buses available to the carrier board,
implemented by lpspi8 and lpspi1 on Toradex OSM iMX93 and iMX91.
Without aliases the Linux SPI bus numbers are assigned dynamically and
can change with the carrier board or probe order. Add spi0 and spi1
aliases so the bus numbers in sysfs and the spidev names follow the
OSM interface order, SPI_A being spi0 and SPI_B spi1.
Signed-off-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
---
.../boot/dts/freescale/imx93-imx91-toradex-osm-common.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93-imx91-toradex-osm-common.dtsi b/arch/arm64/boot/dts/freescale/imx93-imx91-toradex-osm-common.dtsi
index 8b0131d4e6e2..f6fd64176893 100644
--- a/arch/arm64/boot/dts/freescale/imx93-imx91-toradex-osm-common.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93-imx91-toradex-osm-common.dtsi
@@ -30,6 +30,8 @@ aliases {
serial1 = &lpuart6;
serial2 = &lpuart7;
serial3 = &lpuart2;
+ spi0 = &lpspi8;
+ spi1 = &lpspi1;
usb0 = &usbotg1;
usb1 = &usbotg2;
};
--
2.47.3