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