From 1b06c6f1e22440175e01c6026d2bda52ec6e1149 Mon Sep 17 00:00:00 2001 From: Mohit Aggarwal Date: Thu, 24 Mar 2016 14:47:56 +0530 Subject: [PATCH] ARM: dts: msm: Add RTC device for msmcobalt Add device tree information for RTC device in pmic file for msmcobalt. Signed-off-by: Mohit Aggarwal --- arch/arm/boot/dts/qcom/msm-pmcobalt.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/qcom/msm-pmcobalt.dtsi b/arch/arm/boot/dts/qcom/msm-pmcobalt.dtsi index 318197221357..40ae5fc03472 100644 --- a/arch/arm/boot/dts/qcom/msm-pmcobalt.dtsi +++ b/arch/arm/boot/dts/qcom/msm-pmcobalt.dtsi @@ -234,6 +234,22 @@ compatible = "qcom,qpnp-coincell"; reg = <0x2800 0x100>; }; + + pmcobalt_rtc: qcom,pmcobalt_rtc { + compatible = "qcom,qpnp-rtc"; + #address-cells = <1>; + #size-cells = <1>; + qcom,qpnp-rtc-write = <0>; + qcom,qpnp-rtc-alarm-pwrup = <0>; + + qcom,pmcobalt_rtc_rw@6000 { + reg = <0x6000 0x100>; + }; + qcom,pmcobalt_rtc_alarm@6100 { + reg = <0x6100 0x100>; + interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>; + }; + }; }; qcom,pmcobalt@1 {