xref: /freebsd/sys/contrib/device-tree/Bindings/timer/nxp,lpc3220-timer.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* NXP LPC3220 timer
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe NXP LPC3220 timer is used on a wide range of NXP SoCs. This
4*c66ec88fSEmmanuel Vadotincludes LPC32xx, LPC178x, LPC18xx and LPC43xx parts.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot- compatible:
8*c66ec88fSEmmanuel Vadot	Should be "nxp,lpc3220-timer".
9*c66ec88fSEmmanuel Vadot- reg:
10*c66ec88fSEmmanuel Vadot	Address and length of the register set.
11*c66ec88fSEmmanuel Vadot- interrupts:
12*c66ec88fSEmmanuel Vadot	Reference to the timer interrupt
13*c66ec88fSEmmanuel Vadot- clocks:
14*c66ec88fSEmmanuel Vadot	Should contain a reference to timer clock.
15*c66ec88fSEmmanuel Vadot- clock-names:
16*c66ec88fSEmmanuel Vadot	Should contain "timerclk".
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadottimer1: timer@40085000 {
21*c66ec88fSEmmanuel Vadot	compatible = "nxp,lpc3220-timer";
22*c66ec88fSEmmanuel Vadot	reg = <0x40085000 0x1000>;
23*c66ec88fSEmmanuel Vadot	interrupts = <13>;
24*c66ec88fSEmmanuel Vadot	clocks = <&ccu1 CLK_CPU_TIMER1>;
25*c66ec88fSEmmanuel Vadot	clock-names = "timerclk";
26*c66ec88fSEmmanuel Vadot};
27