summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2020-01-07 20:20:18 -0800
committerMaxime Ripard <maxime@cerno.tech>2020-01-13 16:54:53 +0800
commitac904843087bed19e702c507ab0250abf56d2625 (patch)
treea522dff402d42f92eb6c5505028f3e23c11fef5e /arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
parent51b3eaba8ad742ab72131ef436208312f0b70605 (diff)
downloadlinux-stable-ac904843087bed19e702c507ab0250abf56d2625.tar.gz
linux-stable-ac904843087bed19e702c507ab0250abf56d2625.tar.bz2
linux-stable-ac904843087bed19e702c507ab0250abf56d2625.zip
arm64: dts: allwinner: a64: enable DVFS
Add CPU regulator and operating points for all the A64-based boards that are currently supported to enable DVFS. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts')
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
index 421454c8add7..f5df5f705b72 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
@@ -5,6 +5,7 @@
/dts-v1/;
#include "sun50i-a64.dtsi"
+#include "sun50i-a64-cpu-opp.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
@@ -101,6 +102,22 @@
status = "okay";
};
+&cpu0 {
+ cpu-supply = <&reg_dcdc2>;
+};
+
+&cpu1 {
+ cpu-supply = <&reg_dcdc2>;
+};
+
+&cpu2 {
+ cpu-supply = <&reg_dcdc2>;
+};
+
+&cpu3 {
+ cpu-supply = <&reg_dcdc2>;
+};
+
&ehci1 {
status = "okay";
};