ARM: dts: omap5-uevm: Add system timers to DSP and IPU
authorSuman Anna <s-anna@ti.com>
Thu, 9 Jul 2020 23:19:52 +0000 (18:19 -0500)
committerTony Lindgren <tony@atomide.com>
Mon, 13 Jul 2020 18:11:42 +0000 (11:11 -0700)
The BIOS System Tick timers have been added for the IPU and DSP
remoteproc devices for the OMAP5 uEVM boards. The following timers
(same as the timers on OMAP4 Panda boards) are chosen:
        IPU : GPT3 (SMP-mode)
        DSP : GPT5

IPU has two Cortex-M4 processors, and is currently expected to be
running in SMP-mode, so only a single timer suffices to provide
the BIOS tick timer. An additional timer should be added for the
second processor in IPU if it were to be run in non-SMP mode. The
timer value also needs to be unique from the ones used by other
processors so that they can be run simultaneously.

The timers are optional, but are mandatory to support device
management features such as power management and watchdog support.
The above are added to successfully boot and execute firmware images
configured with the respective timers, images that use internal
processor subsystem timers are not affected. The timers can be
changed or removed as per the system integration needs, alongside
equivalent changes on the firmware side.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap5-uevm.dts

index 251885656697d6f6005638610d391feb5ffe7582..bb016419ef61096e34a3e44308a625ca3b693ef0 100644 (file)
 &dsp {
        status = "okay";
        memory-region = <&dsp_memory_region>;
+       ti,timers = <&timer5>;
 };
 
 &ipu {
        status = "okay";
        memory-region = <&ipu_memory_region>;
+       ti,timers = <&timer3>;
 };