About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / rtc / s3c-rtc.txt


Based on kernel version 4.16.1. Page generated on 2018-04-09 11:52 EST.

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.
6	    * "samsung,s3c2416-rtc" - for controllers compatible with s3c2416 rtc.
7	    * "samsung,s3c2443-rtc" - for controllers compatible with s3c2443 rtc.
8	    * "samsung,s3c6410-rtc" - for controllers compatible with s3c6410 rtc.
9	    * "samsung,exynos3250-rtc" - (deprecated) for controllers compatible with
10	                                 exynos3250 rtc (use "samsung,s3c6410-rtc").
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
14	  interrupt number is the rtc alarm interrupt and second interrupt number
15	  is the rtc tick interrupt. The number of cells representing a interrupt
16	  depends on the parent interrupt controller.
17	- clocks: Must contain a list of phandle and clock specifier for the rtc
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.
22	
23	Example:
24	
25		rtc@10070000 {
26			compatible = "samsung,s3c6410-rtc";
27			reg = <0x10070000 0x100>;
28			interrupts = <44 0 45 0>;
29			clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
30			clock-names = "rtc", "rtc_src";
31		};
Hide Line Numbers


About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog