1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2021, Linaro Limited
4 */
5
6#include <dt-bindings/interrupt-controller/irq.h>
7#include <dt-bindings/spmi/spmi.h>
8
9&spmi_bus {
10	pm8350: pmic@1 {
11		compatible = "qcom,pm8350", "qcom,spmi-pmic";
12		reg = <0x1 SPMI_USID>;
13		#address-cells = <1>;
14		#size-cells = <0>;
15
16		pm8350_gpios: gpio@8800 {
17			compatible = "qcom,pm8350-gpio";
18			reg = <0x8800>;
19			gpio-controller;
20			#gpio-cells = <2>;
21			interrupt-controller;
22			#interrupt-cells = <2>;
23		};
24	};
25};
26