ARM: dts: Configure also interconnect clocks for am4 system timer
authorTony Lindgren <tony@atomide.com>
Mon, 16 Nov 2020 10:57:13 +0000 (12:57 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 16 Nov 2020 10:57:45 +0000 (12:57 +0200)
We now manage clocksource and clockevent clocks directly with
timer-ti-dm-systimer. In order to use genpd with prm_omap,
GENPD_FLAG_PM_CLK and simple-pm-bus, we need to keep the system
timer related interconnect clocks enabled until clocksource suspend
is done.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am33xx.dtsi

index 8214feae0173509ce397dad8617d8f74c28c7887..c777a865b5d29c87cdbe06f2e3be51acc07bbda8 100644 (file)
 
 /* Preferred always-on timer for clocksource */
 &timer1_target {
+       clocks = <&l4_wkup_clkctrl AM3_L4_WKUP_TIMER1_CLKCTRL 0>,
+                <&l4_wkup_clkctrl AM3_L4_WKUP_L4_WKUP_CLKCTRL 0>;
+       clock-names = "fck", "ick";
        ti,no-reset-on-init;
        ti,no-idle;
        timer@0 {
 
 /* Preferred timer for clockevent */
 &timer2_target {
+       clocks = <&l4ls_clkctrl AM3_L4LS_TIMER2_CLKCTRL 0>,
+                <&l4ls_clkctrl AM3_L4LS_L4_LS_CLKCTRL 0>;
+       clock-names = "fck", "ick";
        ti,no-reset-on-init;
        ti,no-idle;
        timer@0 {