Thread (5 messages) 5 messages, 2 authors, 2016-08-24

[RFC 5/6] arm64: dts: Add Juno r0 CPU power domain tree

From: Brendan Jackman <hidden>
Date: 2016-08-24 13:48:21
Also in: linux-arm-msm
Subsystem: arm/versatile express platform, the rest · Maintainers: Liviu Dudau, Sudeep Holla, Lorenzo Pieralisi, Linus Torvalds

---
 arch/arm64/boot/dts/arm/juno.dts | 47 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64/boot/dts/arm/juno.dts
index a7270ef..4e086ec 100644
--- a/arch/arm64/boot/dts/arm/juno.dts
+++ b/arch/arm64/boot/dts/arm/juno.dts
@@ -90,6 +90,7 @@
 			next-level-cache = <&A57_L2>;
 			clocks = <&scpi_dvfs 0>;
 			cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
+			power-domains = <&A57_0_PD>;
 		};
 
 		A57_1: cpu@1 {
@@ -100,6 +101,7 @@
 			next-level-cache = <&A57_L2>;
 			clocks = <&scpi_dvfs 0>;
 			cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
+			power-domains = <&A57_1_PD>;
 		};
 
 		A53_0: cpu@100 {
@@ -110,6 +112,7 @@
 			next-level-cache = <&A53_L2>;
 			clocks = <&scpi_dvfs 1>;
 			cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
+			power-domains = <&A53_0_PD>;
 		};
 
 		A53_1: cpu@101 {
@@ -120,6 +123,7 @@
 			next-level-cache = <&A53_L2>;
 			clocks = <&scpi_dvfs 1>;
 			cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
+			power-domains = <&A53_1_PD>;
 		};
 
 		A53_2: cpu@102 {
@@ -130,6 +134,7 @@
 			next-level-cache = <&A53_L2>;
 			clocks = <&scpi_dvfs 1>;
 			cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
+			power-domains = <&A53_2_PD>;
 		};
 
 		A53_3: cpu@103 {
@@ -140,6 +145,7 @@
 			next-level-cache = <&A53_L2>;
 			clocks = <&scpi_dvfs 1>;
 			cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
+			power-domains = <&A53_3_PD>;
 		};
 
 		A57_L2: l2-cache0 {
@@ -151,6 +157,47 @@
 		};
 	};
 
+	power-domains {
+		CLUSTER_A57_PD: cluster-a57-pd {
+			#power-domain-cells = <0>;
+		};
+
+		A57_0_PD: a57-pd@0 {
+			#power-domain-cells = <0>;
+			power-domains = <&CLUSTER_A57_PD>;
+		};
+
+		A57_1_PD: a57-pd@1 {
+			#power-domain-cells = <0>;
+			power-domains = <&CLUSTER_A57_PD>;
+		};
+
+
+		CLUSTER_A53_PD: cluster-a53-pd {
+			#power-domain-cells = <0>;
+		};
+
+		A53_0_PD: a53-pd@0 {
+			#power-domain-cells = <0>;
+			power-domains = <&CLUSTER_A53_PD>;
+		};
+
+		A53_1_PD: a53-pd@1 {
+			#power-domain-cells = <0>;
+			power-domains = <&CLUSTER_A53_PD>;
+		};
+
+		A53_2_PD: a53-pd@2 {
+			#power-domain-cells = <0>;
+			power-domains = <&CLUSTER_A53_PD>;
+		};
+
+		A53_3_PD: a53-pd@3 {
+			#power-domain-cells = <0>;
+			power-domains = <&CLUSTER_A53_PD>;
+		};
+	};
+
 	pmu_a57 {
 		compatible = "arm,cortex-a57-pmu";
 		interrupts = <GIC_SPI 02 IRQ_TYPE_LEVEL_HIGH>,
-- 
2.9.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help