Commit bdeaa21a authored by Sudeep Holla's avatar Sudeep Holla

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: default avatarLiviu Dudau <liviu.dudau@arm.com>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
parent 3e287cf6
...@@ -67,6 +67,7 @@ etf@20010000 { ...@@ -67,6 +67,7 @@ etf@20010000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>;
ports { ports {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -96,6 +97,7 @@ tpiu@20030000 { ...@@ -96,6 +97,7 @@ tpiu@20030000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>;
port { port {
tpiu_in_port: endpoint { tpiu_in_port: endpoint {
slave-mode; slave-mode;
...@@ -110,6 +112,7 @@ main-funnel@20040000 { ...@@ -110,6 +112,7 @@ main-funnel@20040000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>;
ports { ports {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -146,6 +149,7 @@ etr@20070000 { ...@@ -146,6 +149,7 @@ etr@20070000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>;
port { port {
etr_in_port: endpoint { etr_in_port: endpoint {
slave-mode; slave-mode;
...@@ -160,6 +164,7 @@ etm0: etm@22040000 { ...@@ -160,6 +164,7 @@ etm0: etm@22040000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>;
port { port {
cluster0_etm0_out_port: endpoint { cluster0_etm0_out_port: endpoint {
remote-endpoint = <&cluster0_funnel_in_port0>; remote-endpoint = <&cluster0_funnel_in_port0>;
...@@ -173,6 +178,7 @@ cluster0-funnel@220c0000 { ...@@ -173,6 +178,7 @@ cluster0-funnel@220c0000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>;
ports { ports {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -208,6 +214,7 @@ etm1: etm@22140000 { ...@@ -208,6 +214,7 @@ etm1: etm@22140000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>;
port { port {
cluster0_etm1_out_port: endpoint { cluster0_etm1_out_port: endpoint {
remote-endpoint = <&cluster0_funnel_in_port1>; remote-endpoint = <&cluster0_funnel_in_port1>;
...@@ -221,6 +228,7 @@ etm2: etm@23040000 { ...@@ -221,6 +228,7 @@ etm2: etm@23040000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>;
port { port {
cluster1_etm0_out_port: endpoint { cluster1_etm0_out_port: endpoint {
remote-endpoint = <&cluster1_funnel_in_port0>; remote-endpoint = <&cluster1_funnel_in_port0>;
...@@ -234,6 +242,7 @@ cluster1-funnel@230c0000 { ...@@ -234,6 +242,7 @@ cluster1-funnel@230c0000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>;
ports { ports {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -283,6 +292,7 @@ etm3: etm@23140000 { ...@@ -283,6 +292,7 @@ etm3: etm@23140000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>;
port { port {
cluster1_etm1_out_port: endpoint { cluster1_etm1_out_port: endpoint {
remote-endpoint = <&cluster1_funnel_in_port1>; remote-endpoint = <&cluster1_funnel_in_port1>;
...@@ -296,6 +306,7 @@ etm4: etm@23240000 { ...@@ -296,6 +306,7 @@ etm4: etm@23240000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>;
port { port {
cluster1_etm2_out_port: endpoint { cluster1_etm2_out_port: endpoint {
remote-endpoint = <&cluster1_funnel_in_port2>; remote-endpoint = <&cluster1_funnel_in_port2>;
...@@ -309,6 +320,7 @@ etm5: etm@23340000 { ...@@ -309,6 +320,7 @@ etm5: etm@23340000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>;
port { port {
cluster1_etm3_out_port: endpoint { cluster1_etm3_out_port: endpoint {
remote-endpoint = <&cluster1_funnel_in_port3>; remote-endpoint = <&cluster1_funnel_in_port3>;
...@@ -416,6 +428,12 @@ scpi_clk: scpi-clk { ...@@ -416,6 +428,12 @@ scpi_clk: scpi-clk {
}; };
}; };
scpi_devpd: scpi-power-domains {
compatible = "arm,scpi-power-domains";
num-domains = <2>;
#power-domain-cells = <1>;
};
scpi_sensors0: sensors { scpi_sensors0: sensors {
compatible = "arm,scpi-sensors"; compatible = "arm,scpi-sensors";
#thermal-sensor-cells = <1>; #thermal-sensor-cells = <1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment