18c2ecf20Sopenharmony_ciOMAP Timer bindings 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: Should be set to one of the below. Please note that 58c2ecf20Sopenharmony_ci OMAP44xx devices have timer instances that are 100% 68c2ecf20Sopenharmony_ci register compatible with OMAP3xxx devices as well as 78c2ecf20Sopenharmony_ci newer timers that are not 100% register compatible. 88c2ecf20Sopenharmony_ci So for OMAP44xx devices timer instances may use 98c2ecf20Sopenharmony_ci different compatible strings. 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci ti,omap2420-timer (applicable to OMAP24xx devices) 128c2ecf20Sopenharmony_ci ti,omap3430-timer (applicable to OMAP3xxx/44xx devices) 138c2ecf20Sopenharmony_ci ti,omap4430-timer (applicable to OMAP44xx devices) 148c2ecf20Sopenharmony_ci ti,omap5430-timer (applicable to OMAP543x devices) 158c2ecf20Sopenharmony_ci ti,am335x-timer (applicable to AM335x devices) 168c2ecf20Sopenharmony_ci ti,am335x-timer-1ms (applicable to AM335x devices) 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci- reg: Contains timer register address range (base address and 198c2ecf20Sopenharmony_ci length). 208c2ecf20Sopenharmony_ci- interrupts: Contains the interrupt information for the timer. The 218c2ecf20Sopenharmony_ci format is being dependent on which interrupt controller 228c2ecf20Sopenharmony_ci the OMAP device uses. 238c2ecf20Sopenharmony_ci- ti,hwmods: Name of the hwmod associated to the timer, "timer<X>", 248c2ecf20Sopenharmony_ci where <X> is the instance number of the timer from the 258c2ecf20Sopenharmony_ci HW spec. 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciOptional properties: 288c2ecf20Sopenharmony_ci- ti,timer-alwon: Indicates the timer is in an alway-on power domain. 298c2ecf20Sopenharmony_ci- ti,timer-dsp: Indicates the timer can interrupt the on-chip DSP in 308c2ecf20Sopenharmony_ci addition to the ARM CPU. 318c2ecf20Sopenharmony_ci- ti,timer-pwm: Indicates the timer can generate a PWM output. 328c2ecf20Sopenharmony_ci- ti,timer-secure: Indicates the timer is reserved on a secure OMAP device 338c2ecf20Sopenharmony_ci and therefore cannot be used by the kernel. 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ciExample: 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_citimer12: timer@48304000 { 388c2ecf20Sopenharmony_ci compatible = "ti,omap3430-timer"; 398c2ecf20Sopenharmony_ci reg = <0x48304000 0x400>; 408c2ecf20Sopenharmony_ci interrupts = <95>; 418c2ecf20Sopenharmony_ci ti,hwmods = "timer12" 428c2ecf20Sopenharmony_ci ti,timer-alwon; 438c2ecf20Sopenharmony_ci ti,timer-secure; 448c2ecf20Sopenharmony_ci}; 45