From: Markus Reichl Date: Sun, 3 May 2015 16:34:29 +0000 (+0200) Subject: ARM: dts: add 'rtc_src' clock to rtc node for exynos5422-odroidxu3 X-Git-Tag: v4.2-rc1~99^2~4^2~10 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4edf606cd633d0f6e24785231ad7396b29372ba0;p=karo-tx-linux.git 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 Tested-by: Anand Moon Reviewed-by: Chanwoo Choi Reviewed-by: Javier Martinez Canillas Signed-off-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- 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 #include #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"; +};