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