• Tony Lindgren's avatar
    arm64: dts: ti: k3-am65: Add general purpose timers for am65 · cdbaf880
    Tony Lindgren authored
    There are 12 general purpose timers on am65 that can be used for things
    like PWM using pwm-omap-dmtimer driver. There are also additional four
    timers in the MCU domain that do not have interrupts routable for Linux.
    
    We configure the timers with the 25 MHz input clock by default as the
    32.768 kHz clock may not be wired on the device. We leave the MCU domain
    timers clock mux unconfigured, and mark the MCU domain timers reserved.
    The MCU domain timers are likely reserved by the software for the ESM
    module.
    
    Compared to am64, the timer clocks are different on am65. And the MCU
    timers are at a different IO address. Then j72 adds more timers compared
    to am65 with a total of 30 timers. And the j72 clocks are different.
    
    To avoid duplication for dtsi files, eventually we may want to consider
    adding timer specific shared dtsi files with the timer clocks mapped
    using SoC specific files in include/dt-bindings/clock. But let's get
    am65 timers usable first.
    
    Cc: Keerthy <j-keerthy@ti.com>
    Cc: Nishanth Menon <nm@ti.com>
    Cc: Vignesh Raghavendra <vigneshr@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    Signed-off-by: default avatarNishanth Menon <nm@ti.com>
    Link: https://lore.kernel.org/r/20221115154842.7755-3-tony@atomide.com
    cdbaf880
k3-am65-main.dtsi 42.2 KB