]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 66cc97842c02cc8e2c1a593831ea92818e4b4108..484d493e33c0cc2f820816634c5d7480242b3ebe 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 61fc4ec85f09e737fa61267ffac16dc0016cc4c5..18f5fd5c5ee9e7a6fa7aadbf772854410c308a3d 100644 (file)
@@ -14,5 +14,5 @@
 
 void board_early_init(void)
 {
-       init_uart_clk(1);
+       init_uart_clk(0);
 }
index 530ecd1d460e12fd5f7306e37a68266eafdc8622..938c5406b821aeee9c98c92a85e28f9059813677 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"