This is necessary so that pwrc can be used together with
peripherals when described in a bus node. For example,
in the future, this will be USB.

Signed-off-by: Alexey Romanov <avroma...@sberdevices.ru>
---
 arch/arm/dts/meson-a1.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/dts/meson-a1.dtsi b/arch/arm/dts/meson-a1.dtsi
index 9776b2d8798..f3560cbc3a4 100644
--- a/arch/arm/dts/meson-a1.dtsi
+++ b/arch/arm/dts/meson-a1.dtsi
@@ -65,12 +65,6 @@
 
        sm: secure-monitor {
                compatible = "amlogic,meson-gxbb-sm";
-
-               pwrc: power-controller {
-                       compatible = "amlogic,meson-a1-pwrc";
-                       #power-domain-cells = <1>;
-                       status = "okay";
-               };
        };
 
        soc {
@@ -161,6 +155,12 @@
                        #address-cells = <0>;
                };
 
+               pwrc: power-controller {
+                       compatible = "amlogic,meson-a1-pwrc";
+                       #power-domain-cells = <1>;
+                       status = "okay";
+               };
+
                usb: usb@fe004400 {
                        compatible = "amlogic,meson-a1-usb-ctrl";
                        reg = <0x0 0xfe004400 0x0 0xa0>;
-- 
2.38.1

Reply via email to