Back to home page

OSCL-LXR

 
 

    


0001 ST M41T80 family of RTC and compatible
0002 
0003 Required properties:
0004 - compatible: should be one of:
0005         "st,m41t62",
0006         "st,m41t65",
0007         "st,m41t80",
0008         "st,m41t81",
0009         "st,m41t81s",
0010         "st,m41t82",
0011         "st,m41t83",
0012         "st,m41t84",
0013         "st,m41t85",
0014         "st,m41t87",
0015         "microcrystal,rv4162",
0016 - reg: I2C bus address of the device
0017 
0018 Optional properties:
0019 - interrupts: rtc alarm interrupt.
0020 - clock-output-names: From common clock binding to override the default output
0021                       clock name
0022 - wakeup-source: Enables wake up of host system on alarm
0023 
0024 Optional child node:
0025 - clock: Provide this if the square wave pin is used as boot-enabled fixed clock.
0026 
0027 Example:
0028         rtc@68 {
0029                 compatible = "st,m41t80";
0030                 reg = <0x68>;
0031                 interrupt-parent = <&UIC0>;
0032                 interrupts = <0x9 0x8>;
0033 
0034                 clock {
0035                         compatible = "fixed-clock";
0036                         #clock-cells = <0>;
0037                         clock-frequency = <32768>;
0038                 };
0039         };