Add snapshot of device tree bindings from keystone common kernel, branch "android-mainline-keystone-qcom-release" at c4c12103f9c0 ("Snap for 9228065 from e32903b9a63bb558df8b803b076619c53c16baad to android-mainline-keystone-qcom-release"). Change-Id: I7682079615cbd9f29340a5c1f2a1d84ec441a1f1 Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
27 lines
582 B
Plaintext
27 lines
582 B
Plaintext
Spreadtrum SC27xx Real Time Clock
|
|
|
|
Required properties:
|
|
- compatible: should be "sprd,sc2731-rtc".
|
|
- reg: address offset of rtc register.
|
|
- interrupts: rtc alarm interrupt.
|
|
|
|
Example:
|
|
|
|
sc2731_pmic: pmic@0 {
|
|
compatible = "sprd,sc2731";
|
|
reg = <0>;
|
|
spi-max-frequency = <26000000>;
|
|
interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
rtc@280 {
|
|
compatible = "sprd,sc2731-rtc";
|
|
reg = <0x280>;
|
|
interrupt-parent = <&sc2731_pmic>;
|
|
interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
};
|