xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rtc/sprd,sc27xx-rtc.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSpreadtrum SC27xx Real Time Clock
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: should be "sprd,sc2731-rtc".
5*4882a593Smuzhiyun- reg: address offset of rtc register.
6*4882a593Smuzhiyun- interrupts: rtc alarm interrupt.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunExample:
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun	sc2731_pmic: pmic@0 {
11*4882a593Smuzhiyun		compatible = "sprd,sc2731";
12*4882a593Smuzhiyun		reg = <0>;
13*4882a593Smuzhiyun		spi-max-frequency = <26000000>;
14*4882a593Smuzhiyun		interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
15*4882a593Smuzhiyun		interrupt-controller;
16*4882a593Smuzhiyun		#interrupt-cells = <2>;
17*4882a593Smuzhiyun		#address-cells = <1>;
18*4882a593Smuzhiyun		#size-cells = <0>;
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun		rtc@280 {
21*4882a593Smuzhiyun			compatible = "sprd,sc2731-rtc";
22*4882a593Smuzhiyun			reg = <0x280>;
23*4882a593Smuzhiyun			interrupt-parent = <&sc2731_pmic>;
24*4882a593Smuzhiyun			interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
25*4882a593Smuzhiyun		};
26*4882a593Smuzhiyun	};
27