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