From: Keerthy Date: Thu, 27 Oct 2016 05:48:08 +0000 (+0530) Subject: ARM: dts: AM335X-evmsk: Add the internal and external clock nodes for rtc X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3fb5c894f6db642d970403fe55055c0425f9fac9;p=linux-beck.git 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 Signed-off-by: Tony Lindgren --- 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"; +};