GNU Linux-libre 4.19.264-gnu1
[releases.git] / Documentation / devicetree / bindings / timer / rockchip,rk-timer.txt
1 Rockchip rk timer
2
3 Required properties:
4 - compatible: should be:
5   "rockchip,rk3036-timer", "rockchip,rk3288-timer": for Rockchip RK3036
6   "rockchip,rk3066-timer", "rockchip,rk3288-timer": for Rockchip RK3066
7   "rockchip,rk3188-timer", "rockchip,rk3288-timer": for Rockchip RK3188
8   "rockchip,rk3228-timer", "rockchip,rk3288-timer": for Rockchip RK3228
9   "rockchip,rk3229-timer", "rockchip,rk3288-timer": for Rockchip RK3229
10   "rockchip,rk3288-timer": for Rockchip RK3288
11   "rockchip,rk3368-timer", "rockchip,rk3288-timer": for Rockchip RK3368
12   "rockchip,rk3399-timer": for Rockchip RK3399
13 - reg: base address of the timer register starting with TIMERS CONTROL register
14 - interrupts: should contain the interrupts for Timer0
15 - clocks : must contain an entry for each entry in clock-names
16 - clock-names : must include the following entries:
17   "timer", "pclk"
18
19 Example:
20         timer: timer@ff810000 {
21                 compatible = "rockchip,rk3288-timer";
22                 reg = <0xff810000 0x20>;
23                 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
24                 clocks = <&xin24m>, <&cru PCLK_TIMER>;
25                 clock-names = "timer", "pclk";
26         };