xref: /openbmc/linux/arch/arm64/boot/dts/qcom/pmi8994.dtsi (revision b24413180f5600bcb3bb70fbed5cf186b60864bd)
1*b2441318SGreg Kroah-Hartman// SPDX-License-Identifier: GPL-2.0
238757eb3SStephen Boyd#include <dt-bindings/interrupt-controller/irq.h>
338757eb3SStephen Boyd#include <dt-bindings/spmi/spmi.h>
438757eb3SStephen Boyd
538757eb3SStephen Boyd&spmi_bus {
638757eb3SStephen Boyd
738757eb3SStephen Boyd	pmic@2 {
838757eb3SStephen Boyd		compatible = "qcom,pmi8994", "qcom,spmi-pmic";
938757eb3SStephen Boyd		reg = <0x2 SPMI_USID>;
1038757eb3SStephen Boyd		#address-cells = <1>;
1138757eb3SStephen Boyd		#size-cells = <0>;
12133767d9SVivek Gautam
13133767d9SVivek Gautam		pmi8994_gpios: gpios@c000 {
14133767d9SVivek Gautam			compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio";
15133767d9SVivek Gautam			reg = <0xc000>;
16133767d9SVivek Gautam			gpio-controller;
17133767d9SVivek Gautam			#gpio-cells = <2>;
18133767d9SVivek Gautam			interrupts = <2 0xc0 0 IRQ_TYPE_NONE>,
19133767d9SVivek Gautam				     <2 0xc1 0 IRQ_TYPE_NONE>,
20133767d9SVivek Gautam				     <2 0xc2 0 IRQ_TYPE_NONE>,
21133767d9SVivek Gautam				     <2 0xc3 0 IRQ_TYPE_NONE>,
22133767d9SVivek Gautam				     <2 0xc4 0 IRQ_TYPE_NONE>,
23133767d9SVivek Gautam				     <2 0xc5 0 IRQ_TYPE_NONE>,
24133767d9SVivek Gautam				     <2 0xc6 0 IRQ_TYPE_NONE>,
25133767d9SVivek Gautam				     <2 0xc7 0 IRQ_TYPE_NONE>,
26133767d9SVivek Gautam				     <2 0xc8 0 IRQ_TYPE_NONE>,
27133767d9SVivek Gautam				     <2 0xc9 0 IRQ_TYPE_NONE>;
28133767d9SVivek Gautam		};
2938757eb3SStephen Boyd	};
3038757eb3SStephen Boyd
3138757eb3SStephen Boyd	pmic@3 {
3238757eb3SStephen Boyd		compatible = "qcom,pmi8994", "qcom,spmi-pmic";
3338757eb3SStephen Boyd		reg = <0x3 SPMI_USID>;
3438757eb3SStephen Boyd		#address-cells = <1>;
3538757eb3SStephen Boyd		#size-cells = <0>;
3638757eb3SStephen Boyd	};
3738757eb3SStephen Boyd};
38