]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/hwspinlock.git/commitdiff
ARM: dts: AM335X-evm: Add the internal and external clock nodes for rtc
authorKeerthy <j-keerthy@ti.com>
Thu, 27 Oct 2016 05:48:07 +0000 (11:18 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 9 Nov 2016 22:46:33 +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-evm.dts

index e82432c79f85f3a0a1d089cb3ba7a633e96bf9df..c2186ec2834b4c297197ba76708b29e24dca7023 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&dcan1_pins_default>;
 };
+
+&rtc {
+       clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
+       clock-names = "ext-clk", "int-clk";
+};