summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMarkus Reichl <m.reichl@fivetechno.de>2015-05-03 18:34:29 +0200
committerKukjin Kim <kgene@kernel.org>2015-05-17 03:51:24 +0200
commit4edf606cd633d0f6e24785231ad7396b29372ba0 (patch)
treee26f5514e08e5cf473bdc7fd8cd73d955175bddc /arch
parentclk: samsung: Add bindings for 32kHz clocks from s2mps11 (diff)
downloadlinux-4edf606cd633d0f6e24785231ad7396b29372ba0.tar.xz
linux-4edf606cd633d0f6e24785231ad7396b29372ba0.zip
ARM: dts: add 'rtc_src' clock to rtc node for exynos5422-odroidxu3
The Exynos5422 SoC has a s3c6410 RTC where the source clock is now a mandatory property. This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards. Signed-off-by: Markus Reichl <m.reichl@fivetechno.de> Tested-by: Anand Moon <linux.amoon@gmail.com> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/exynos5422-odroidxu3.dts11
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
index f0ce60bebad8..23ed547fe706 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
@@ -11,6 +11,7 @@
*/
/dts-v1/;
+#include <dt-bindings/clock/samsung,s2mps11.h>
#include <dt-bindings/gpio/gpio.h>
#include "exynos5800.dtsi"
@@ -283,10 +284,6 @@
};
};
- rtc@101E0000 {
- status = "okay";
- };
-
leds {
compatible = "gpio-leds";
heartbeat {
@@ -415,3 +412,9 @@
shunt-resistor = <10000>;
};
};
+
+&rtc {
+ status = "okay";
+ clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
+ clock-names = "rtc", "rtc_src";
+};