aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@free-electrons.com>2017-03-21 11:36:01 -0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-03-22 03:16:12 -0400
commitea33c2c2051a266f68d9cd920c789cec828c8f11 (patch)
tree3b1d6113a8a5fd0218f92c3a9ad0dce62ad8acba
parent28787bf47b11b08290918dcf91b08764cb5fe122 (diff)
ARM: sun8i: a33: add operating-points-v2 property to all nodes
The OPP are declared as shared but no operating points are declared for cpu1, 2 and 3. Thus, the following error happens during the boot: cpu cpu1: dev_pm_opp_of_get_sharing_cpus: Couldn't find tcpu_dev node. This patch applies the operating points to each cpu of the A33. Fixes: 03749eb88e63 ("ARM: dts: sun8i: add opp-v2 table for A33") Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/sun8i-a33.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi
index 045d488cc7ed..a367c0ac4e76 100644
--- a/arch/arm/boot/dts/sun8i-a33.dtsi
+++ b/arch/arm/boot/dts/sun8i-a33.dtsi
@@ -75,16 +75,22 @@
75 operating-points-v2 = <&cpu0_opp_table>; 75 operating-points-v2 = <&cpu0_opp_table>;
76 }; 76 };
77 77
78 cpu@1 {
79 operating-points-v2 = <&cpu0_opp_table>;
80 };
81
78 cpu@2 { 82 cpu@2 {
79 compatible = "arm,cortex-a7"; 83 compatible = "arm,cortex-a7";
80 device_type = "cpu"; 84 device_type = "cpu";
81 reg = <2>; 85 reg = <2>;
86 operating-points-v2 = <&cpu0_opp_table>;
82 }; 87 };
83 88
84 cpu@3 { 89 cpu@3 {
85 compatible = "arm,cortex-a7"; 90 compatible = "arm,cortex-a7";
86 device_type = "cpu"; 91 device_type = "cpu";
87 reg = <3>; 92 reg = <3>;
93 operating-points-v2 = <&cpu0_opp_table>;
88 }; 94 };
89 }; 95 };
90 96