]>
Commit | Line | Data |
---|---|---|
39ce4084 TA |
1 | * Samsung's S3C Real Time Clock controller |
2 | ||
3 | Required properties: | |
4 | - compatible: should be one of the following. | |
5 | * "samsung,s3c2410-rtc" - for controllers compatible with s3c2410 rtc. | |
d67288da CC |
6 | * "samsung,s3c2416-rtc" - for controllers compatible with s3c2416 rtc. |
7 | * "samsung,s3c2443-rtc" - for controllers compatible with s3c2443 rtc. | |
39ce4084 | 8 | * "samsung,s3c6410-rtc" - for controllers compatible with s3c6410 rtc. |
062f49c4 KK |
9 | * "samsung,exynos3250-rtc" - (deprecated) for controllers compatible with |
10 | exynos3250 rtc (use "samsung,s3c6410-rtc"). | |
39ce4084 TA |
11 | - reg: physical base address of the controller and length of memory mapped |
12 | region. | |
13 | - interrupts: Two interrupt numbers to the cpu should be specified. First | |
f21ccfa0 | 14 | interrupt number is the rtc alarm interrupt and second interrupt number |
39ce4084 TA |
15 | is the rtc tick interrupt. The number of cells representing a interrupt |
16 | depends on the parent interrupt controller. | |
43f34082 JMC |
17 | - clocks: Must contain a list of phandle and clock specifier for the rtc |
18 | and source clocks. | |
19 | - clock-names: Must contain "rtc" and "rtc_src" entries sorted in the | |
20 | same order as the clocks property. | |
39ce4084 TA |
21 | |
22 | Example: | |
23 | ||
24 | rtc@10070000 { | |
25 | compatible = "samsung,s3c6410-rtc"; | |
26 | reg = <0x10070000 0x100>; | |
27 | interrupts = <44 0 45 0>; | |
43f34082 JMC |
28 | clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>; |
29 | clock-names = "rtc", "rtc_src"; | |
39ce4084 | 30 | }; |