ARM: dts: Use define for s3c-rtc clock id for exynos3250-rinato
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 30 Mar 2015 15:15:52 +0000 (17:15 +0200)
committerKukjin Kim <kgene@kernel.org>
Sun, 17 May 2015 01:51:52 +0000 (10:51 +0900)
Use a define instead of raw number as a ID for "rtc_src" clock.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos3250-rinato.dts

index 0b9906880c0c76546a5704d289a6dafda7a30b43..898dd26b8c505353d1ab8f7ae4f59a9dcba069b4 100644 (file)
@@ -16,6 +16,7 @@
 #include "exynos3250.dtsi"
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/clock/samsung,s2mps11.h>
 
 / {
        model = "Samsung Rinato board";
 };
 
 &rtc {
-       clocks = <&cmu CLK_RTC>, <&s2mps14_osc 0>;
+       clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
        clock-names = "rtc", "rtc_src";
        status = "okay";
 };