From 063681e77eb7a9174583b6f09d373ee1bc56d2ab Mon Sep 17 00:00:00 2001 From: Caesar Wang Date: Wed, 1 Nov 2017 18:35:30 +0800 Subject: [PATCH] ARM: dts: rk3036: fixes the cpu voltage and opp table for kylin This patch supported the cpu voltage by changed with different frequency, otherwise we will hit the following error on bootup. .. [ 5.031516] cpu cpu0: Failed to get cpu_reg [ 5.047725] cpu cpu0: clk or regulater is unavailable .. Also, remove the 408M and 600M for rk3036 board, as the pclk_hdmi's parent on apll, the low frequency will make the pclk be bad for hdmi display. Change-Id: Ia4aac76a08cad3a59c33cd81065f943201a23a35 Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3036-kylin.dts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rk3036-kylin.dts b/arch/arm/boot/dts/rk3036-kylin.dts index afaada44843b..23ab645302f3 100644 --- a/arch/arm/boot/dts/rk3036-kylin.dts +++ b/arch/arm/boot/dts/rk3036-kylin.dts @@ -118,6 +118,15 @@ status = "okay"; }; +&cpu0 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu0_opp_table { + /delete-node/ opp-408000000; + /delete-node/ opp-600000000; +}; + &emac { pinctrl-names = "default"; pinctrl-0 = <&emac_xfer>, <&emac_mdio>; @@ -185,8 +194,8 @@ vdd_cpu: DCDC_REG1 { regulator-always-on; regulator-boot-on; - regulator-min-microvolt = <1250000>; - regulator-max-microvolt = <1250000>; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1350000>; regulator-name = "vdd_arm"; regulator-state-mem { regulator-off-in-suspend;