[PATCH] riscv: dts: sophgo: sophgo-srd3-10: reserve uart0 device
Chen Wang
unicorn_wang at outlook.com
Thu Jul 3 16:52:09 PDT 2025
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 at gmail.com>
Reviewed-by: Chen Wang <wangchen20 at 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";
> };
More information about the linux-riscv
mailing list