xref: /openbmc/linux/arch/arm64/boot/dts/qcom/pm6150l.dtsi (revision e82c878d)
1// SPDX-License-Identifier: BSD-3-Clause
2// Copyright (c) 2019, The Linux Foundation. All rights reserved.
3
4#include <dt-bindings/interrupt-controller/irq.h>
5#include <dt-bindings/spmi/spmi.h>
6
7&spmi_bus {
8	pm6150l_lsid4: pmic@4 {
9		compatible = "qcom,pm6150l", "qcom,spmi-pmic";
10		reg = <0x4 SPMI_USID>;
11		#address-cells = <1>;
12		#size-cells = <0>;
13
14		pm6150l_gpio: gpios@c000 {
15			compatible = "qcom,pm6150l-gpio", "qcom,spmi-gpio";
16			reg = <0xc000>;
17			gpio-controller;
18			gpio-ranges = <&pm6150l_gpio 0 0 12>;
19			#gpio-cells = <2>;
20			interrupt-controller;
21			#interrupt-cells = <2>;
22		};
23	};
24
25	pm6150l_lsid5: pmic@5 {
26		compatible = "qcom,pm6150l", "qcom,spmi-pmic";
27		reg = <0x5 SPMI_USID>;
28		#address-cells = <1>;
29		#size-cells = <0>;
30	};
31};
32