xref: /openbmc/linux/arch/arm64/boot/dts/qcom/pm8998.dtsi (revision 8ea4ffca89820520b571907e85154c6618444d5d)
1*8ea4ffcaSStephen Boyd// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*8ea4ffcaSStephen Boyd/* Copyright 2018 Google LLC. */
3*8ea4ffcaSStephen Boyd
4*8ea4ffcaSStephen Boyd#include <dt-bindings/spmi/spmi.h>
5*8ea4ffcaSStephen Boyd#include <dt-bindings/interrupt-controller/irq.h>
6*8ea4ffcaSStephen Boyd
7*8ea4ffcaSStephen Boyd&spmi_bus {
8*8ea4ffcaSStephen Boyd	pm8998_lsid0: pmic@0 {
9*8ea4ffcaSStephen Boyd		compatible = "qcom,pm8998", "qcom,spmi-pmic";
10*8ea4ffcaSStephen Boyd		reg = <0x0 SPMI_USID>;
11*8ea4ffcaSStephen Boyd		#address-cells = <1>;
12*8ea4ffcaSStephen Boyd		#size-cells = <0>;
13*8ea4ffcaSStephen Boyd
14*8ea4ffcaSStephen Boyd		pm8998_gpio: gpios@c000 {
15*8ea4ffcaSStephen Boyd			compatible = "qcom,pm8998-gpio", "qcom,spmi-gpio";
16*8ea4ffcaSStephen Boyd			reg = <0xc000>;
17*8ea4ffcaSStephen Boyd			gpio-controller;
18*8ea4ffcaSStephen Boyd			#gpio-cells = <2>;
19*8ea4ffcaSStephen Boyd			interrupts = <0 0xc0 0 IRQ_TYPE_NONE>,
20*8ea4ffcaSStephen Boyd				     <0 0xc1 0 IRQ_TYPE_NONE>,
21*8ea4ffcaSStephen Boyd				     <0 0xc2 0 IRQ_TYPE_NONE>,
22*8ea4ffcaSStephen Boyd				     <0 0xc3 0 IRQ_TYPE_NONE>,
23*8ea4ffcaSStephen Boyd				     <0 0xc4 0 IRQ_TYPE_NONE>,
24*8ea4ffcaSStephen Boyd				     <0 0xc5 0 IRQ_TYPE_NONE>,
25*8ea4ffcaSStephen Boyd				     <0 0xc6 0 IRQ_TYPE_NONE>,
26*8ea4ffcaSStephen Boyd				     <0 0xc7 0 IRQ_TYPE_NONE>,
27*8ea4ffcaSStephen Boyd				     <0 0xc8 0 IRQ_TYPE_NONE>,
28*8ea4ffcaSStephen Boyd				     <0 0xc9 0 IRQ_TYPE_NONE>,
29*8ea4ffcaSStephen Boyd				     <0 0xca 0 IRQ_TYPE_NONE>,
30*8ea4ffcaSStephen Boyd				     <0 0xcb 0 IRQ_TYPE_NONE>,
31*8ea4ffcaSStephen Boyd				     <0 0xcc 0 IRQ_TYPE_NONE>,
32*8ea4ffcaSStephen Boyd				     <0 0xcd 0 IRQ_TYPE_NONE>,
33*8ea4ffcaSStephen Boyd				     <0 0xce 0 IRQ_TYPE_NONE>,
34*8ea4ffcaSStephen Boyd				     <0 0xcf 0 IRQ_TYPE_NONE>,
35*8ea4ffcaSStephen Boyd				     <0 0xd0 0 IRQ_TYPE_NONE>,
36*8ea4ffcaSStephen Boyd				     <0 0xd1 0 IRQ_TYPE_NONE>,
37*8ea4ffcaSStephen Boyd				     <0 0xd2 0 IRQ_TYPE_NONE>,
38*8ea4ffcaSStephen Boyd				     <0 0xd3 0 IRQ_TYPE_NONE>,
39*8ea4ffcaSStephen Boyd				     <0 0xd4 0 IRQ_TYPE_NONE>,
40*8ea4ffcaSStephen Boyd				     <0 0xd5 0 IRQ_TYPE_NONE>,
41*8ea4ffcaSStephen Boyd				     <0 0xd6 0 IRQ_TYPE_NONE>,
42*8ea4ffcaSStephen Boyd				     <0 0xd7 0 IRQ_TYPE_NONE>,
43*8ea4ffcaSStephen Boyd				     <0 0xd8 0 IRQ_TYPE_NONE>,
44*8ea4ffcaSStephen Boyd				     <0 0xd9 0 IRQ_TYPE_NONE>;
45*8ea4ffcaSStephen Boyd		};
46*8ea4ffcaSStephen Boyd
47*8ea4ffcaSStephen Boyd	};
48*8ea4ffcaSStephen Boyd
49*8ea4ffcaSStephen Boyd	pm8998_lsid1: pmic@1 {
50*8ea4ffcaSStephen Boyd		compatible = "qcom,pm8998", "qcom,spmi-pmic";
51*8ea4ffcaSStephen Boyd		reg = <0x1 SPMI_USID>;
52*8ea4ffcaSStephen Boyd		#address-cells = <1>;
53*8ea4ffcaSStephen Boyd		#size-cells = <0>;
54*8ea4ffcaSStephen Boyd	};
55*8ea4ffcaSStephen Boyd};
56