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