summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am335x-bone-common.dtsi
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2016-10-27 08:48:06 +0300
committerTony Lindgren <tony@atomide.com>2016-11-10 01:46:29 +0300
commit17fad5f3ab61210fb9a7b43decae275e01968a63 (patch)
tree151f6e63302ceb9301feefc9b15bf64ce2b6c0d6 /arch/arm/boot/dts/am335x-bone-common.dtsi
parenteae3339f23f41162fc9600dd3caa9d3049c572d2 (diff)
downloadlinux-17fad5f3ab61210fb9a7b43decae275e01968a63.tar.xz
ARM: dts: AM335X-bone-common: 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>
Diffstat (limited to 'arch/arm/boot/dts/am335x-bone-common.dtsi')
-rw-r--r--arch/arm/boot/dts/am335x-bone-common.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 0c0a90c30afa..dc561d505bbe 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -410,3 +410,8 @@
&sham {
status = "okay";
};
+
+&rtc {
+ clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
+ clock-names = "ext-clk", "int-clk";
+};