]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: dts: microchip: mpfs-icicle: Fix serial console
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 26 Aug 2021 13:19:39 +0000 (15:19 +0200)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Sat, 11 Sep 2021 06:58:19 +0000 (23:58 -0700)
commit7f5d3051b32e44bfad53e1741da5bea60595874e
tree72a5d23aa64f90ef67ec5df64b5a4cf8a70f9904
parent56f591300f58584c85f69c8d4d2aff3990f50635
riscv: dts: microchip: mpfs-icicle: Fix serial console

Currently, nothing is output on the serial console, unless
"console=ttyS0,115200n8" or "earlycon" are appended to the kernel
command line.  Enable automatic console selection using
chosen/stdout-path by adding a proper alias, and configure the expected
serial rate.

While at it, add aliases for the other three serial ports, which are
provided on the same micro-USB connector as the first one.

Fixes: 6b215eb5b39be1ae ("RISC-V: Initial DTS for Microchip ICICLE board")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts