ARM: dts: tegra30: beaver: Add CPU Operating Performance Points
authorDmitry Osipenko <digetx@gmail.com>
Thu, 19 Mar 2020 19:02:29 +0000 (22:02 +0300)
committerThierry Reding <treding@nvidia.com>
Wed, 6 May 2020 17:02:40 +0000 (19:02 +0200)
Utilize common Tegra30 CPU OPP table. CPU DVFS is available now on beaver.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra30-beaver.dts

index a143cac22340b3c2f1cee10ca7627903c69042a4..6b6fd8a8058f49ee12df08f27d661e00be73ffa7 100644 (file)
@@ -2,6 +2,8 @@
 /dts-v1/;
 
 #include "tegra30.dtsi"
+#include "tegra30-cpu-opp.dtsi"
+#include "tegra30-cpu-opp-microvolt.dtsi"
 
 / {
        model = "NVIDIA Tegra30 Beaver evaluation board";
                assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
                                         <&tegra_car TEGRA30_CLK_EXTERN1>;
        };
+
+       cpus {
+               cpu0: cpu@0 {
+                       cpu-supply = <&vddctrl_reg>;
+                       operating-points-v2 = <&cpu0_opp_table>;
+               };
+
+               cpu@1 {
+                       cpu-supply = <&vddctrl_reg>;
+                       operating-points-v2 = <&cpu0_opp_table>;
+               };
+
+               cpu@2 {
+                       cpu-supply = <&vddctrl_reg>;
+                       operating-points-v2 = <&cpu0_opp_table>;
+               };
+
+               cpu@3 {
+                       cpu-supply = <&vddctrl_reg>;
+                       operating-points-v2 = <&cpu0_opp_table>;
+               };
+       };
 };