[PATCH v2 5/5] riscv: dts: sg2042: Adapt reset generator for new binding

From: Inochi Amaoto
Date: Wed Feb 26 2025 - 18:44:22 EST


As the SG2042 reset controller reuse new binding, change the device
compatible with new string.

Signed-off-by: Inochi Amaoto <inochiama@xxxxxxxxx>
---
arch/riscv/boot/dts/sophgo/sg2042.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/riscv/boot/dts/sophgo/sg2042.dtsi b/arch/riscv/boot/dts/sophgo/sg2042.dtsi
index e62ac51ac55a..2be10cbba0ce 100644
--- a/arch/riscv/boot/dts/sophgo/sg2042.dtsi
+++ b/arch/riscv/boot/dts/sophgo/sg2042.dtsi
@@ -499,9 +499,10 @@ intc: interrupt-controller@7090000000 {
};

rstgen: reset-controller@7030013000 {
- compatible = "sophgo,sg2042-reset";
+ compatible = "sophgo,sg2042-reset", "reset-simple";
reg = <0x00000070 0x30013000 0x00000000 0x0000000c>;
#reset-cells = <1>;
+ active-low;
};

uart0: serial@7040000000 {
--
2.48.1