diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2016-06-02 05:57:06 -0400 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2016-06-21 10:17:16 -0400 |
commit | bdeaa21affa696279ed9b676d6e4f8ddc6f42a54 (patch) | |
tree | cfd1668c63c8aa96c036db963aaba71063a3f672 | |
parent | 3e287cf6ef954947365a4aca6580ea1d6bee3a18 (diff) |
arm64: dts: juno: add SCPI power domains for device power management
This patch adds power domain information to coresight devices using
SCPI power domains.
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
-rw-r--r-- | arch/arm64/boot/dts/arm/juno-base.dtsi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi index 4ea40a476906..53820fa79bab 100644 --- a/arch/arm64/boot/dts/arm/juno-base.dtsi +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi | |||
@@ -67,6 +67,7 @@ | |||
67 | 67 | ||
68 | clocks = <&soc_smc50mhz>; | 68 | clocks = <&soc_smc50mhz>; |
69 | clock-names = "apb_pclk"; | 69 | clock-names = "apb_pclk"; |
70 | power-domains = <&scpi_devpd 0>; | ||
70 | ports { | 71 | ports { |
71 | #address-cells = <1>; | 72 | #address-cells = <1>; |
72 | #size-cells = <0>; | 73 | #size-cells = <0>; |
@@ -96,6 +97,7 @@ | |||
96 | 97 | ||
97 | clocks = <&soc_smc50mhz>; | 98 | clocks = <&soc_smc50mhz>; |
98 | clock-names = "apb_pclk"; | 99 | clock-names = "apb_pclk"; |
100 | power-domains = <&scpi_devpd 0>; | ||
99 | port { | 101 | port { |
100 | tpiu_in_port: endpoint { | 102 | tpiu_in_port: endpoint { |
101 | slave-mode; | 103 | slave-mode; |
@@ -110,6 +112,7 @@ | |||
110 | 112 | ||
111 | clocks = <&soc_smc50mhz>; | 113 | clocks = <&soc_smc50mhz>; |
112 | clock-names = "apb_pclk"; | 114 | clock-names = "apb_pclk"; |
115 | power-domains = <&scpi_devpd 0>; | ||
113 | ports { | 116 | ports { |
114 | #address-cells = <1>; | 117 | #address-cells = <1>; |
115 | #size-cells = <0>; | 118 | #size-cells = <0>; |
@@ -146,6 +149,7 @@ | |||
146 | 149 | ||
147 | clocks = <&soc_smc50mhz>; | 150 | clocks = <&soc_smc50mhz>; |
148 | clock-names = "apb_pclk"; | 151 | clock-names = "apb_pclk"; |
152 | power-domains = <&scpi_devpd 0>; | ||
149 | port { | 153 | port { |
150 | etr_in_port: endpoint { | 154 | etr_in_port: endpoint { |
151 | slave-mode; | 155 | slave-mode; |
@@ -160,6 +164,7 @@ | |||
160 | 164 | ||
161 | clocks = <&soc_smc50mhz>; | 165 | clocks = <&soc_smc50mhz>; |
162 | clock-names = "apb_pclk"; | 166 | clock-names = "apb_pclk"; |
167 | power-domains = <&scpi_devpd 0>; | ||
163 | port { | 168 | port { |
164 | cluster0_etm0_out_port: endpoint { | 169 | cluster0_etm0_out_port: endpoint { |
165 | remote-endpoint = <&cluster0_funnel_in_port0>; | 170 | remote-endpoint = <&cluster0_funnel_in_port0>; |
@@ -173,6 +178,7 @@ | |||
173 | 178 | ||
174 | clocks = <&soc_smc50mhz>; | 179 | clocks = <&soc_smc50mhz>; |
175 | clock-names = "apb_pclk"; | 180 | clock-names = "apb_pclk"; |
181 | power-domains = <&scpi_devpd 0>; | ||
176 | ports { | 182 | ports { |
177 | #address-cells = <1>; | 183 | #address-cells = <1>; |
178 | #size-cells = <0>; | 184 | #size-cells = <0>; |
@@ -208,6 +214,7 @@ | |||
208 | 214 | ||
209 | clocks = <&soc_smc50mhz>; | 215 | clocks = <&soc_smc50mhz>; |
210 | clock-names = "apb_pclk"; | 216 | clock-names = "apb_pclk"; |
217 | power-domains = <&scpi_devpd 0>; | ||
211 | port { | 218 | port { |
212 | cluster0_etm1_out_port: endpoint { | 219 | cluster0_etm1_out_port: endpoint { |
213 | remote-endpoint = <&cluster0_funnel_in_port1>; | 220 | remote-endpoint = <&cluster0_funnel_in_port1>; |
@@ -221,6 +228,7 @@ | |||
221 | 228 | ||
222 | clocks = <&soc_smc50mhz>; | 229 | clocks = <&soc_smc50mhz>; |
223 | clock-names = "apb_pclk"; | 230 | clock-names = "apb_pclk"; |
231 | power-domains = <&scpi_devpd 0>; | ||
224 | port { | 232 | port { |
225 | cluster1_etm0_out_port: endpoint { | 233 | cluster1_etm0_out_port: endpoint { |
226 | remote-endpoint = <&cluster1_funnel_in_port0>; | 234 | remote-endpoint = <&cluster1_funnel_in_port0>; |
@@ -234,6 +242,7 @@ | |||
234 | 242 | ||
235 | clocks = <&soc_smc50mhz>; | 243 | clocks = <&soc_smc50mhz>; |
236 | clock-names = "apb_pclk"; | 244 | clock-names = "apb_pclk"; |
245 | power-domains = <&scpi_devpd 0>; | ||
237 | ports { | 246 | ports { |
238 | #address-cells = <1>; | 247 | #address-cells = <1>; |
239 | #size-cells = <0>; | 248 | #size-cells = <0>; |
@@ -283,6 +292,7 @@ | |||
283 | 292 | ||
284 | clocks = <&soc_smc50mhz>; | 293 | clocks = <&soc_smc50mhz>; |
285 | clock-names = "apb_pclk"; | 294 | clock-names = "apb_pclk"; |
295 | power-domains = <&scpi_devpd 0>; | ||
286 | port { | 296 | port { |
287 | cluster1_etm1_out_port: endpoint { | 297 | cluster1_etm1_out_port: endpoint { |
288 | remote-endpoint = <&cluster1_funnel_in_port1>; | 298 | remote-endpoint = <&cluster1_funnel_in_port1>; |
@@ -296,6 +306,7 @@ | |||
296 | 306 | ||
297 | clocks = <&soc_smc50mhz>; | 307 | clocks = <&soc_smc50mhz>; |
298 | clock-names = "apb_pclk"; | 308 | clock-names = "apb_pclk"; |
309 | power-domains = <&scpi_devpd 0>; | ||
299 | port { | 310 | port { |
300 | cluster1_etm2_out_port: endpoint { | 311 | cluster1_etm2_out_port: endpoint { |
301 | remote-endpoint = <&cluster1_funnel_in_port2>; | 312 | remote-endpoint = <&cluster1_funnel_in_port2>; |
@@ -309,6 +320,7 @@ | |||
309 | 320 | ||
310 | clocks = <&soc_smc50mhz>; | 321 | clocks = <&soc_smc50mhz>; |
311 | clock-names = "apb_pclk"; | 322 | clock-names = "apb_pclk"; |
323 | power-domains = <&scpi_devpd 0>; | ||
312 | port { | 324 | port { |
313 | cluster1_etm3_out_port: endpoint { | 325 | cluster1_etm3_out_port: endpoint { |
314 | remote-endpoint = <&cluster1_funnel_in_port3>; | 326 | remote-endpoint = <&cluster1_funnel_in_port3>; |
@@ -416,6 +428,12 @@ | |||
416 | }; | 428 | }; |
417 | }; | 429 | }; |
418 | 430 | ||
431 | scpi_devpd: scpi-power-domains { | ||
432 | compatible = "arm,scpi-power-domains"; | ||
433 | num-domains = <2>; | ||
434 | #power-domain-cells = <1>; | ||
435 | }; | ||
436 | |||
419 | scpi_sensors0: sensors { | 437 | scpi_sensors0: sensors { |
420 | compatible = "arm,scpi-sensors"; | 438 | compatible = "arm,scpi-sensors"; |
421 | #thermal-sensor-cells = <1>; | 439 | #thermal-sensor-cells = <1>; |