Back to home page

OSCL-LXR

 
 

    


0001 Haoyu Microelectronics HYM8563 Real Time Clock
0002 
0003 The HYM8563 provides basic rtc and alarm functionality
0004 as well as a clock output of up to 32kHz.
0005 
0006 Required properties:
0007 - compatible: should be: "haoyu,hym8563"
0008 - reg: i2c address
0009 - #clock-cells: the value should be 0
0010 
0011 Optional properties:
0012 - clock-output-names: From common clock binding
0013 - interrupts: rtc alarm/event interrupt
0014 
0015 Example:
0016 
0017 hym8563: hym8563@51 {
0018         compatible = "haoyu,hym8563";
0019         reg = <0x51>;
0020 
0021         interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
0022 
0023         #clock-cells = <0>;
0024 };
0025 
0026 device {
0027 ...
0028         clocks = <&hym8563>;
0029 ...
0030 };