ARM: tegra: paz00: Add CPU Operating Performance Points
authorDmitry Osipenko <digetx@gmail.com>
Thu, 24 Oct 2019 22:14:13 +0000 (01:14 +0300)
committerThierry Reding <treding@nvidia.com>
Tue, 29 Oct 2019 19:29:17 +0000 (20:29 +0100)
Utilize common Tegra20 CPU OPP table. CPU DVFS is available now on
AC100.

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

index 6e9fe19..85fce5b 100644 (file)
@@ -3,6 +3,8 @@
 
 #include <dt-bindings/input/input.h>
 #include "tegra20.dtsi"
+#include "tegra20-cpu-opp.dtsi"
+#include "tegra20-cpu-opp-microvolt.dtsi"
 
 / {
        model = "Toshiba AC100 / Dynabook AZ";
                         <&tegra_car TEGRA20_CLK_CDEV1>;
                clock-names = "pll_a", "pll_a_out0", "mclk";
        };
+
+       cpus {
+               cpu0: cpu@0 {
+                       cpu-supply = <&cpu_vdd_reg>;
+                       operating-points-v2 = <&cpu0_opp_table>;
+               };
+
+               cpu@1 {
+                       cpu-supply = <&cpu_vdd_reg>;
+                       operating-points-v2 = <&cpu0_opp_table>;
+               };
+       };
 };