summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am437x-idk-evm.dts
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2015-08-18 15:11:14 +0530
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-09-05 19:37:20 +0200
commitfff51e771eafc3b4fa6daf1372fd4a4023bb402b (patch)
treeeeae766e6c347c400ccb2dd54c43d979bf10b466 /arch/arm/boot/dts/am437x-idk-evm.dts
parentff02c0444b83201ff76cc49deccac8cf2bffc7bc (diff)
ARM: dts: AM437x: 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. Adding the corresponding nodes. Signed-off-by: Keerthy <j-keerthy@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/am437x-idk-evm.dts')
-rw-r--r--arch/arm/boot/dts/am437x-idk-evm.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am437x-idk-evm.dts b/arch/arm/boot/dts/am437x-idk-evm.dts
index 378344271746..af25801418b4 100644
--- a/arch/arm/boot/dts/am437x-idk-evm.dts
+++ b/arch/arm/boot/dts/am437x-idk-evm.dts
@@ -110,6 +110,13 @@
gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
};
};
+
+ /* fixed 32k external oscillator clock */
+ clk_32k_rtc: clk_32k_rtc {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <32768>;
+ };
};
&am43xx_pinmux {
@@ -394,6 +401,8 @@
};
&rtc {
+ clocks = <&clk_32k_rtc>, <&clk_32768_ck>;
+ clock-names = "ext-clk", "int-clk";
status = "okay";
};