mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Francesco Dolcini <francesco@dolcini.it>
To: Francesco Dolcini <francesco.dolcini@toradex.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Frank Li <Frank.Li@nxp.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>
Cc: linux-bsp@toradex.com, devicetree@vger.kernel.org,
	imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v1 09/11] arm64: dts: freescale: imx93-imx91-lino-common: Add SPI aliases
Date: Thu, 12 Nov 2026 16:02:31 +0100	[thread overview]
Message-ID: <20261112150236.164850-10-francesco@dolcini.it> (raw)
In-Reply-To: <20261112150236.164850-1-francesco@dolcini.it>

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

The Lino family pinout defines the SoM interfaces and their numbering,
SPI_1 and SPI_2 being the SPI buses available to the carrier board,
implemented by lpspi8 and lpspi1 on Lino 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
Lino interface numbering, zero-based with SPI_1 being spi0.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
 arch/arm64/boot/dts/freescale/imx93-imx91-lino-common.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx93-imx91-lino-common.dtsi b/arch/arm64/boot/dts/freescale/imx93-imx91-lino-common.dtsi
index f8f13f785860..787df739ea55 100644
--- a/arch/arm64/boot/dts/freescale/imx93-imx91-lino-common.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93-imx91-lino-common.dtsi
@@ -29,6 +29,8 @@ aliases {
 		serial1 = &lpuart7;
 		serial2 = &lpuart1;
 		serial3 = &lpuart2;
+		spi0 = &lpspi8;
+		spi1 = &lpspi1;
 		usb0 = &usbotg1;
 		usb1 = &usbotg2;
 	};
-- 
2.47.3


  parent reply	other threads:[~2026-11-12 15:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12 15:02 [PATCH v1 00/11] arm64: dts: freescale: Add SPI aliases to Toradex SoMs Francesco Dolcini
2026-11-12 15:02 ` [PATCH v1 01/11] arm64: dts: freescale: imx8mm-verdin: Add SPI alias Francesco Dolcini
2026-11-12 15:41   ` Frank Li
2026-11-12 15:02 ` [PATCH v1 02/11] arm64: dts: freescale: imx8mp-verdin: " Francesco Dolcini
2026-11-12 15:02 ` [PATCH v1 03/11] arm64: dts: freescale: imx95-verdin: " Francesco Dolcini
2026-11-12 15:02 ` [PATCH v1 04/11] arm64: dts: freescale: imx8x-colibri: " Francesco Dolcini
2026-11-12 15:02 ` [PATCH v1 05/11] arm64: dts: freescale: imx8mp-toradex-smarc: Add SPI aliases Francesco Dolcini
2026-11-12 15:02 ` [PATCH v1 06/11] arm64: dts: freescale: imx95-toradex-smarc: " Francesco Dolcini
2026-11-12 15:02 ` [PATCH v1 07/11] arm64: dts: freescale: imx95-aquila: " Francesco Dolcini
2026-11-12 15:02 ` [PATCH v1 08/11] arm64: dts: freescale: imx8-apalis: " Francesco Dolcini
2026-11-12 15:02 ` Francesco Dolcini [this message]
2026-11-12 15:02 ` [PATCH v1 10/11] arm64: dts: freescale: imx93-imx91-toradex-osm-common: " Francesco Dolcini
2026-11-12 15:02 ` [PATCH v1 11/11] arm64: dts: freescale: imx95-toradex-osm: " Francesco Dolcini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261112150236.164850-10-francesco@dolcini.it \
    --to=francesco@dolcini.it \
    --cc=Frank.Li@nxp.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=francesco.dolcini@toradex.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-bsp@toradex.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®