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 11:11:17 +0000 (13:11 +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/am4372.dtsi

index 7fef5d6d5dce26cefd8271d8dc4efafd4fffd837..43e7d3ea2d937713165bcf5b1c17dce0836d4a1a 100644 (file)
 &timer1_target {
        ti,no-reset-on-init;
        ti,no-idle;
+       clocks = <&l4_wkup_clkctrl AM4_L4_WKUP_TIMER1_CLKCTRL 0>,
+                <&l4_wkup_clkctrl AM4_L4_WKUP_L4_WKUP_CLKCTRL 0>;
+       clock-names = "fck", "ick";
        timer@0 {
                assigned-clocks = <&timer1_fck>;
                assigned-clock-parents = <&sys_clkin_ck>;
 &timer2_target {
        ti,no-reset-on-init;
        ti,no-idle;
+       clocks = <&l4ls_clkctrl AM4_L4LS_TIMER2_CLKCTRL 0>,
+                <&l4ls_clkctrl AM4_L4LS_L4_LS_CLKCTRL 0>;
+       clock-names = "fck", "ick";
        timer@0 {
                assigned-clocks = <&timer2_fck>;
                assigned-clock-parents = <&sys_clkin_ck>;