xref: /openbmc/linux/arch/arm64/boot/dts/qcom/pmi8994.dtsi (revision e639c869)
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			interrupts = <2 0xc0 0 IRQ_TYPE_NONE>,
19				     <2 0xc1 0 IRQ_TYPE_NONE>,
20				     <2 0xc2 0 IRQ_TYPE_NONE>,
21				     <2 0xc3 0 IRQ_TYPE_NONE>,
22				     <2 0xc4 0 IRQ_TYPE_NONE>,
23				     <2 0xc5 0 IRQ_TYPE_NONE>,
24				     <2 0xc6 0 IRQ_TYPE_NONE>,
25				     <2 0xc7 0 IRQ_TYPE_NONE>,
26				     <2 0xc8 0 IRQ_TYPE_NONE>,
27				     <2 0xc9 0 IRQ_TYPE_NONE>;
28		};
29	};
30
31	pmic@3 {
32		compatible = "qcom,pmi8994", "qcom,spmi-pmic";
33		reg = <0x3 SPMI_USID>;
34		#address-cells = <1>;
35		#size-cells = <0>;
36	};
37};
38