Commit e997a6a4 authored by Finley Xiao's avatar Finley Xiao Committed by Heiko Stuebner

arm64: dts: rockchip: Add cpu operating points for RK3328 SoC

This patch adds basic OPP entries for RK3328 SoC.
Signed-off-by: default avatarFinley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 45a995c0
...@@ -76,6 +76,7 @@ cpu0: cpu@0 { ...@@ -76,6 +76,7 @@ cpu0: cpu@0 {
clocks = <&cru ARMCLK>; clocks = <&cru ARMCLK>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
operating-points-v2 = <&cpu0_opp_table>;
}; };
cpu1: cpu@1 { cpu1: cpu@1 {
...@@ -85,6 +86,7 @@ cpu1: cpu@1 { ...@@ -85,6 +86,7 @@ cpu1: cpu@1 {
clocks = <&cru ARMCLK>; clocks = <&cru ARMCLK>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
operating-points-v2 = <&cpu0_opp_table>;
}; };
cpu2: cpu@2 { cpu2: cpu@2 {
...@@ -94,6 +96,7 @@ cpu2: cpu@2 { ...@@ -94,6 +96,7 @@ cpu2: cpu@2 {
clocks = <&cru ARMCLK>; clocks = <&cru ARMCLK>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
operating-points-v2 = <&cpu0_opp_table>;
}; };
cpu3: cpu@3 { cpu3: cpu@3 {
...@@ -103,6 +106,7 @@ cpu3: cpu@3 { ...@@ -103,6 +106,7 @@ cpu3: cpu@3 {
clocks = <&cru ARMCLK>; clocks = <&cru ARMCLK>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
operating-points-v2 = <&cpu0_opp_table>;
}; };
l2: l2-cache0 { l2: l2-cache0 {
...@@ -110,6 +114,43 @@ l2: l2-cache0 { ...@@ -110,6 +114,43 @@ l2: l2-cache0 {
}; };
}; };
cpu0_opp_table: opp_table0 {
compatible = "operating-points-v2";
opp-shared;
opp-408000000 {
opp-hz = /bits/ 64 <408000000>;
opp-microvolt = <950000>;
clock-latency-ns = <40000>;
opp-suspend;
};
opp-600000000 {
opp-hz = /bits/ 64 <600000000>;
opp-microvolt = <950000>;
clock-latency-ns = <40000>;
};
opp-816000000 {
opp-hz = /bits/ 64 <816000000>;
opp-microvolt = <1000000>;
clock-latency-ns = <40000>;
};
opp-1008000000 {
opp-hz = /bits/ 64 <1008000000>;
opp-microvolt = <1100000>;
clock-latency-ns = <40000>;
};
opp-1200000000 {
opp-hz = /bits/ 64 <1200000000>;
opp-microvolt = <1225000>;
clock-latency-ns = <40000>;
};
opp-1296000000 {
opp-hz = /bits/ 64 <1296000000>;
opp-microvolt = <1300000>;
clock-latency-ns = <40000>;
};
};
amba { amba {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <2>; #address-cells = <2>;
......
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