1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*c66ec88fSEmmanuel Vadot/* Copyright 2018 Google LLC. */
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel Vadot#include <dt-bindings/spmi/spmi.h>
5*c66ec88fSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot&spmi_bus {
8*c66ec88fSEmmanuel Vadot	pm8005_lsid0: pmic@4 {
9*c66ec88fSEmmanuel Vadot		compatible = "qcom,pm8005", "qcom,spmi-pmic";
10*c66ec88fSEmmanuel Vadot		reg = <0x4 SPMI_USID>;
11*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
12*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot		pm8005_gpio: gpios@c000 {
15*c66ec88fSEmmanuel Vadot			compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio";
16*c66ec88fSEmmanuel Vadot			reg = <0xc000>;
17*c66ec88fSEmmanuel Vadot			gpio-controller;
18*c66ec88fSEmmanuel Vadot			gpio-ranges = <&pm8005_gpio 0 0 4>;
19*c66ec88fSEmmanuel Vadot			#gpio-cells = <2>;
20*c66ec88fSEmmanuel Vadot			interrupt-controller;
21*c66ec88fSEmmanuel Vadot			#interrupt-cells = <2>;
22*c66ec88fSEmmanuel Vadot		};
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot	};
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot	pm8005_lsid1: pmic@5 {
27*c66ec88fSEmmanuel Vadot		compatible = "qcom,pm8005", "qcom,spmi-pmic";
28*c66ec88fSEmmanuel Vadot		reg = <0x5 SPMI_USID>;
29*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
30*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
31*c66ec88fSEmmanuel Vadot	};
32*c66ec88fSEmmanuel Vadot};
33