arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts | 5 +++++ 1 file changed, 5 insertions(+)
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
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
> 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 >
© 2016 - 2025 Red Hat, Inc.