18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#include <dt-bindings/interrupt-controller/irq.h>
38c2ecf20Sopenharmony_ci#include <dt-bindings/spmi/spmi.h>
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci&spmi_bus {
68c2ecf20Sopenharmony_ci	pmi8998_lsid0: pmic@2 {
78c2ecf20Sopenharmony_ci		compatible = "qcom,pmi8998", "qcom,spmi-pmic";
88c2ecf20Sopenharmony_ci		reg = <0x2 SPMI_USID>;
98c2ecf20Sopenharmony_ci		#address-cells = <1>;
108c2ecf20Sopenharmony_ci		#size-cells = <0>;
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci		pmi8998_gpio: gpios@c000 {
138c2ecf20Sopenharmony_ci			compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio";
148c2ecf20Sopenharmony_ci			reg = <0xc000>;
158c2ecf20Sopenharmony_ci			gpio-controller;
168c2ecf20Sopenharmony_ci			gpio-ranges = <&pmi8998_gpio 0 0 14>;
178c2ecf20Sopenharmony_ci			#gpio-cells = <2>;
188c2ecf20Sopenharmony_ci			interrupt-controller;
198c2ecf20Sopenharmony_ci			#interrupt-cells = <2>;
208c2ecf20Sopenharmony_ci		};
218c2ecf20Sopenharmony_ci	};
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci	pmi8998_lsid1: pmic@3 {
248c2ecf20Sopenharmony_ci		compatible = "qcom,pmi8998", "qcom,spmi-pmic";
258c2ecf20Sopenharmony_ci		reg = <0x3 SPMI_USID>;
268c2ecf20Sopenharmony_ci		#address-cells = <1>;
278c2ecf20Sopenharmony_ci		#size-cells = <0>;
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci		labibb {
308c2ecf20Sopenharmony_ci			compatible = "qcom,pmi8998-lab-ibb";
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci			ibb: ibb {
338c2ecf20Sopenharmony_ci				interrupts = <0x3 0xdc 0x2 IRQ_TYPE_EDGE_RISING>;
348c2ecf20Sopenharmony_ci			};
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci			lab: lab {
378c2ecf20Sopenharmony_ci				interrupts = <0x3 0xde 0x0 IRQ_TYPE_EDGE_RISING>;
388c2ecf20Sopenharmony_ci			};
398c2ecf20Sopenharmony_ci		};
408c2ecf20Sopenharmony_ci	};
418c2ecf20Sopenharmony_ci};
42