Skip to content

Commit cbba178

Browse files
geertupalmer-dabbelt
authored andcommitted
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: 0fa6107 ("RISC-V: Initial DTS for Microchip ICICLE board") Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Bin Meng <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 399c1ec commit cbba178

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@
1616

1717
aliases {
1818
ethernet0 = &emac1;
19+
serial0 = &serial0;
20+
serial1 = &serial1;
21+
serial2 = &serial2;
22+
serial3 = &serial3;
1923
};
2024

2125
chosen {
22-
stdout-path = &serial0;
26+
stdout-path = "serial0:115200n8";
2327
};
2428

2529
cpus {

0 commit comments

Comments
 (0)