@@ -159,6 +159,12 @@
clock-frequency = <32768>;
};
+ clk_32k_rtc: clk_32k_rtc {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <32768>;
+ };
+
clk_rc32k_ck: clk_rc32k_ck {
#clock-cells = <0>;
compatible = "fixed-clock";
@@ -22,6 +22,7 @@
static struct ti_dt_clk am43xx_clks[] = {
DT_CLK(NULL, "clk_32768_ck", "clk_32768_ck"),
DT_CLK(NULL, "clk_rc32k_ck", "clk_rc32k_ck"),
+ DT_CLK(NULL, "clk_32k_rtc", "clk_32k_rtc"),
DT_CLK(NULL, "virt_19200000_ck", "virt_19200000_ck"),
DT_CLK(NULL, "virt_24000000_ck", "virt_24000000_ck"),
DT_CLK(NULL, "virt_25000000_ck", "virt_25000000_ck"),
Add the clk_32k_rtc this is the external clock source for the rtc. Signed-off-by: Keerthy <j-keerthy@ti.com> --- arch/arm/boot/dts/am43xx-clocks.dtsi | 6 ++++++ drivers/clk/ti/clk-43xx.c | 1 + 2 files changed, 7 insertions(+)