arm64: dts: ti: k3-j784s4: Add general purpose timers
authorNishanth Menon <nm@ti.com>
Wed, 31 May 2023 21:32:14 +0000 (16:32 -0500)
committerVignesh Raghavendra <vigneshr@ti.com>
Thu, 15 Jun 2023 05:35:47 +0000 (11:05 +0530)
commit833377cf858b24d45e658454bcb683dd9076b576
treed09c6a7b28246f150100ae3c703ecd90a2208479
parent1ecc75be7bc522941261b5eb0c315b09098a47f4
arm64: dts: ti: k3-j784s4: Add general purpose timers

There are 20 general purpose timers on j784s4 that can be used for
things like PWM using pwm-omap-dmtimer driver. There are also
additional ten timers in the MCU domain which are meant for MCU
firmware usage and hence marked reserved by default.

Though the count is similar to J721e/J7200/j721s2, the device IDs
and clocks used in j784s4 are different with the option of certain
clocks having options of additional clock muxes. Since there is very
minimal reuse, it is cleaner to integrate as part of SoC files itself.
The defaults are configured for clocking the timers from system
clock(HFOSC0).

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20230531213215.602395-6-nm@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi