Skip to contentSkip to conversation

ARM: dts: Re-organize RTC status for 5250

PATCH New Sachin Kamat 1 participant 1 message Dec 21, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: Re-organize RTC status for 5250

Some boards might not have RTC xtal, so RTC shouldn't really be enabled by default. Enable it in the required board files. For now enable it for all board files to maintain the enabled status exisitng prior to this patch.

---
 arch/arm/boot/dts/exynos5250-arndale.dts  |    4 ++++
 arch/arm/boot/dts/exynos5250-smdk5250.dts |    4 ++++
 arch/arm/boot/dts/exynos5250-snow.dts     |    4 ++++
 arch/arm/boot/dts/exynos5250.dtsi         |    2 +-
 4 files changed, 13 insertions(+), 1 deletion(-)
arch/arm/boot/dts/exynos5250-arndale.dts +4 -0
index b42e658..56c4078 100644
@@ -25,6 +25,10 @@
 		bootargs = "console=ttySAC2,115200";
 	};
 
+	rtc@101E0000 {
+		status = "okay";
+	};
+
 	codec@11000000 {
 		samsung,mfc-r = <0x43000000 0x800000>;
 		samsung,mfc-l = <0x51000000 0x800000>;
arch/arm/boot/dts/exynos5250-smdk5250.dts +4 -0
index 3e69837..0837dd8 100644
@@ -27,6 +27,10 @@
 		bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
 	};
 
+	rtc@101E0000 {
+		status = "okay";
+	};
+
 	i2c@12C60000 {
 		samsung,i2c-sda-delay = <100>;
 		samsung,i2c-max-bus-freq = <20000>;
arch/arm/boot/dts/exynos5250-snow.dts +4 -0
index 7e45eea..b13bf49 100644
@@ -20,6 +20,10 @@
 		i2c104 = &i2c_104;
 	};
 
+	rtc@101E0000 {
+		status = "okay";
+	};
+
 	pinctrl@11400000 {
 		sd3_clk: sd3-clk {
 			samsung,pin-drv = <0>;
arch/arm/boot/dts/exynos5250.dtsi +1 -1
index c341e55..077e531 100644
@@ -190,7 +190,7 @@
 	rtc@101E0000 {
 		clocks = <&clock 337>;
 		clock-names = "rtc";
-		status = "okay";
+		status = "disabled";
 	};
 
 	tmu@10060000 {
Signature · 1 line
1.7.9.5