xref: /openbmc/linux/arch/arm64/boot/dts/qcom/pmi8998.dtsi (revision 9726bfcd)
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-ranges = <&pmi8998_gpio 0 0 14>;
17			#gpio-cells = <2>;
18			interrupt-controller;
19			#interrupt-cells = <2>;
20		};
21	};
22
23	pmi8998_lsid1: pmic@3 {
24		compatible = "qcom,pmi8998", "qcom,spmi-pmic";
25		reg = <0x3 SPMI_USID>;
26		#address-cells = <1>;
27		#size-cells = <0>;
28	};
29};
30