[PATCH v1] dts: spacemit: set console baud rate on bpif3
Conor Dooley
conor at kernel.org
Sun May 3 10:58:30 PDT 2026
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 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
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20260503/14611d2f/attachment.sig>
More information about the linux-riscv
mailing list