arm64: dts: Fix RTC by providing rtc_src clock
authorAlim Akhtar <alim.akhtar@samsung.com>
Tue, 5 Jul 2016 10:05:07 +0000 (15:35 +0530)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 6 Jul 2016 06:20:50 +0000 (08:20 +0200)
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>
arch/arm64/boot/dts/exynos/exynos7-espresso.dts

index d8767b00862e1111bb5624a49f39dacb06e5cca9..14cd3a14fb7c9da29edc88a3af9a849ed178cd25 100644 (file)
@@ -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 {
This page took 0.026796 seconds and 5 git commands to generate.