GNU Linux-libre 4.19.264-gnu1
[releases.git] / Documentation / devicetree / bindings / rtc / sprd,sc27xx-rtc.txt
1 Spreadtrum SC27xx Real Time Clock
2
3 Required properties:
4 - compatible: should be "sprd,sc2731-rtc".
5 - reg: address offset of rtc register.
6 - interrupts: rtc alarm interrupt.
7
8 Example:
9
10         sc2731_pmic: pmic@0 {
11                 compatible = "sprd,sc2731";
12                 reg = <0>;
13                 spi-max-frequency = <26000000>;
14                 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
15                 interrupt-controller;
16                 #interrupt-cells = <2>;
17                 #address-cells = <1>;
18                 #size-cells = <0>;
19
20                 rtc@280 {
21                         compatible = "sprd,sc2731-rtc";
22                         reg = <0x280>;
23                         interrupt-parent = <&sc2731_pmic>;
24                         interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
25                 };
26         };