riscv: dts: sophgo: sophgo-srd3-10: reserve uart0 device
Subsystems (3)
Inochi Amaoto
maintainerPATCH 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.
Signed-off-by Inochi Amaoto <[email protected]>
--- 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
@@ -113,6 +113,11 @@ &sd { status = "okay"; }; +&uart0 { + /* for firmware */ + status = "reserved"; +}; + &uart1 { status = "okay"; };
Signature · 1 line
2.50.0
Quoted 4 lines · Inochi Amaoto
As the uart0 is already occupied by the firmware, reserve it to avoid this port is used by mistake.
Signed-off-by Inochi Amaoto <[email protected]>
Reviewed-by Chen Wang <[email protected]>
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@@ -113,6 +113,11 @@ &sd { status = "okay"; }; +&uart0 { + /* for firmware */ + status = "reserved"; +}; + &uart1 { status = "okay"; };
Quoted 8 lines · Inochi Amaoto
As the uart0 is already occupied by the firmware, reserve it to avoid this port is used by mistake.
Signed-off-by Inochi Amaoto <[email protected]>
Tested-by Han Gao <[email protected]>
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@@ -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
Quoted 4 lines · Inochi Amaoto
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