ARM: sun5i: chip: Add CPU regulator for cpufreq
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 25 Nov 2015 15:39:04 +0000 (16:39 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 24 Jan 2016 23:01:21 +0000 (00:01 +0100)
The current DT doesn't have a phandle to the CPU regulator in the CPU node,
which disables the CPU voltage scaling entirely.

Add that phandle.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun5i-r8-chip.dts

index 530ab28..f6898c6 100644 (file)
        status = "okay";
 };
 
+&cpu0 {
+       cpu-supply = <&reg_dcdc2>;
+};
+
 &ehci0 {
        status = "okay";
 };