xref: /openbmc/linux/arch/arm64/boot/dts/qcom/pmi8994.dtsi (revision 133767d94a1d1c3a25cfaf8fa4d5eb6d71911b1b)
138757eb3SStephen Boyd#include <dt-bindings/interrupt-controller/irq.h>
238757eb3SStephen Boyd#include <dt-bindings/spmi/spmi.h>
338757eb3SStephen Boyd
438757eb3SStephen Boyd&spmi_bus {
538757eb3SStephen Boyd
638757eb3SStephen Boyd	pmic@2 {
738757eb3SStephen Boyd		compatible = "qcom,pmi8994", "qcom,spmi-pmic";
838757eb3SStephen Boyd		reg = <0x2 SPMI_USID>;
938757eb3SStephen Boyd		#address-cells = <1>;
1038757eb3SStephen Boyd		#size-cells = <0>;
11*133767d9SVivek Gautam
12*133767d9SVivek Gautam		pmi8994_gpios: gpios@c000 {
13*133767d9SVivek Gautam			compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio";
14*133767d9SVivek Gautam			reg = <0xc000>;
15*133767d9SVivek Gautam			gpio-controller;
16*133767d9SVivek Gautam			#gpio-cells = <2>;
17*133767d9SVivek Gautam			interrupts = <2 0xc0 0 IRQ_TYPE_NONE>,
18*133767d9SVivek Gautam				     <2 0xc1 0 IRQ_TYPE_NONE>,
19*133767d9SVivek Gautam				     <2 0xc2 0 IRQ_TYPE_NONE>,
20*133767d9SVivek Gautam				     <2 0xc3 0 IRQ_TYPE_NONE>,
21*133767d9SVivek Gautam				     <2 0xc4 0 IRQ_TYPE_NONE>,
22*133767d9SVivek Gautam				     <2 0xc5 0 IRQ_TYPE_NONE>,
23*133767d9SVivek Gautam				     <2 0xc6 0 IRQ_TYPE_NONE>,
24*133767d9SVivek Gautam				     <2 0xc7 0 IRQ_TYPE_NONE>,
25*133767d9SVivek Gautam				     <2 0xc8 0 IRQ_TYPE_NONE>,
26*133767d9SVivek Gautam				     <2 0xc9 0 IRQ_TYPE_NONE>;
27*133767d9SVivek Gautam		};
2838757eb3SStephen Boyd	};
2938757eb3SStephen Boyd
3038757eb3SStephen Boyd	pmic@3 {
3138757eb3SStephen Boyd		compatible = "qcom,pmi8994", "qcom,spmi-pmic";
3238757eb3SStephen Boyd		reg = <0x3 SPMI_USID>;
3338757eb3SStephen Boyd		#address-cells = <1>;
3438757eb3SStephen Boyd		#size-cells = <0>;
3538757eb3SStephen Boyd	};
3638757eb3SStephen Boyd};
37