Commit | Line | Data |
---|---|---|
85889876 | 1 | Rockchip rk timer |
468b8c4c DL |
2 | |
3 | Required properties: | |
85889876 HT |
4 | - compatible: shall be one of: |
5 | "rockchip,rk3288-timer" - for rk3066, rk3036, rk3188, rk322x, rk3288, rk3368 | |
6 | "rockchip,rk3399-timer" - for rk3399 | |
468b8c4c DL |
7 | - reg: base address of the timer register starting with TIMERS CONTROL register |
8 | - interrupts: should contain the interrupts for Timer0 | |
9 | - clocks : must contain an entry for each entry in clock-names | |
10 | - clock-names : must include the following entries: | |
11 | "timer", "pclk" | |
12 | ||
13 | Example: | |
14 | timer: timer@ff810000 { | |
15 | compatible = "rockchip,rk3288-timer"; | |
16 | reg = <0xff810000 0x20>; | |
17 | interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; | |
18 | clocks = <&xin24m>, <&cru PCLK_TIMER>; | |
19 | clock-names = "timer", "pclk"; | |
20 | }; |