diff options
author | Marek Vasut <marex@denx.de> | 2022-09-19 22:35:56 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-10-20 18:35:52 +0300 |
commit | 5302576e933ef8611d726c0f244be306ffc40c18 (patch) | |
tree | e0a88d0755b0cefedb6b78c06b3de83553f16a11 | |
parent | 6fe5df86fb2f87fc5b7876e26e2e3e17b217d8e6 (diff) | |
download | u-boot-5302576e933ef8611d726c0f244be306ffc40c18.tar.xz |
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.
Signed-off-by: Marek Vasut <marex@denx.de>
-rw-r--r-- | arch/arm/dts/imx8mm-mx8menlo-u-boot.dtsi | 18 | ||||
-rw-r--r-- | board/menlo/mx8menlo/mx8menlo.c | 2 | ||||
-rw-r--r-- | include/configs/imx8mm-mx8menlo.h | 2 |
3 files changed, 3 insertions, 19 deletions
diff --git a/arch/arm/dts/imx8mm-mx8menlo-u-boot.dtsi b/arch/arm/dts/imx8mm-mx8menlo-u-boot.dtsi index 66cc97842c..484d493e33 100644 --- a/arch/arm/dts/imx8mm-mx8menlo-u-boot.dtsi +++ b/arch/arm/dts/imx8mm-mx8menlo-u-boot.dtsi @@ -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; -}; diff --git a/board/menlo/mx8menlo/mx8menlo.c b/board/menlo/mx8menlo/mx8menlo.c index 61fc4ec85f..18f5fd5c5e 100644 --- a/board/menlo/mx8menlo/mx8menlo.c +++ b/board/menlo/mx8menlo/mx8menlo.c @@ -14,5 +14,5 @@ void board_early_init(void) { - init_uart_clk(1); + init_uart_clk(0); } diff --git a/include/configs/imx8mm-mx8menlo.h b/include/configs/imx8mm-mx8menlo.h index 530ecd1d46..938c5406b8 100644 --- a/include/configs/imx8mm-mx8menlo.h +++ b/include/configs/imx8mm-mx8menlo.h @@ -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" |