[PATCH v1 0/4] ARM: dts: imx: Add SPI aliases to Toradex Apalis and Colibri SoMs

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


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

Toradex SoM families (Apalis, Colibri) define the interfaces available
to the carrier board and their numbering as part of the family pinout.
The i.MX6, i.MX6ULL and i.MX7 SoC dtsi files number the SPI
controllers in SoC order instead, so the Linux bus number in sysfs and
the spidev device name follow the SoC, not the SoM interface.

Add spiN aliases to the SoM dtsi files so the Linux bus number follows
the family interface numbering, zero-based: Apalis SPI1 is spi0 and
SPI2 is spi1, the single Colibri SPI is spi0. Where the SoC dtsi
already gives the same controller another alias, that inherited alias
is deleted so each controller carries a single one. Where the SoC
numbering already matches (Apalis iMX6, Colibri iMX6ULL) the alias
makes the mapping explicit at the SoM level.

Francesco Dolcini (4):
  ARM: dts: imx6qdl-apalis: Add SPI aliases
  ARM: dts: imx6qdl-colibri: Add SPI alias
  ARM: dts: imx6ull-colibri: Add SPI alias
  ARM: dts: imx7-colibri: Add SPI alias

 arch/arm/boot/dts/nxp/imx/imx6qdl-apalis.dtsi  | 2 ++
 arch/arm/boot/dts/nxp/imx/imx6qdl-colibri.dtsi | 2 ++
 arch/arm/boot/dts/nxp/imx/imx6ull-colibri.dtsi | 3 ++-
 arch/arm/boot/dts/nxp/imx/imx7-colibri.dtsi    | 2 ++
 4 files changed, 8 insertions(+), 1 deletion(-)

-- 
2.47.3




More information about the linux-arm-kernel mailing list