xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rtc/rtc-rk-timer.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Rockchip rk timer RTC
2
3Required properties:
4- compatible: should be:
5  "rockchip,rk3308-timer-rtc": for Rockchip RK3308
6- reg: base address of the timer register and length of memory mapped region.
7- interrupts: should contain the interrupts for the timer
8- clocks : must contain an entry for each entry in clock-names
9- clock-names : must include the following entries:
10  "timer", "pclk"
11
12Example:
13	rk_timer_rtc: rk-timer-rtc@ff1a0020 {
14		compatible = "rockchip,rk3308-timer-rtc";
15		reg = <0x0 0xff1a0020 0x0 0x20>;
16		interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
17		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER1>;
18		clock-names = "pclk", "timer";
19	};
20