diff options
author | Markus Reichl <m.reichl@fivetechno.de> | 2015-05-03 18:34:29 +0200 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:50:28 +0900 |
commit | 7ebb5bbf72681701f8afa3b46cd17b31161f980e (patch) | |
tree | c3b9e66e4074e0ee5651dbc6a47602b4b73c8378 | |
parent | a7d3357fd4fb75fc2694341de65f8758943c0bba (diff) |
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.
Change-Id: Ie197965fb99f980deffddb96821f4c8a00bf69b8
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>
-rw-r--r-- | arch/arm/boot/dts/exynos5422-odroidxu3.dts | 11 |
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 3eaaf6b26ef5..8d789ebc484d 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/sound/samsung-i2s.h> #include "exynos5800.dtsi" @@ -327,10 +328,6 @@ }; }; - rtc@101E0000 { - status = "okay"; - }; - pwm-fan { compatible = "pwm-fan"; status = "okay"; @@ -570,3 +567,9 @@ samsung,pin-pud = <0>; }; }; + +&rtc { + status = "okay"; + clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>; + clock-names = "rtc", "rtc_src"; +}; |