xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rtc/faraday,ftrtc010.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Faraday Technology FTRTC010 Real Time Clock
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis RTC appears in for example the Storlink Gemini family of
4*4882a593SmuzhiyunSoCs.
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunRequired properties:
7*4882a593Smuzhiyun- compatible : Should be one of:
8*4882a593Smuzhiyun  "faraday,ftrtc010"
9*4882a593Smuzhiyun  "cortina,gemini-rtc", "faraday,ftrtc010"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunOptional properties:
12*4882a593Smuzhiyun- clocks: when present should contain clock references to the
13*4882a593Smuzhiyun  PCLK and EXTCLK clocks. Faraday calls the later CLK1HZ and
14*4882a593Smuzhiyun  says the clock should be 1 Hz, but implementers actually seem
15*4882a593Smuzhiyun  to choose different clocks here, like Cortina who chose
16*4882a593Smuzhiyun  32768 Hz (a typical low-power clock).
17*4882a593Smuzhiyun- clock-names: should name the clocks "PCLK" and "EXTCLK"
18*4882a593Smuzhiyun  respectively.
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunExamples:
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunrtc@45000000 {
23*4882a593Smuzhiyun	compatible = "cortina,gemini-rtc";
24*4882a593Smuzhiyun	reg = <0x45000000 0x100>;
25*4882a593Smuzhiyun	interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
26*4882a593Smuzhiyun	clocks = <&foo 0>, <&foo 1>;
27*4882a593Smuzhiyun	clock-names = "PCLK", "EXTCLK";
28*4882a593Smuzhiyun};
29