From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.194.8.81 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794495769; b=xNr1wqukWOrsrhPqSjf5wKs9KzYDV9qFONPhZ7oCtT4l472frpGnOTlK5gIInSVQL2Rs K0jZ5Y7YY6sPgkWTzHM+hZ/BpevT4RwVZUPd9OEacEbTrY8kySRpRPgZWdHdOLnd6P19Z L330zApVLI9DQuOBiaKs42iORYU6Ur/Slr6aANXtymeH9yzofAQd1+NeWnJhjQz6rZA8L Qxxo6KddoQuBltVyz3uXqBapl3UGUI3vFJXTKgUE4Y3ZQuQ80sPQT4U0xqEdGyG/MwprO UHRoGXNpJ2MDQElwmKK19axg/7V3LqrLH+y6zWU5Npb4gw7XIrCoMeDSwm+WFcml0aQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794495769; h=DMARC-Filter:Received:DKIM-Signature:From:To:Cc:Subject:Date: Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=ylShe8HWjM2yCOaQXzQ0NGIXs6JPh3EhfmIe6mjqzT4=; b=0T2/4b08yw0HkxzeYtW/1kfUhI6LDLy9shAipsNSYBzC6Ej2PuPrvawrC3Zyn9cakC+0 KcjjPRA69bhgWSndzGxTVFudPU5NlSwis4Au8orv/z/8pPzFqZOk0MWQLEvi3OgIYSm8n QfHbMBzNyVUQ4yGUAcTDmNdUR2wqYecPp0giRLMPHSuDn/PL7eJrbGkWPFnepeKwNgo5R IUCOAK4ztIw3qSLD/kQK+7FGlf8XdO8+iKXAmxITpHBc8b5RbEfopIkTMCSe971but3Qs MR8EWGGZ6zzDMU2unb5uIQjv0WTAeRLvLKjfGhojX9eSpdRsyUL66qI3V0vexbxoIWA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass header.d=dolcini.it header.i=@dolcini.it header.a=rsa-sha256 header.s=default header.b=elmq5Boc; arc=none smtp.remote-ip=217.194.8.81 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE1CD606A8BE; Thu, 12 Nov 2026 15:02:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EE1CD606A8BE Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=dolcini.it header.i=@dolcini.it header.a=rsa-sha256 header.s=default header.b=elmq5Boc Received: from francesco-nb.. (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 29323231D6; Thu, 12 Nov 2026 16:02:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1794495766; bh=ylShe8HWjM2yCOaQXzQ0NGIXs6JPh3EhfmIe6mjqzT4=; h=From:To:Subject; b=elmq5Boc7mSXRw2ZQTiTmd30m7eQsb+OS2hWtcZ3oiz63c3BMJw6Ny+x37NSYjkS2 HF6vSxQgq3QmAa8WS6c7SKtA7lid9km6+jkAhIvgIBQ3+NIsXWqG75noYVFdloh8cX Qjgio6U/oIqyJ303sYJA/9OM+5hY2HxK15lUkzn3vMtVuZtKQvExV9JWFApgdnRc6t S5kcx+wF2wnSPrzK5aNRjfw1hbBphVXPUS2RvLS+LU3azIBx8J6Gfz+WwvaQxAT3b0 MnLXDAORdGORQp5WctvByzVuwgYCSbTf9PbvNvjGqkxqZh1pUrPVzTD5g7ORnEycPV qem1R07MpJf8g== From: Francesco Dolcini To: Francesco Dolcini , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam 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 05/11] arm64: dts: freescale: imx8mp-toradex-smarc: Add SPI aliases Date: Thu, 12 Nov 2026 16:02:27 +0100 Message-ID: <20261112150236.164850-6-francesco@dolcini.it> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261112150236.164850-1-francesco@dolcini.it> References: <20261112150236.164850-1-francesco@dolcini.it> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Francesco Dolcini The SMARC specification defines the module interfaces and their numbering, SPI0 and SPI1 being the SPI buses available to the carrier board, implemented by ecspi1 and ecspi2 on Toradex SMARC iMX8MP. 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 match the SMARC interface numbering. This replaces the spi0 alias imx8mp.dtsi gives to flexspi, which is not used on Toradex SMARC iMX8MP. Signed-off-by: Francesco Dolcini --- arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi index eb8b9db7e3cd..f3d21d788b85 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi @@ -20,6 +20,8 @@ aliases { serial1 = &uart4; serial2 = &uart2; serial3 = &uart3; + spi0 = &ecspi1; + spi1 = &ecspi2; }; chosen { -- 2.47.3