summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2016-10-27 08:48:07 +0300
committerTony Lindgren <tony@atomide.com>2016-11-10 01:46:33 +0300
commit542a7707ce8c153872ccfbbfe288176552664276 (patch)
treeebb75842fd31ab52dc6278baaa4b4e1bd4413542
parent17fad5f3ab61210fb9a7b43decae275e01968a63 (diff)
downloadlinux-542a7707ce8c153872ccfbbfe288176552664276.tar.xz
ARM: dts: AM335X-evm: 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-evm.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index e82432c79f85..c2186ec2834b 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -783,3 +783,8 @@
pinctrl-names = "default";
pinctrl-0 = <&dcan1_pins_default>;
};
+
+&rtc {
+ clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
+ clock-names = "ext-clk", "int-clk";
+};