* [PATCH] riscv: dts: sophgo: sophgo-srd3-10: reserve uart0 device
@ 2025-07-03 0:40 Inochi Amaoto
2025-07-03 23:52 ` Chen Wang
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Inochi Amaoto @ 2025-07-03 0:40 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Paul Walmsley,
Palmer Dabbelt, Albert Ou, Alexandre Ghiti, Chen Wang,
Inochi Amaoto, Longbin Li
Cc: devicetree, linux-riscv, sophgo, linux-kernel, Yixun Lan
As the uart0 is already occupied by the firmware, reserve it
to avoid this port is used by mistake.
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
---
arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
index 96ccb6120114..1b506972d465 100644
--- a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
+++ b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
@@ -113,6 +113,11 @@ &sd {
status = "okay";
};
+&uart0 {
+ /* for firmware */
+ status = "reserved";
+};
+
&uart1 {
status = "okay";
};
--
2.50.0
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] riscv: dts: sophgo: sophgo-srd3-10: reserve uart0 device
2025-07-03 0:40 [PATCH] riscv: dts: sophgo: sophgo-srd3-10: reserve uart0 device Inochi Amaoto
@ 2025-07-03 23:52 ` Chen Wang
2025-07-04 6:34 ` Han Gao (Revy)
2025-07-14 0:47 ` Inochi Amaoto
2 siblings, 0 replies; 4+ messages in thread
From: Chen Wang @ 2025-07-03 23:52 UTC (permalink / raw)
To: Inochi Amaoto, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
Longbin Li
Cc: devicetree, linux-riscv, sophgo, linux-kernel, Yixun Lan
On 2025/7/3 8:40, Inochi Amaoto wrote:
> As the uart0 is already occupied by the firmware, reserve it
> to avoid this port is used by mistake.
>
> Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Reviewed-by: Chen Wang <wangchen20@iscas.ac.cn>
> ---
> arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
> index 96ccb6120114..1b506972d465 100644
> --- a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
> +++ b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
> @@ -113,6 +113,11 @@ &sd {
> status = "okay";
> };
>
> +&uart0 {
> + /* for firmware */
> + status = "reserved";
> +};
> +
> &uart1 {
> status = "okay";
> };
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] riscv: dts: sophgo: sophgo-srd3-10: reserve uart0 device
2025-07-03 0:40 [PATCH] riscv: dts: sophgo: sophgo-srd3-10: reserve uart0 device Inochi Amaoto
2025-07-03 23:52 ` Chen Wang
@ 2025-07-04 6:34 ` Han Gao (Revy)
2025-07-14 0:47 ` Inochi Amaoto
2 siblings, 0 replies; 4+ messages in thread
From: Han Gao (Revy) @ 2025-07-04 6:34 UTC (permalink / raw)
To: Inochi Amaoto
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Paul Walmsley,
Palmer Dabbelt, Albert Ou, Alexandre Ghiti, Chen Wang, Longbin Li,
devicetree, linux-riscv, sophgo, linux-kernel, Yixun Lan
> On Jul 3, 2025, at 08:40, Inochi Amaoto <inochiama@gmail.com> wrote:
>
> As the uart0 is already occupied by the firmware, reserve it
> to avoid this port is used by mistake.
>
> Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Tested-by: Han Gao <rabenda.cn@gmail.com>
> ---
> arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
> index 96ccb6120114..1b506972d465 100644
> --- a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
> +++ b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
> @@ -113,6 +113,11 @@ &sd {
> status = "okay";
> };
>
> +&uart0 {
> + /* for firmware */
> + status = "reserved";
> +};
> +
> &uart1 {
> status = "okay";
> };
> --
> 2.50.0
>
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
>
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] riscv: dts: sophgo: sophgo-srd3-10: reserve uart0 device
2025-07-03 0:40 [PATCH] riscv: dts: sophgo: sophgo-srd3-10: reserve uart0 device Inochi Amaoto
2025-07-03 23:52 ` Chen Wang
2025-07-04 6:34 ` Han Gao (Revy)
@ 2025-07-14 0:47 ` Inochi Amaoto
2 siblings, 0 replies; 4+ messages in thread
From: Inochi Amaoto @ 2025-07-14 0:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Paul Walmsley,
Palmer Dabbelt, Albert Ou, Alexandre Ghiti, Chen Wang, Longbin Li,
Inochi Amaoto
Cc: devicetree, linux-riscv, sophgo, linux-kernel, Yixun Lan
On Thu, 03 Jul 2025 08:40:23 +0800, Inochi Amaoto wrote:
> As the uart0 is already occupied by the firmware, reserve it
> to avoid this port is used by mistake.
>
>
Applied to for-next, thanks!
[1/1] riscv: dts: sophgo: sophgo-srd3-10: reserve uart0 device
https://github.com/sophgo/linux/commit/a3ec6cda33ea16e3b7cfee80a6278085948cb793
Thanks,
Inochi
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-07-14 0:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-03 0:40 [PATCH] riscv: dts: sophgo: sophgo-srd3-10: reserve uart0 device Inochi Amaoto
2025-07-03 23:52 ` Chen Wang
2025-07-04 6:34 ` Han Gao (Revy)
2025-07-14 0:47 ` Inochi Amaoto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).