diff options
author | Keerthy <j-keerthy@ti.com> | 2016-10-27 07:48:06 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-11-09 23:46:29 +0100 |
commit | 17fad5f3ab61210fb9a7b43decae275e01968a63 (patch) | |
tree | 151f6e63302ceb9301feefc9b15bf64ce2b6c0d6 | |
parent | ARM: dts: am335x-baltos-ir5221: use both musb channels in host mode (diff) | |
download | linux-17fad5f3ab61210fb9a7b43decae275e01968a63.tar.xz linux-17fad5f3ab61210fb9a7b43decae275e01968a63.zip |
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>
-rw-r--r-- | arch/arm/boot/dts/am335x-bone-common.dtsi | 5 | ||||
-rw-r--r-- | arch/arm/boot/dts/am33xx.dtsi | 2 |
2 files changed, 7 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"; +}; diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 348ed77a355a..104bea434e81 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -505,6 +505,8 @@ interrupts = <75 76>; ti,hwmods = "rtc"; + clocks = <&clkdiv32k_ick>; + clock-names = "int-clk"; }; spi0: spi@48030000 { |