ARM: dts: imx8mm: Swap i.MX8M Mini Menlo board UARTs back
authorMarek Vasut <marex@denx.de>
Mon, 19 Sep 2022 19:35:56 +0000 (21:35 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 20 Oct 2022 15:35:52 +0000 (17:35 +0200)
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.

Signed-off-by: Marek Vasut <marex@denx.de>
arch/arm/dts/imx8mm-mx8menlo-u-boot.dtsi
board/menlo/mx8menlo/mx8menlo.c
include/configs/imx8mm-mx8menlo.h

index 66cc978..484d493 100644 (file)
@@ -6,7 +6,7 @@
 
 / {
        chosen {
-               stdout-path = &uart2;
+               stdout-path = &uart1;
        };
 
        aliases {
 &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;
-};
index 61fc4ec..18f5fd5 100644 (file)
@@ -14,5 +14,5 @@
 
 void board_early_init(void)
 {
-       init_uart_clk(1);
+       init_uart_clk(0);
 }
index 530ecd1..938c540 100644 (file)
@@ -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"