Merge branches 'pm-core' and 'pm-domains'
[linux-2.6-block.git] / Documentation / devicetree / bindings / rtc / s3c-rtc.txt
CommitLineData
39ce4084
TA
1* Samsung's S3C Real Time Clock controller
2
3Required 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 17- clocks: Must contain a list of phandle and clock specifier for the rtc
00c9329e
JMC
18 clock and in the case of a s3c6410 compatible controller, also
19 a source clock.
20- clock-names: Must contain "rtc" and for a s3c6410 compatible controller,
21 a "rtc_src" sorted in the same order as the clocks property.
39ce4084
TA
22
23Example:
24
25 rtc@10070000 {
26 compatible = "samsung,s3c6410-rtc";
27 reg = <0x10070000 0x100>;
28 interrupts = <44 0 45 0>;
43f34082
JMC
29 clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
30 clock-names = "rtc", "rtc_src";
39ce4084 31 };