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