summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2016-10-27 07:48:08 +0200
committerTony Lindgren <tony@atomide.com>2016-11-09 23:46:43 +0100
commit3fb5c894f6db642d970403fe55055c0425f9fac9 (patch)
tree89af5653e360d17baf4c8c69dec05293c645be0d
parentARM: dts: AM335X-evm: Add the internal and external clock nodes for rtc (diff)
downloadlinux-3fb5c894f6db642d970403fe55055c0425f9fac9.tar.xz
linux-3fb5c894f6db642d970403fe55055c0425f9fac9.zip
ARM: dts: AM335X-evmsk: Add the internal and external clock nodes for rtc
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>
-rw-r--r--arch/arm/boot/dts/am335x-evmsk.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 975c36e332a2..e2548d1ce753 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -715,3 +715,8 @@
blue-and-red-wiring = "crossed";
};
+
+&rtc {
+ clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
+ clock-names = "ext-clk", "int-clk";
+};