1// SPDX-License-Identifier: GPL-2.0
2#include <dt-bindings/interrupt-controller/irq.h>
3#include <dt-bindings/spmi/spmi.h>
4
5&spmi_bus {
6
7	pm8841_0: pm8841@4 {
8		compatible = "qcom,pm8841", "qcom,spmi-pmic";
9		reg = <0x4 SPMI_USID>;
10		#address-cells = <1>;
11		#size-cells = <0>;
12
13		pm8841_mpps: mpps@a000 {
14			compatible = "qcom,pm8841-mpp", "qcom,spmi-mpp";
15			reg = <0xa000>;
16			gpio-controller;
17			#gpio-cells = <2>;
18			gpio-ranges = <&pm8841_mpps 0 0 4>;
19			interrupt-controller;
20			#interrupt-cells = <2>;
21		};
22
23		temp-alarm@2400 {
24			compatible = "qcom,spmi-temp-alarm";
25			reg = <0x2400>;
26			interrupts = <4 0x24 0 IRQ_TYPE_EDGE_RISING>;
27		};
28	};
29
30	pm8841_1: pm8841@5 {
31		compatible = "qcom,pm8841", "qcom,spmi-pmic";
32		reg = <0x5 SPMI_USID>;
33		#address-cells = <1>;
34		#size-cells = <0>;
35	};
36};
37