summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@linaro.org>2023-09-12 10:00:16 +0200
committerVincent Guittot <vincent.guittot@linaro.org>2024-02-02 11:20:38 +0100
commit5cde6910319b2e1d587c5db66d74cad806b365f0 (patch)
tree61e1a3833a9d3477604fa42b2bd1af3640a6cf42
parentb1a9310dcabf0b54cda9efb719b8838a586074f2 (diff)
fvp: Add scmi server nodescmi-over-ffa
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
-rw-r--r--src/arm64/arm/fvp-base-revc.dts39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/arm64/arm/fvp-base-revc.dts b/src/arm64/arm/fvp-base-revc.dts
index 60472d65a3..a3016eb803 100644
--- a/src/arm64/arm/fvp-base-revc.dts
+++ b/src/arm64/arm/fvp-base-revc.dts
@@ -54,6 +54,7 @@
d-cache-line-size = <64>;
d-cache-sets = <256>;
next-level-cache = <&C0_L2>;
+ clocks = <&scmi_dvfs 0>;
};
cpu1: cpu@100 {
device_type = "cpu";
@@ -67,6 +68,7 @@
d-cache-line-size = <64>;
d-cache-sets = <256>;
next-level-cache = <&C0_L2>;
+ clocks = <&scmi_dvfs 0>;
};
cpu2: cpu@200 {
device_type = "cpu";
@@ -80,6 +82,7 @@
d-cache-line-size = <64>;
d-cache-sets = <256>;
next-level-cache = <&C0_L2>;
+ clocks = <&scmi_dvfs 0>;
};
cpu3: cpu@300 {
device_type = "cpu";
@@ -93,6 +96,7 @@
d-cache-line-size = <64>;
d-cache-sets = <256>;
next-level-cache = <&C0_L2>;
+ clocks = <&scmi_dvfs 0>;
};
cpu4: cpu@10000 {
device_type = "cpu";
@@ -106,6 +110,7 @@
d-cache-line-size = <64>;
d-cache-sets = <256>;
next-level-cache = <&C1_L2>;
+ clocks = <&scmi_dvfs 1>;
};
cpu5: cpu@10100 {
device_type = "cpu";
@@ -119,6 +124,7 @@
d-cache-line-size = <64>;
d-cache-sets = <256>;
next-level-cache = <&C1_L2>;
+ clocks = <&scmi_dvfs 1>;
};
cpu6: cpu@10200 {
device_type = "cpu";
@@ -132,6 +138,7 @@
d-cache-line-size = <64>;
d-cache-sets = <256>;
next-level-cache = <&C1_L2>;
+ clocks = <&scmi_dvfs 1>;
};
cpu7: cpu@10300 {
device_type = "cpu";
@@ -145,6 +152,7 @@
d-cache-line-size = <64>;
d-cache-sets = <256>;
next-level-cache = <&C1_L2>;
+ clocks = <&scmi_dvfs 1>;
};
C0_L2: l2-cache0 {
compatible = "cache";
@@ -317,4 +325,35 @@
<0 0 44 &gic 0 0 GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
<0 0 46 &gic 0 0 GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
};
+
+ firmware {
+ scmi: scmi0 {
+ compatible = "linaro,scmi-ffa";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ linaro,ffa-channel-id = <0x01>;
+
+ scmi_devpd: protocol@11 {
+ reg = <0x11>;
+ #power-domain-cells = <1>;
+ };
+
+ scmi_clk0: protocol@14 {
+ reg = <0x14>;
+ #clock-cells = <1>;
+ };
+
+ scmi_sensors0: protocol@15 {
+ reg = <0x15>;
+ #thermal-sensor-cells = <1>;
+ };
+
+ scmi_dvfs: protocol@13 {
+ reg = <0x13>;
+ #clock-cells = <1>;
+ linaro,ffa-channel-id = <0x02>;
+ };
+ };
+ };
};