Skip to content

Commit de711b0

Browse files
Tingguo Chengshashim-quic
authored andcommitted
FORMLIST: arm64: dts: qcom: sa8775p: pmic: enable rtc
Add RTC node, the RTC is controlled by PMIC device via spmi bus. Signed-off-by: Tingguo Cheng <quic_tingguoc@quicinc.com> Link: https://lore.kernel.org/r/20240902104302.3959670-1-quic_tingguoc@quicinc.com Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
1 parent f6285fe commit de711b0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@
132132
};
133133
};
134134

135+
pmm8654au_0_rtc: rtc@6100 {
136+
compatible = "qcom,pmk8350-rtc";
137+
reg = <0x6100>, <0x6200>;
138+
reg-names = "rtc", "alarm";
139+
interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>;
140+
allow-set-time;
141+
};
142+
135143
pmm8654au_0_gpios: gpio@8800 {
136144
compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio";
137145
reg = <0x8800>;

0 commit comments

Comments
 (0)