ARM: dts: AM335X-evmsk: Add the internal and external clock nodes for rtc
authorKeerthy <j-keerthy@ti.com>
Thu, 27 Oct 2016 05:48:08 +0000 (11:18 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 9 Nov 2016 22:46:43 +0000 (15:46 -0700)
rtc can either be supplied from internal 32k clock or external crystal
generated 32k clock. Internal clock is SoC specific and the external
clock is board dependent. Assigning the corresponding clocks.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-evmsk.dts

index 975c36e332a2583e778d3dc41390ed67577693c8..e2548d1ce753a659acbcdd72ef7d2af4d78afdbf 100644 (file)
 
        blue-and-red-wiring = "crossed";
 };
+
+&rtc {
+       clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
+       clock-names = "ext-clk", "int-clk";
+};