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

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

index 0d71925d4f0b654d49979fcba4764630f6af7c2c..9234988624ec125d4fa7024d7e1ad993b1decc9f 100644 (file)
@@ -2,6 +2,8 @@
 /dts-v1/;
 
 #include "tegra30-cardhu.dtsi"
+#include "tegra30-cpu-opp.dtsi"
+#include "tegra30-cpu-opp-microvolt.dtsi"
 
 /* This dts file support the cardhu A04 and later versions of board */
 
                        nvidia,tegra-core-regulator;
                };
        };
+
+       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>;
+               };
+       };
 };