* [PATCH master] ARM: i.MX93: reinstate aliases
@ 2025-11-12 21:37 Ahmad Fatoum
2025-11-14 12:59 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2025-11-12 21:37 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
Regrettably, the i.MX93 device trees no longer list aliases in the SoC
dtsi and instead leave it to the boards. This broke native GPIO
controllers on i.MX93 in barebox, because the driver expects aliases for
all device tree platforms.
Add back the aliases into a barebox override.
Fixes: 7fdf97ba2464 ("dts: update to v6.18-rc1")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
arch/arm/dts/imx93.dtsi | 37 ++++++++++++++++++++++++++++++++++++-
1 file changed, 36 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/imx93.dtsi b/arch/arm/dts/imx93.dtsi
index 676819817b32..e1328de67243 100644
--- a/arch/arm/dts/imx93.dtsi
+++ b/arch/arm/dts/imx93.dtsi
@@ -1,4 +1,39 @@
-/{
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/ {
+ aliases {
+ gpio0 = &gpio1;
+ gpio1 = &gpio2;
+ gpio2 = &gpio3;
+ gpio3 = &gpio4;
+ i2c0 = &lpi2c1;
+ i2c1 = &lpi2c2;
+ i2c2 = &lpi2c3;
+ i2c3 = &lpi2c4;
+ i2c4 = &lpi2c5;
+ i2c5 = &lpi2c6;
+ i2c6 = &lpi2c7;
+ i2c7 = &lpi2c8;
+ mmc0 = &usdhc1;
+ mmc1 = &usdhc2;
+ mmc2 = &usdhc3;
+ serial0 = &lpuart1;
+ serial1 = &lpuart2;
+ serial2 = &lpuart3;
+ serial3 = &lpuart4;
+ serial4 = &lpuart5;
+ serial5 = &lpuart6;
+ serial6 = &lpuart7;
+ serial7 = &lpuart8;
+ spi0 = &lpspi1;
+ spi1 = &lpspi2;
+ spi2 = &lpspi3;
+ spi3 = &lpspi4;
+ spi4 = &lpspi5;
+ spi5 = &lpspi6;
+ spi6 = &lpspi7;
+ spi7 = &lpspi8;
+ };
+
chosen {
barebox,bootsource-mmc0 = &usdhc1;
barebox,bootsource-mmc1 = &usdhc2;
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH master] ARM: i.MX93: reinstate aliases
2025-11-12 21:37 [PATCH master] ARM: i.MX93: reinstate aliases Ahmad Fatoum
@ 2025-11-14 12:59 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-11-14 12:59 UTC (permalink / raw)
To: barebox, Ahmad Fatoum
On Wed, 12 Nov 2025 22:37:26 +0100, Ahmad Fatoum wrote:
> Regrettably, the i.MX93 device trees no longer list aliases in the SoC
> dtsi and instead leave it to the boards. This broke native GPIO
> controllers on i.MX93 in barebox, because the driver expects aliases for
> all device tree platforms.
>
> Add back the aliases into a barebox override.
>
> [...]
Applied, thanks!
[1/1] ARM: i.MX93: reinstate aliases
https://git.pengutronix.de/cgit/barebox/commit/?id=e83419c7f263 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-14 13:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-12 21:37 [PATCH master] ARM: i.MX93: reinstate aliases Ahmad Fatoum
2025-11-14 12:59 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox