dt-bingings:reset: Add Starfive JH7110 reset bindings
[platform/kernel/linux-starfive.git] / arch / riscv / boot / dts / starfive / starfive_jh7110.dts
index 198e0e1..906d13e 100644 (file)
@@ -1,5 +1,6 @@
 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
 /dts-v1/;
+#include <dt-bindings/reset/starfive-jh7110.h>
 #include "starfive_jh7110_clk.dtsi"
 
 / {
                        clock-names = "vcodec";
                        reg-names = "control";
                };
-               rst: reset-controller {
+               rstgen: reset-controller {
                        compatible = "starfive,jh7110-reset";
+                       reg = <0x0 0x13020000 0x0 0x10000>,
+                               <0x0 0x10230000 0x0 0x10000>,
+                               <0x0 0x17000000 0x0 0x10000>;
+                       reg-names = "syscrg", "stgcrg", "aoncrg";
                        #reset-cells = <1>;
-                       reset-controller;
+                       status = "okay";
                };
 
                /*gmac device configuration*/