[PATCH 2/2] ARM: dts: imx6q-cubox-i: Disable the internal RTC

Fabio Estevam festevam at gmail.com
Tue Apr 28 19:59:27 PDT 2015


From: Fabio Estevam <fabio.estevam at freescale.com>

The internal SNVS RTC on imx6q-cubox-i is not battery backed and there
is a PCF8523 that is battery backed on CuBox-i2eX and CuBox-i4Pro models.

Disable the internal RTC in favour of the battery backed one, so that
we can have a valid clock setting right after boot.

Reported-by: Rick Thomas <rbthomas at cube.rcthomas.org>
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
 arch/arm/boot/dts/imx6q-cubox-i.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/imx6q-cubox-i.dts b/arch/arm/boot/dts/imx6q-cubox-i.dts
index 670bd8c..cff041a 100644
--- a/arch/arm/boot/dts/imx6q-cubox-i.dts
+++ b/arch/arm/boot/dts/imx6q-cubox-i.dts
@@ -56,3 +56,7 @@
 	fsl,transmit-atten-16ths = <9>;
 	fsl,no-spread-spectrum;
 };
+
+&snvs_rtc {
+	status = "disabled";
+};
-- 
1.9.1




More information about the linux-arm-kernel mailing list