From 1e9f747400f5b061bb088a41c4616342a14fb976 Mon Sep 17 00:00:00 2001 From: Dave Gerlach Date: Wed, 5 Aug 2015 16:19:46 +0530 Subject: [PATCH] ARM: dts: am437x-gp-evm: Add regulator-always-on and regulator-boot-on for RTC DCDCs DCDC5 and DCDC6 supply rtc and need to be on for accessing the module. On A1 revision of the TPS65218, FSEAL bit would be undefined without coin-cell present which in many cases led to it being set, causing DCDC5 and DCDC6 to stay active, but also leading to unexplained failures when it was not. On B1 revision, FSEAL is always 0 when no coin-cell is present so this patch is required on boards with B1 revision to ever work. This implementation works on boards with either A1 or B1 revision and makes sure that DCDC5 and DCDC6 always stay active. Signed-off-by: Dave Gerlach Signed-off-by: Keerthy Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/am437x-gp-evm.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index c7423ed25fd9..215775dc6948 100644 --- a/arch/arm/boot/dts/am437x-gp-evm.dts +++ b/arch/arm/boot/dts/am437x-gp-evm.dts @@ -522,6 +522,8 @@ dcdc5: regulator-dcdc5 { regulator-name = "v1_0bat"; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; + regulator-boot-on; + regulator-always-on; }; dcdc6: regulator-dcdc6 { @@ -529,6 +531,8 @@ dcdc6: regulator-dcdc6 { regulator-name = "v1_8bat"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; }; ldo1: regulator-ldo1 {