From 3a04c8ec8a8327f0556ddc36095f0037178ad895 Mon Sep 17 00:00:00 2001 From: Mohit Aggarwal Date: Wed, 17 Mar 2021 16:54:38 +0530 Subject: [PATCH] ARM: dts: msm: Add pm8xxx rtc device for monaco The patch adds pm8xxx rtc device to support rtc driver for monaco. The rtc driver supports using the PMIC RTC peripheral to wake a device up from suspend or to wake it up from power-off. Change-Id: I7fb79d68e0c61c66114569c03c73d46c847bab34 --- qcom/pm5100.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/qcom/pm5100.dtsi b/qcom/pm5100.dtsi index 8a163724775f..2496b5de4175 100644 --- a/qcom/pm5100.dtsi +++ b/qcom/pm5100.dtsi @@ -48,9 +48,11 @@ #interrupt-cells = <2>; }; - pm5100_rtc: qcom,pm5100_rtc { - compatible = "qcom,pm8941-rtc"; - interrupts = <0x0 0x65 0x1 IRQ_TYPE_NONE>; + pm5100_rtc: rtc@6400 { + compatible = "qcom,pm5100-rtc"; + reg = <0x6400>, <0x6500>; + reg-names = "rtc", "alarm"; + interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>; }; }; };