xref: /freebsd/sys/contrib/device-tree/Bindings/timer/rda,8810pl-timer.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotRDA Micro RDA8810PL Timer
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible      :  "rda,8810pl-timer"
5*c66ec88fSEmmanuel Vadot- reg             :  Offset and length of the register set for the device.
6*c66ec88fSEmmanuel Vadot- interrupts      :  Should contain two interrupts.
7*c66ec88fSEmmanuel Vadot- interrupt-names :  Should be "hwtimer", "ostimer".
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotExample:
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot		apb@20900000 {
12*c66ec88fSEmmanuel Vadot			compatible = "simple-bus";
13*c66ec88fSEmmanuel Vadot			...
14*c66ec88fSEmmanuel Vadot			timer@10000 {
15*c66ec88fSEmmanuel Vadot				compatible = "rda,8810pl-timer";
16*c66ec88fSEmmanuel Vadot				reg = <0x10000 0x1000>;
17*c66ec88fSEmmanuel Vadot				interrupts = <16 IRQ_TYPE_LEVEL_HIGH>,
18*c66ec88fSEmmanuel Vadot					     <17 IRQ_TYPE_LEVEL_HIGH>;
19*c66ec88fSEmmanuel Vadot				interrupt-names = "hwtimer", "ostimer";
20*c66ec88fSEmmanuel Vadot			};
21