Skip to contentSkip to conversation

riscv: dts: sophgo: sophgo-srd3-10: reserve uart0 device

PATCH Applied Inochi Amaoto 3 participants 4 messages Jul 3, 2025 – Jul 14, 2025

Subsystems (3)
lore
Share & tools
lore

Inochi Amaoto

author maintainer
#0 lore raw

PATCH 1/1 riscv: dts: sophgo: sophgo-srd3-10: reserve uart0 device

As the uart0 is already occupied by the firmware, reserve it to avoid this port is used by mistake.

---
 arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts | 5 +++++
 1 file changed, 5 insertions(+)
arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts +5 -0
index 96ccb6120114..1b506972d465 100644
@@ -113,6 +113,11 @@ &sd {
 	status = "okay";
 };
 
+&uart0 {
+	/* for firmware */
+	status = "reserved";
+};
+
 &uart1 {
 	status = "okay";
 };
Signature · 1 line
2.50.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Inochi Amaoto

As the uart0 is already occupied by the firmware, reserve it to avoid this port is used by mistake.

Quoted 20 lines
---
  arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts | 5 +++++
  1 file changed, 5 insertions(+)
arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts +5 -0
index 96ccb6120114..1b506972d465 100644
@@ -113,6 +113,11 @@ &sd {
  	status = "okay";
  };
 
+&uart0 {
+	/* for firmware */
+	status = "reserved";
+};
+
  &uart1 {
  	status = "okay";
  };
Tested-by on v1 1/1
#2 lore raw
In reply to Inochi Amaoto
Quoted 8 lines · Inochi Amaoto

As the uart0 is already occupied by the firmware, reserve it to avoid this port is used by mistake.

Quoted 29 lines

---
arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts | 5 +++++

1 file changed, 5 insertions(+)
arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts +5 -0
index 96ccb6120114..1b506972d465 100644
@@ -113,6 +113,11 @@ &sd {
 	status = "okay";
 };
 
+&uart0 {
+	/* for firmware */
+	status = "reserved";
+};
+
 &uart1 {
 	status = "okay";
 };
Signature · 7 lines
2.50.0


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv