Skip to content

Commit

Permalink
arm64: dts: renesas: r8a77990: Add OPPs table for cpu devices
Browse files Browse the repository at this point in the history
This patch define OOP tables for all CPUs.
This allows CPUFreq to function.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Tested-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Takeshi Kihara authored and Simon Horman committed Feb 8, 2019
1 parent e536d27 commit dd7188e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions arch/arm64/boot/dts/renesas/r8a77990.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,27 @@
clock-frequency = <0>;
};

cluster1_opp: opp_table10 {
compatible = "operating-points-v2";
opp-shared;
opp-800000000 {
opp-hz = /bits/ 64 <800000000>;
opp-microvolt = <820000>;
clock-latency-ns = <300000>;
};
opp-1000000000 {
opp-hz = /bits/ 64 <1000000000>;
opp-microvolt = <820000>;
clock-latency-ns = <300000>;
};
opp-1200000000 {
opp-hz = /bits/ 64 <1200000000>;
opp-microvolt = <820000>;
clock-latency-ns = <300000>;
opp-suspend;
};
};

cpus {
#address-cells = <1>;
#size-cells = <0>;
Expand All @@ -66,6 +87,8 @@
power-domains = <&sysc R8A77990_PD_CA53_CPU0>;
next-level-cache = <&L2_CA53>;
enable-method = "psci";
clocks =<&cpg CPG_CORE R8A77990_CLK_Z2>;
operating-points-v2 = <&cluster1_opp>;
};

a53_1: cpu@1 {
Expand All @@ -75,6 +98,8 @@
power-domains = <&sysc R8A77990_PD_CA53_CPU1>;
next-level-cache = <&L2_CA53>;
enable-method = "psci";
clocks =<&cpg CPG_CORE R8A77990_CLK_Z2>;
operating-points-v2 = <&cluster1_opp>;
};

L2_CA53: cache-controller-0 {
Expand Down

0 comments on commit dd7188e

Please sign in to comment.