aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlim Akhtar <alim.akhtar@samsung.com>2016-07-11 09:34:18 +0200
committerOlof Johansson <olof@lixom.net>2016-08-02 12:27:11 -0700
commit1fabaddd153e9e2f7e5695266abb56c934629718 (patch)
tree288d2fb79e83daa0bffa21786303c42a4879c4d6
parentf7b32e4c021fd788f13f6785e17efbc3eb05b351 (diff)
downloadlinux-stericsson-1fabaddd153e9e2f7e5695266abb56c934629718.tar.gz
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.dts3
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 @@
/dts-v1/;
#include "exynos7.dtsi"
#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/clock/samsung,s2mps11.h>
/ {
model = "Samsung Exynos7 Espresso board based on EXYNOS7";
@@ -43,6 +44,8 @@
&rtc {
status = "okay";
+ clocks = <&clock_ccore PCLK_RTC>, <&s2mps15_osc S2MPS11_CLK_AP>;
+ clock-names = "rtc", "rtc_src";
};
&watchdog {