xref: /src/sys/contrib/device-tree/Bindings/rtc/sprd,sc27xx-rtc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
116ae49e2SEmmanuel VadotSpreadtrum SC27xx Real Time Clock
216ae49e2SEmmanuel Vadot
316ae49e2SEmmanuel VadotRequired properties:
416ae49e2SEmmanuel Vadot- compatible: should be "sprd,sc2731-rtc".
516ae49e2SEmmanuel Vadot- reg: address offset of rtc register.
616ae49e2SEmmanuel Vadot- interrupts: rtc alarm interrupt.
716ae49e2SEmmanuel Vadot
816ae49e2SEmmanuel VadotExample:
916ae49e2SEmmanuel Vadot
1016ae49e2SEmmanuel Vadot	sc2731_pmic: pmic@0 {
1116ae49e2SEmmanuel Vadot		compatible = "sprd,sc2731";
1216ae49e2SEmmanuel Vadot		reg = <0>;
1316ae49e2SEmmanuel Vadot		spi-max-frequency = <26000000>;
1416ae49e2SEmmanuel Vadot		interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
1516ae49e2SEmmanuel Vadot		interrupt-controller;
1616ae49e2SEmmanuel Vadot		#interrupt-cells = <2>;
1716ae49e2SEmmanuel Vadot		#address-cells = <1>;
1816ae49e2SEmmanuel Vadot		#size-cells = <0>;
1916ae49e2SEmmanuel Vadot
2016ae49e2SEmmanuel Vadot		rtc@280 {
2116ae49e2SEmmanuel Vadot			compatible = "sprd,sc2731-rtc";
2216ae49e2SEmmanuel Vadot			reg = <0x280>;
2316ae49e2SEmmanuel Vadot			interrupt-parent = <&sc2731_pmic>;
2416ae49e2SEmmanuel Vadot			interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
2516ae49e2SEmmanuel Vadot		};
2616ae49e2SEmmanuel Vadot	};
27