提交 e31b7bb8 编写于 作者: S Shubhrajyoti Datta 提交者: Michal Simek

arm64: zynqmp: Add operating points

Adding operating-points-v2 for zynqmp.
Signed-off-by: NShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
上级 1e4e25c8
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
compatible = "arm,cortex-a53", "arm,armv8"; compatible = "arm,cortex-a53", "arm,armv8";
device_type = "cpu"; device_type = "cpu";
enable-method = "psci"; enable-method = "psci";
operating-points-v2 = <&cpu_opp_table>;
reg = <0x0>; reg = <0x0>;
cpu-idle-states = <&CPU_SLEEP_0>; cpu-idle-states = <&CPU_SLEEP_0>;
}; };
...@@ -33,6 +34,7 @@ ...@@ -33,6 +34,7 @@
device_type = "cpu"; device_type = "cpu";
enable-method = "psci"; enable-method = "psci";
reg = <0x1>; reg = <0x1>;
operating-points-v2 = <&cpu_opp_table>;
cpu-idle-states = <&CPU_SLEEP_0>; cpu-idle-states = <&CPU_SLEEP_0>;
}; };
...@@ -41,6 +43,7 @@ ...@@ -41,6 +43,7 @@
device_type = "cpu"; device_type = "cpu";
enable-method = "psci"; enable-method = "psci";
reg = <0x2>; reg = <0x2>;
operating-points-v2 = <&cpu_opp_table>;
cpu-idle-states = <&CPU_SLEEP_0>; cpu-idle-states = <&CPU_SLEEP_0>;
}; };
...@@ -49,6 +52,7 @@ ...@@ -49,6 +52,7 @@
device_type = "cpu"; device_type = "cpu";
enable-method = "psci"; enable-method = "psci";
reg = <0x3>; reg = <0x3>;
operating-points-v2 = <&cpu_opp_table>;
cpu-idle-states = <&CPU_SLEEP_0>; cpu-idle-states = <&CPU_SLEEP_0>;
}; };
...@@ -66,6 +70,31 @@ ...@@ -66,6 +70,31 @@
}; };
}; };
cpu_opp_table: cpu_opp_table {
compatible = "operating-points-v2";
opp-shared;
opp00 {
opp-hz = /bits/ 64 <1199999988>;
opp-microvolt = <1000000>;
clock-latency-ns = <500000>;
};
opp01 {
opp-hz = /bits/ 64 <599999994>;
opp-microvolt = <1000000>;
clock-latency-ns = <500000>;
};
opp02 {
opp-hz = /bits/ 64 <399999996>;
opp-microvolt = <1000000>;
clock-latency-ns = <500000>;
};
opp03 {
opp-hz = /bits/ 64 <299999997>;
opp-microvolt = <1000000>;
clock-latency-ns = <500000>;
};
};
pmu { pmu {
compatible = "arm,armv8-pmuv3"; compatible = "arm,armv8-pmuv3";
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册