Skip to contentSkip to conversation

ARM: dts: imx8mm: Swap i.MX8M Mini Menlo board UARTs back

PATCH New Marek Vasut 2 participants 2 messages Sep 19, 2022 – Oct 21, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx8mm: Swap i.MX8M Mini Menlo board UARTs back

The first production revision of the MX8M Mini Menlo board implements a hardware change which swaps console UART and another UART connector. Implement the swap, which maps the console UART back to the way Verdin console is mapped.

---
Cc: Fabio Estevam <[email protected]>
Cc: Marcel Ziswiler <[email protected]>
Cc: Max Krummenacher <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>

---
 arch/arm/dts/imx8mm-mx8menlo-u-boot.dtsi | 18 +-----------------
 board/menlo/mx8menlo/mx8menlo.c          |  2 +-
 include/configs/imx8mm-mx8menlo.h        |  2 +-
 3 files changed, 3 insertions(+), 19 deletions(-)
arch/arm/dts/imx8mm-mx8menlo-u-boot.dtsi +1 -17
index 66cc97842c0..484d493e33c 100644
@@ -6,7 +6,7 @@
 
 / {
 	chosen {
-		stdout-path = &uart2;
+		stdout-path = &uart1;
 	};
 
 	aliases {
@@ -20,19 +20,3 @@
 &i2c4 {
 	/delete-node/ codec@1a;
 };
-
-&pinctrl_uart1 {
-	/delete-property/ u-boot,dm-spl;
-};
-
-&pinctrl_uart2 {
-	u-boot,dm-spl;
-};
-
-&uart1 {
-	/delete-property/ u-boot,dm-spl;
-};
-
-&uart2 {
-	u-boot,dm-spl;
-};
board/menlo/mx8menlo/mx8menlo.c +1 -1
index 61fc4ec85f0..18f5fd5c5ee 100644
@@ -14,5 +14,5 @@
 
 void board_early_init(void)
 {
-	init_uart_clk(1);
+	init_uart_clk(0);
 }
include/configs/imx8mm-mx8menlo.h +1 -1
index 530ecd1d460..938c5406b82 100644
@@ -25,7 +25,7 @@
 		"fi ; "							\
 		"boot\0"						\
 	"boot_file=fitImage\0"						\
-	"console=ttymxc1\0"						\
+	"console=ttymxc0\0"						\
 	"fdt_addr=0x43000000\0"						\
 	"initrd_addr=0x43800000\0"					\
 	"kernel_image=fitImage\0"
Signature · 1 line
2.35.1
#1 lore raw

PATCH 1/1 ARM: dts: imx8mm: Swap i.MX8M Mini Menlo board UARTs back

Quoted 5 lines

The first production revision of the MX8M Mini Menlo board implements a hardware change which swaps console UART and another UART connector. Implement the swap, which maps the console UART back to the way Verdin console is mapped.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================