xref: /freebsd/sys/contrib/device-tree/Bindings/timer/amlogic,meson6-timer.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotAmlogic Meson6 SoCs Timer Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible : should be "amlogic,meson6-timer"
6*c66ec88fSEmmanuel Vadot- reg : Specifies base physical address and size of the registers.
7*c66ec88fSEmmanuel Vadot- interrupts : The four interrupts, one for each timer event
8*c66ec88fSEmmanuel Vadot- clocks : phandles to the pclk (system clock) and XTAL clocks
9*c66ec88fSEmmanuel Vadot- clock-names : must contain "pclk" and "xtal"
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotExample:
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadottimer@c1109940 {
14*c66ec88fSEmmanuel Vadot	compatible = "amlogic,meson6-timer";
15*c66ec88fSEmmanuel Vadot	reg = <0xc1109940 0x14>;
16*c66ec88fSEmmanuel Vadot	interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
17*c66ec88fSEmmanuel Vadot		     <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,
18*c66ec88fSEmmanuel Vadot		     <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>,
19*c66ec88fSEmmanuel Vadot		     <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
20*c66ec88fSEmmanuel Vadot	clocks = <&xtal>, <&clk81>;
21*c66ec88fSEmmanuel Vadot	clock-names = "xtal", "pclk";
22*c66ec88fSEmmanuel Vadot};
23