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