xref: /freebsd/sys/contrib/device-tree/Bindings/timer/ti,timer.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotOMAP Timer bindings
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible:		Should be set to one of the below. Please note that
5*c66ec88fSEmmanuel Vadot			OMAP44xx devices have timer instances that are 100%
6*c66ec88fSEmmanuel Vadot			register compatible with OMAP3xxx devices as well as
7*c66ec88fSEmmanuel Vadot			newer timers that are not 100% register compatible.
8*c66ec88fSEmmanuel Vadot			So for OMAP44xx devices timer instances may use
9*c66ec88fSEmmanuel Vadot			different compatible strings.
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot			ti,omap2420-timer (applicable to OMAP24xx devices)
12*c66ec88fSEmmanuel Vadot			ti,omap3430-timer (applicable to OMAP3xxx/44xx devices)
13*c66ec88fSEmmanuel Vadot			ti,omap4430-timer (applicable to OMAP44xx devices)
14*c66ec88fSEmmanuel Vadot			ti,omap5430-timer (applicable to OMAP543x devices)
15*c66ec88fSEmmanuel Vadot			ti,am335x-timer	(applicable to AM335x devices)
16*c66ec88fSEmmanuel Vadot			ti,am335x-timer-1ms (applicable to AM335x devices)
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot- reg:			Contains timer register address range (base address and
19*c66ec88fSEmmanuel Vadot			length).
20*c66ec88fSEmmanuel Vadot- interrupts: 		Contains the interrupt information for the timer. The
21*c66ec88fSEmmanuel Vadot			format is being dependent on which interrupt controller
22*c66ec88fSEmmanuel Vadot			the OMAP device uses.
23*c66ec88fSEmmanuel Vadot- ti,hwmods:		Name of the hwmod associated to the timer, "timer<X>",
24*c66ec88fSEmmanuel Vadot			where <X> is the instance number of the timer from the
25*c66ec88fSEmmanuel Vadot			HW spec.
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel VadotOptional properties:
28*c66ec88fSEmmanuel Vadot- ti,timer-alwon:	Indicates the timer is in an alway-on power domain.
29*c66ec88fSEmmanuel Vadot- ti,timer-dsp:		Indicates the timer can interrupt the on-chip DSP in
30*c66ec88fSEmmanuel Vadot			addition to the ARM CPU.
31*c66ec88fSEmmanuel Vadot- ti,timer-pwm: 	Indicates the timer can generate a PWM output.
32*c66ec88fSEmmanuel Vadot- ti,timer-secure: 	Indicates the timer is reserved on a secure OMAP device
33*c66ec88fSEmmanuel Vadot			and therefore cannot be used by the kernel.
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel VadotExample:
36*c66ec88fSEmmanuel Vadot
37*c66ec88fSEmmanuel Vadottimer12: timer@48304000 {
38*c66ec88fSEmmanuel Vadot	compatible = "ti,omap3430-timer";
39*c66ec88fSEmmanuel Vadot	reg = <0x48304000 0x400>;
40*c66ec88fSEmmanuel Vadot	interrupts = <95>;
41*c66ec88fSEmmanuel Vadot	ti,hwmods = "timer12"
42*c66ec88fSEmmanuel Vadot	ti,timer-alwon;
43*c66ec88fSEmmanuel Vadot	ti,timer-secure;
44*c66ec88fSEmmanuel Vadot};
45