diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-05-02 08:40:08 +0300 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-05-17 04:51:59 +0300 |
commit | ce9940a9a4aec5f1cec2ba8b8dc8a9bbbabd54fe (patch) | |
tree | 4ce39af7ae426032194aef96bb69d8724cf8f10f /arch/arm/boot/dts/exynos4412-trats2.dts | |
parent | c5abf61999e337f166ee8382c11d9542514d772d (diff) | |
download | linux-ce9940a9a4aec5f1cec2ba8b8dc8a9bbbabd54fe.tar.xz |
ARM: dts: Enable S3C RTC on exynos4412-trats2 and exynos5420-arndale-octa
Extend the S3C RTC node with rtc_src clock so it could be operational.
The rtc_src clock is provided by MAX77686 (Trats2) or S2MPS11 (Arndale
Octa).
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-trats2.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-trats2.dts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 173ffa479ad3..c032cde11d5c 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -16,6 +16,7 @@ #include "exynos4412.dtsi" #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/irq.h> +#include <dt-bindings/clock/maxim,max77686.h> / { model = "Samsung Trats 2 based on Exynos4412"; @@ -214,7 +215,7 @@ pinctrl-names = "default"; status = "okay"; - max77686_pmic@09 { + max77686: max77686_pmic@09 { compatible = "maxim,max77686"; interrupt-parent = <&gpx0>; interrupts = <7 0>; @@ -1304,3 +1305,9 @@ PIN_SLP(gpv4-0, INPUT, DOWN); }; }; + +&rtc { + status = "okay"; + clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>; + clock-names = "rtc", "rtc_src"; +}; |