About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

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


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

1	* Real Time Clock for Renesas SH and ARM SoCs
2	
3	Required properties:
4	- compatible: Should be "renesas,r7s72100-rtc" and "renesas,sh-rtc" as a
5	  fallback.
6	- reg: physical base address and length of memory mapped region.
7	- interrupts: 3 interrupts for alarm, period, and carry.
8	- interrupt-names: The interrupts should be labeled as "alarm", "period", and
9	  "carry".
10	- clocks: The functional clock source for the RTC controller must be listed
11	  first (if exists). Additionally, potential clock counting sources are to be
12	  listed.
13	- clock-names: The functional clock must be labeled as "fck". Other clocks
14	  may be named in accordance to the SoC hardware manuals.
15	
16	
17	Example:
18	rtc: rtc@fcff1000 {
19		compatible = "renesas,r7s72100-rtc", "renesas,sh-rtc";
20		reg = <0xfcff1000 0x2e>;
21		interrupts = <GIC_SPI 276 IRQ_TYPE_EDGE_RISING
22			      GIC_SPI 277 IRQ_TYPE_EDGE_RISING
23			      GIC_SPI 278 IRQ_TYPE_EDGE_RISING>;
24		interrupt-names = "alarm", "period", "carry";
25		clocks = <&mstp6_clks R7S72100_CLK_RTC>, <&rtc_x1_clk>,
26			 <&rtc_x3_clk>, <&extal_clk>;
27		clock-names = "fck", "rtc_x1", "rtc_x3", "extal";
28	};
Hide Line Numbers


About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog