diff mbox series

ARM: dts: exynos: Add missing clocks to RTC node for Arndale board

Message ID 20181109145940.18536-1-m.szyprowski@samsung.com
State New
Headers show
Series ARM: dts: exynos: Add missing clocks to RTC node for Arndale board | expand

Commit Message

Marek Szyprowski Nov. 9, 2018, 2:59 p.m. UTC
Add missing clocks to SoC build-in RTC device to make it fully
operational on Exynos5250-based Arndale board.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

---
 arch/arm/boot/dts/exynos5250-arndale.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

-- 
2.17.1

Comments

Krzysztof Kozlowski Nov. 12, 2018, 8:26 p.m. UTC | #1
On Fri, Nov 09, 2018 at 03:59:40PM +0100, Marek Szyprowski wrote:
> Add missing clocks to SoC build-in RTC device to make it fully

> operational on Exynos5250-based Arndale board.

> 

> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

> ---

>  arch/arm/boot/dts/exynos5250-arndale.dts | 9 +++++++++


Thanks, applied.

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts
index 7d1f2dc59038..e2e5b3f28686 100644
--- a/arch/arm/boot/dts/exynos5250-arndale.dts
+++ b/arch/arm/boot/dts/exynos5250-arndale.dts
@@ -10,6 +10,7 @@ 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/clock/samsung,s2mps11.h>
 #include "exynos5250.dtsi"
 
 / {
@@ -264,6 +265,12 @@ 
 		                             <&gpx2 4 GPIO_ACTIVE_HIGH>,
 		                             <&gpx2 5 GPIO_ACTIVE_HIGH>;
 
+		s5m8767_osc: clocks {
+			compatible = "samsung,s5m8767-clk";
+			#clock-cells = <1>;
+			clock-output-names = "s5m8767_ap", "unused1", "unused2";
+		};
+
 		regulators {
 			ldo1_reg: LDO1 {
 				regulator-name = "VDD_ALIVE_1.0V";
@@ -601,6 +608,8 @@ 
 };
 
 &rtc {
+	clocks = <&clock CLK_RTC>, <&s5m8767_osc S2MPS11_CLK_AP>;
+	clock-names = "rtc", "rtc_src";
 	status = "okay";
 };