* [PATCH v1] dts: spacemit: set console baud rate on bpif3
@ 2026-04-30 18:52 Conor Dooley
2026-05-02 12:01 ` Yixun Lan
0 siblings, 1 reply; 2+ messages in thread
From: Conor Dooley @ 2026-04-30 18:52 UTC (permalink / raw)
To: spacemit
Cc: conor, Conor Dooley, Vivian Wang, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Yixun Lan, devicetree,
linux-riscv, linux-kernel
From: Conor Dooley <conor.dooley@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@iscas.ac.cn>
Fixes: d60d57ab6b2a8 ("riscv: dts: spacemit: add Banana Pi BPI-F3 board device tree")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
CC: Rob Herring <robh@kernel.org>
CC: Krzysztof Kozlowski <krzk+dt@kernel.org>
CC: Conor Dooley <conor+dt@kernel.org>
CC: Yixun Lan <dlan@kernel.org>
CC: devicetree@vger.kernel.org
CC: linux-riscv@lists.infradead.org
CC: spacemit@lists.linux.dev
CC: linux-kernel@vger.kernel.org
---
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 2 +-
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] dts: spacemit: set console baud rate on bpif3
2026-04-30 18:52 [PATCH v1] dts: spacemit: set console baud rate on bpif3 Conor Dooley
@ 2026-05-02 12:01 ` Yixun Lan
0 siblings, 0 replies; 2+ messages in thread
From: Yixun Lan @ 2026-05-02 12:01 UTC (permalink / raw)
To: Conor Dooley
Cc: spacemit, Conor Dooley, Vivian Wang, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-riscv,
linux-kernel
Hi Conor,
On 19:52 Thu 30 Apr , Conor Dooley wrote:
> From: Conor Dooley <conor.dooley@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@iscas.ac.cn>
> Fixes: d60d57ab6b2a8 ("riscv: dts: spacemit: add Banana Pi BPI-F3 board device tree")
> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> CC: Rob Herring <robh@kernel.org>
> CC: Krzysztof Kozlowski <krzk+dt@kernel.org>
> CC: Conor Dooley <conor+dt@kernel.org>
> CC: Yixun Lan <dlan@kernel.org>
> CC: devicetree@vger.kernel.org
> CC: linux-riscv@lists.infradead.org
> CC: spacemit@lists.linux.dev
> CC: linux-kernel@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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-02 12:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-30 18:52 [PATCH v1] dts: spacemit: set console baud rate on bpif3 Conor Dooley
2026-05-02 12:01 ` Yixun Lan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox