diff --git a/MAINTAINERS b/MAINTAINERS index fe8a12dc8bd7..5d02fbe529c0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -18859,6 +18859,7 @@ F: Documentation/devicetree/bindings/riscv/ F: arch/riscv/boot/dts/ X: arch/riscv/boot/dts/allwinner/ X: arch/riscv/boot/dts/renesas/ +X: arch/riscv/boot/dts/sophgo/ RISC-V PMU DRIVERS M: Atish Patra @@ -20457,12 +20458,13 @@ F: drivers/char/sonypi.c F: drivers/platform/x86/sony-laptop.c F: include/linux/sony-laptop.h -SOPHGO DEVICETREES -M: Chao Wei +SOPHGO DEVICETREES and DRIVERS M: Chen Wang +M: Inochi Amaoto +T: git https://github.com/sophgo/linux.git S: Maintained -F: arch/riscv/boot/dts/sophgo/ -F: Documentation/devicetree/bindings/riscv/sophgo.yaml +N: sophgo +K: sophgo SOUND M: Jaroslav Kysela diff --git a/arch/riscv/boot/dts/sophgo/sg2042.dtsi b/arch/riscv/boot/dts/sophgo/sg2042.dtsi index ead1cc35d88b..81fda312f988 100644 --- a/arch/riscv/boot/dts/sophgo/sg2042.dtsi +++ b/arch/riscv/boot/dts/sophgo/sg2042.dtsi @@ -6,6 +6,8 @@ /dts-v1/; #include +#include + #include "sg2042-cpus.dtsi" / { @@ -327,6 +329,12 @@ riscv,ndev = <224>; }; + rstgen: reset-controller@7030013000 { + compatible = "sophgo,sg2042-reset"; + reg = <0x00000070 0x30013000 0x00000000 0x0000000c>; + #reset-cells = <1>; + }; + uart0: serial@7040000000 { compatible = "snps,dw-apb-uart"; reg = <0x00000070 0x40000000 0x00000000 0x00001000>; @@ -335,6 +343,7 @@ clock-frequency = <500000000>; reg-shift = <2>; reg-io-width = <4>; + resets = <&rstgen RST_UART0>; status = "disabled"; }; };