xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/sprd,sc27xx-rtc.txt (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1Spreadtrum SC27xx Real Time Clock
2
3Required properties:
4- compatible: should be "sprd,sc2731-rtc".
5- reg: address offset of rtc register.
6- interrupts: rtc alarm interrupt.
7
8Example:
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	};
27