xref: /openbmc/linux/arch/arm64/boot/dts/qcom/pmi8998.dtsi (revision dfd4f649)
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	pmi8998_lsid0: pmic@2 {
7		compatible = "qcom,pmi8998", "qcom,spmi-pmic";
8		reg = <0x2 SPMI_USID>;
9		#address-cells = <1>;
10		#size-cells = <0>;
11
12		pmi8998_gpio: gpios@c000 {
13			compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio";
14			reg = <0xc000>;
15			gpio-controller;
16			#gpio-cells = <2>;
17			interrupt-controller;
18			#interrupt-cells = <2>;
19		};
20	};
21
22	pmi8998_lsid1: pmic@3 {
23		compatible = "qcom,pmi8998", "qcom,spmi-pmic";
24		reg = <0x3 SPMI_USID>;
25		#address-cells = <1>;
26		#size-cells = <0>;
27	};
28};
29