mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] riscv: dts: spacemit: set console baud rate on OrangePi RV2
@ 2026-09-29 12:02 Jennifer Berringer
  2026-09-30  7:34 ` Iker Pedrosa
  2026-10-02 11:16 ` Yixun Lan
  0 siblings, 2 replies; 3+ messages in thread
From: Jennifer Berringer @ 2026-09-29 12:02 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Yixun Lan,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Hendrik Hamerlinck
  Cc: devicetree, linux-riscv, spacemit, linux-kernel,
	Jennifer Berringer, Vincent Legoll

Set the baud rate to 115200, matching what is used by U-Boot on this
platform so that the console is usable even when console options are not
specified in cmdline.

Fixes: bab8dea259100 ("riscv: dts: spacemit: Add OrangePi RV2 board device tree")
Tested-by: Vincent Legoll <legoll@online.fr>
Reviewed-by: Yixun Lan <dlan@kernel.org>
Signed-off-by: Jennifer Berringer <jberring@redhat.com>
---
Changes in v2:
- Collect tags
- Rebase onto spacemit/dt-for-next

Link to v1: https://lore.kernel.org/spacemit/20260520111150.3300707-1-jberring@redhat.com/
---
 arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
index 0cf60d1985604..d8b2cace4e7a3 100644
--- a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
+++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
@@ -25,7 +25,7 @@ aliases {
 	};
 
 	chosen {
-		stdout-path = "serial0";
+		stdout-path = "serial0:115200n8";
 	};
 
 	leds {

base-commit: 4947ee60bf48caddf5caefc08dbbc84d09fbbc6b
-- 
2.55.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] riscv: dts: spacemit: set console baud rate on OrangePi RV2
  2026-09-29 12:02 [PATCH v2] riscv: dts: spacemit: set console baud rate on OrangePi RV2 Jennifer Berringer
@ 2026-09-30  7:34 ` Iker Pedrosa
  2026-10-02 11:16 ` Yixun Lan
  1 sibling, 0 replies; 3+ messages in thread
From: Iker Pedrosa @ 2026-09-30  7:34 UTC (permalink / raw)
  To: Jennifer Berringer
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Yixun Lan,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Hendrik Hamerlinck, devicetree, linux-riscv, spacemit,
	linux-kernel, Vincent Legoll

Reviewed-by: Iker Pedrosa <ikerpedrosam@gmail.com>

El mar, 29 sept 2026 a las 14:10, Jennifer Berringer
(<jberring@redhat.com>) escribió:
>
> Set the baud rate to 115200, matching what is used by U-Boot on this
> platform so that the console is usable even when console options are not
> specified in cmdline.
>
> Fixes: bab8dea259100 ("riscv: dts: spacemit: Add OrangePi RV2 board device tree")
> Tested-by: Vincent Legoll <legoll@online.fr>
> Reviewed-by: Yixun Lan <dlan@kernel.org>
> Signed-off-by: Jennifer Berringer <jberring@redhat.com>
> ---
> Changes in v2:
> - Collect tags
> - Rebase onto spacemit/dt-for-next
>
> Link to v1: https://lore.kernel.org/spacemit/20260520111150.3300707-1-jberring@redhat.com/
> ---
>  arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> index 0cf60d1985604..d8b2cace4e7a3 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> @@ -25,7 +25,7 @@ aliases {
>         };
>
>         chosen {
> -               stdout-path = "serial0";
> +               stdout-path = "serial0:115200n8";
>         };
>
>         leds {
>
> base-commit: 4947ee60bf48caddf5caefc08dbbc84d09fbbc6b
> --
> 2.55.0
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] riscv: dts: spacemit: set console baud rate on OrangePi RV2
  2026-09-29 12:02 [PATCH v2] riscv: dts: spacemit: set console baud rate on OrangePi RV2 Jennifer Berringer
  2026-09-30  7:34 ` Iker Pedrosa
@ 2026-10-02 11:16 ` Yixun Lan
  1 sibling, 0 replies; 3+ messages in thread
From: Yixun Lan @ 2026-10-02 11:16 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Paul Walmsley,
	Palmer Dabbelt, Albert Ou, Alexandre Ghiti, Hendrik Hamerlinck,
	Jennifer Berringer
  Cc: Yixun Lan, devicetree, linux-riscv, spacemit, linux-kernel,
	Vincent Legoll


On Tue, 29 Sep 2026 08:02:27 -0400, Jennifer Berringer wrote:
> Set the baud rate to 115200, matching what is used by U-Boot on this
> platform so that the console is usable even when console options are not
> specified in cmdline.

Applied, thanks!

[1/1] riscv: dts: spacemit: set console baud rate on OrangePi RV2
      https://git.kernel.org/pub/scm/linux/kernel/git/spacemit/linux.git/commit/?id=789eed2d8bfa83d79e24d185f736b038a121b3ce

Best regards,
-- 
Yixun Lan <dlan@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-02 11:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 12:02 [PATCH v2] riscv: dts: spacemit: set console baud rate on OrangePi RV2 Jennifer Berringer
2026-09-30  7:34 ` Iker Pedrosa
2026-10-02 11:16 ` Yixun Lan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®