blob: fdde63a5419cb1942ea1480a761beb963db08479 [file] [log] [blame]
Thomas Abraham39ce4082011-10-24 14:49:04 +02001* 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.
Chanwoo Choid67288d2014-10-13 15:52:31 -07006 * "samsung,s3c2416-rtc" - for controllers compatible with s3c2416 rtc.
7 * "samsung,s3c2443-rtc" - for controllers compatible with s3c2443 rtc.
Thomas Abraham39ce4082011-10-24 14:49:04 +02008 * "samsung,s3c6410-rtc" - for controllers compatible with s3c6410 rtc.
Krzysztof Kozlowski062f49c2015-05-02 14:33:55 +09009 * "samsung,exynos3250-rtc" - (deprecated) for controllers compatible with
10 exynos3250 rtc (use "samsung,s3c6410-rtc").
Thomas Abraham39ce4082011-10-24 14:49:04 +020011- 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
Masanari Iidaf21ccfa2013-01-14 15:14:56 +090014 interrupt number is the rtc alarm interrupt and second interrupt number
Thomas Abraham39ce4082011-10-24 14:49:04 +020015 is the rtc tick interrupt. The number of cells representing a interrupt
16 depends on the parent interrupt controller.
Javier Martinez Canillas43f34082016-02-09 14:23:52 -030017- clocks: Must contain a list of phandle and clock specifier for the rtc
Javier Martinez Canillas00c93292016-02-15 11:11:06 -030018 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.
Thomas Abraham39ce4082011-10-24 14:49:04 +020022
23Example:
24
25 rtc@10070000 {
26 compatible = "samsung,s3c6410-rtc";
27 reg = <0x10070000 0x100>;
28 interrupts = <44 0 45 0>;
Javier Martinez Canillas43f34082016-02-09 14:23:52 -030029 clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
30 clock-names = "rtc", "rtc_src";
Thomas Abraham39ce4082011-10-24 14:49:04 +020031 };