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