From c4c4cce1901de9b44c23bc3f3d72cf5744ca2630 Mon Sep 17 00:00:00 2001
From: Imre Kaloz <kaloz@openwrt.org>
Date: Tue, 19 May 2015 22:54:05 +0000
Subject: [PATCH] mvebu: supress useless in-cpu rtc init on the Mamba

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45704
---
 .../mvebu/patches-3.18/004-mamba_disable_rtc.patch | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 target/linux/mvebu/patches-3.18/004-mamba_disable_rtc.patch

diff --git a/target/linux/mvebu/patches-3.18/004-mamba_disable_rtc.patch b/target/linux/mvebu/patches-3.18/004-mamba_disable_rtc.patch
new file mode 100644
index 0000000000..925bab0386
--- /dev/null
+++ b/target/linux/mvebu/patches-3.18/004-mamba_disable_rtc.patch
@@ -0,0 +1,14 @@
+--- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
++++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
+@@ -183,6 +183,11 @@
+ 
+ 		internal-regs {
+ 
++			rtc@10300 {
++				/* No crystal connected to the internal RTC */
++				status = "disabled";
++			};
++
+ 			/* J10: VCC, NC, RX, NC, TX, GND  */
+ 			serial@12000 {
+ 				status = "okay";
-- 
GitLab