.. | .. |
---|
4 | 4 | |
---|
5 | 5 | - compatible : should be "amlogic,meson6-timer" |
---|
6 | 6 | - reg : Specifies base physical address and size of the registers. |
---|
7 | | -- interrupts : The interrupt of the first timer |
---|
| 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" |
---|
8 | 10 | |
---|
9 | 11 | Example: |
---|
10 | 12 | |
---|
11 | 13 | timer@c1109940 { |
---|
12 | 14 | compatible = "amlogic,meson6-timer"; |
---|
13 | 15 | reg = <0xc1109940 0x14>; |
---|
14 | | - interrupts = <0 10 1>; |
---|
| 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"; |
---|
15 | 22 | }; |
---|