[PATCH v1 3/3] arch/arm64: meson-a1: dts: move pwrc node to bus

Alexey Romanov avromanov at sberdevices.ru
Mon May 22 14:09:41 CEST 2023


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 <avromanov at 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 at fe004400 {
 			compatible = "amlogic,meson-a1-usb-ctrl";
 			reg = <0x0 0xfe004400 0x0 0xa0>;
-- 
2.38.1



More information about the U-Boot mailing list