[PATCH v1] dts: spacemit: set console baud rate on bpif3
Yixun Lan
dlan at kernel.org
Sat May 2 05:01:02 PDT 2026
Hi Conor,
On 19:52 Thu 30 Apr , Conor Dooley wrote:
> From: Conor Dooley <conor.dooley at microchip.com>
>
> Because the default console's baud rate is not set, defconfig kernels do
> not have any serial output on this platform. Set the baud rate to
> 115200, matching what is used by U-Boot etc on this platform.
>
> Suggested-by: Vivian Wang <wangruikang at iscas.ac.cn>
> Fixes: d60d57ab6b2a8 ("riscv: dts: spacemit: add Banana Pi BPI-F3 board device tree")
> Signed-off-by: Conor Dooley <conor.dooley at microchip.com>
> ---
> CC: Rob Herring <robh at kernel.org>
> CC: Krzysztof Kozlowski <krzk+dt at kernel.org>
> CC: Conor Dooley <conor+dt at kernel.org>
> CC: Yixun Lan <dlan at kernel.org>
> CC: devicetree at vger.kernel.org
> CC: linux-riscv at lists.infradead.org
> CC: spacemit at lists.linux.dev
> CC: linux-kernel at vger.kernel.org
> ---
> arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 2 +-
Looks good to me, but I think the fix should also apply to other boards,
so do you want to fix other dts? I'd be fine if you keep it to BPI-F3 only
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
> index 5790d927b93db..333ac8ebf3f51 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
> @@ -19,7 +19,7 @@ aliases {
> };
>
> chosen {
> - stdout-path = "serial0";
> + stdout-path = "serial0:115200n8";
> };
>
> leds {
> --
> 2.53.0
>
--
Yixun Lan (dlan)
More information about the linux-riscv
mailing list