Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c48768c6 authored by Kiran Gunda's avatar Kiran Gunda
Browse files

ARM: dts: msm: Add qpnp rtc device for PM6125



The patch adds qpnp rtc device to support qpnp rtc
driver for trinket. 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: I122de10c6967815b74d4928109d3e1eebfbbdd71
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent 405fe317
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -160,6 +160,22 @@
			#gpio-cells = <2>;
		};

		pm6125_rtc: qcom,pm6125_rtc {
			compatible = "qcom,qpnp-rtc";
			#address-cells = <1>;
			#size-cells = <1>;
			qcom,qpnp-rtc-write = <0>;
			qcom,qpnp-rtc-alarm-pwrup = <0>;

			qcom,pm6125_rtc_rw@6000 {
				reg = <0x6000 0x100>;
			};

			qcom,pm6125_rtc_alarm@6100 {
				reg = <0x6100 0x100>;
				interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
			};
		};
	};

	qcom,pm6125@1 {