diff options
author | Alim Akhtar <alim.akhtar@samsung.com> | 2016-07-11 03:34:18 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2016-08-02 15:27:11 -0400 |
commit | 1fabaddd153e9e2f7e5695266abb56c934629718 (patch) | |
tree | 288d2fb79e83daa0bffa21786303c42a4879c4d6 | |
parent | f7b32e4c021fd788f13f6785e17efbc3eb05b351 (diff) |
arm64: dts: Fix RTC by providing rtc_src clock
Add RTC source clock as Exynos7 needs source (32.768KHz) clock
for RTC block. Without this currently S3C RTC driver probe is broken
on this SoC.
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts index 299f3ce969ab..c528dd52ba2d 100644 --- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts +++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts | |||
@@ -12,6 +12,7 @@ | |||
12 | /dts-v1/; | 12 | /dts-v1/; |
13 | #include "exynos7.dtsi" | 13 | #include "exynos7.dtsi" |
14 | #include <dt-bindings/interrupt-controller/irq.h> | 14 | #include <dt-bindings/interrupt-controller/irq.h> |
15 | #include <dt-bindings/clock/samsung,s2mps11.h> | ||
15 | 16 | ||
16 | / { | 17 | / { |
17 | model = "Samsung Exynos7 Espresso board based on EXYNOS7"; | 18 | model = "Samsung Exynos7 Espresso board based on EXYNOS7"; |
@@ -43,6 +44,8 @@ | |||
43 | 44 | ||
44 | &rtc { | 45 | &rtc { |
45 | status = "okay"; | 46 | status = "okay"; |
47 | clocks = <&clock_ccore PCLK_RTC>, <&s2mps15_osc S2MPS11_CLK_AP>; | ||
48 | clock-names = "rtc", "rtc_src"; | ||
46 | }; | 49 | }; |
47 | 50 | ||
48 | &watchdog { | 51 | &watchdog { |