Merge branch 'fix/amd' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[sfrench/cifs-2.6.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 - interrupt-parent: phandle for the interrupt controller.
7 - interrupts: rtc alarm interrupt.
8
9 Example:
10
11         sc2731_pmic: pmic@0 {
12                 compatible = "sprd,sc2731";
13                 reg = <0>;
14                 spi-max-frequency = <26000000>;
15                 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
16                 interrupt-controller;
17                 #interrupt-cells = <2>;
18                 #address-cells = <1>;
19                 #size-cells = <0>;
20
21                 rtc@280 {
22                         compatible = "sprd,sc2731-rtc";
23                         reg = <0x280>;
24                         interrupt-parent = <&sc2731_pmic>;
25                         interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
26                 };
27         };