[PATCH v1] dts: spacemit: set console baud rate on bpif3

Conor Dooley posted 1 patch 1 month, 2 weeks ago
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v1] dts: spacemit: set console baud rate on bpif3
Posted by Conor Dooley 1 month, 2 weeks ago
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
Re: [PATCH v1] dts: spacemit: set console baud rate on bpif3
Posted by Yixun Lan 1 month, 1 week ago
On Thu, 30 Apr 2026 19:52:12 +0100, Conor Dooley wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] dts: spacemit: set console baud rate on bpif3
      https://github.com/spacemit-com/linux/commit/24c12ca43b12c104389d9a159207d0b25779d0af

Best regards,
-- 
Yixun Lan <dlan@kernel.org>
Re: [PATCH v1] dts: spacemit: set console baud rate on bpif3
Posted by Yixun Lan 1 month, 1 week ago
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>

Reviewed-by: Yixun Lan <dlan@kernel.org>

-- 
Yixun Lan (dlan)
Re: [PATCH v1] dts: spacemit: set console baud rate on bpif3
Posted by Yixun Lan 1 month, 2 weeks ago
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)
Re: [PATCH v1] dts: spacemit: set console baud rate on bpif3
Posted by Conor Dooley 1 month, 1 week ago
On Sat, May 02, 2026 at 12:01:02PM +0000, Yixun Lan wrote:
> 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

I don't have any other boards, didn't/don't want to make the change
elsewhere where I cannot test it.

> 
> 
> >  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)