18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: BSD-3-Clause
28c2ecf20Sopenharmony_ci// Copyright (c) 2019, The Linux Foundation. All rights reserved.
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci#include <dt-bindings/interrupt-controller/irq.h>
58c2ecf20Sopenharmony_ci#include <dt-bindings/spmi/spmi.h>
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci&spmi_bus {
88c2ecf20Sopenharmony_ci	pm6150l_lsid4: pmic@4 {
98c2ecf20Sopenharmony_ci		compatible = "qcom,pm6150l", "qcom,spmi-pmic";
108c2ecf20Sopenharmony_ci		reg = <0x4 SPMI_USID>;
118c2ecf20Sopenharmony_ci		#address-cells = <1>;
128c2ecf20Sopenharmony_ci		#size-cells = <0>;
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci		pm6150l_gpio: gpios@c000 {
158c2ecf20Sopenharmony_ci			compatible = "qcom,pm6150l-gpio", "qcom,spmi-gpio";
168c2ecf20Sopenharmony_ci			reg = <0xc000>;
178c2ecf20Sopenharmony_ci			gpio-controller;
188c2ecf20Sopenharmony_ci			gpio-ranges = <&pm6150l_gpio 0 0 12>;
198c2ecf20Sopenharmony_ci			#gpio-cells = <2>;
208c2ecf20Sopenharmony_ci			interrupt-controller;
218c2ecf20Sopenharmony_ci			#interrupt-cells = <2>;
228c2ecf20Sopenharmony_ci		};
238c2ecf20Sopenharmony_ci	};
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci	pm6150l_lsid5: pmic@5 {
268c2ecf20Sopenharmony_ci		compatible = "qcom,pm6150l", "qcom,spmi-pmic";
278c2ecf20Sopenharmony_ci		reg = <0x5 SPMI_USID>;
288c2ecf20Sopenharmony_ci		#address-cells = <1>;
298c2ecf20Sopenharmony_ci		#size-cells = <0>;
308c2ecf20Sopenharmony_ci	};
318c2ecf20Sopenharmony_ci};
32