diff mbox series

[v5,11/18] arm64: dts: qcom: pms405: add rtc node

Message ID 20181109094417.12109-12-vkoul@kernel.org
State Accepted
Commit dc294716049695fc743c83e9b3037c1a75d5846c
Headers show
Series [v5,01/18] arm64: dts: qcom: qcs404: add base dts files | expand

Commit Message

Vinod Koul Nov. 9, 2018, 9:44 a.m. UTC
RTC is found on PMIC PMS405 and is same as other PMIC used, so add the
rtc node with compatible as qcom,pm8941-rtc

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

Signed-off-by: Vinod Koul <vkoul@kernel.org>

---
 arch/arm64/boot/dts/qcom/pms405.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.14.4
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi
index 7b8104e21507..2b275bbdafa3 100644
--- a/arch/arm64/boot/dts/qcom/pms405.dtsi
+++ b/arch/arm64/boot/dts/qcom/pms405.dtsi
@@ -10,5 +10,11 @@ 
 		#address-cells = <1>;
 		#size-cells = <0>;
 
+		rtc@6000 {
+			compatible = "qcom,pm8941-rtc";
+			reg = <0x6000>;
+			reg-names = "rtc", "alarm";
+			interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
+		};
 	};
 };