xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/pm8350c.dtsi (revision c1d255d3ffdbe447de3ab875bf4e7d7accc5bfc5)
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	pm8350c: pmic@2 {
11		compatible = "qcom,pm8350c", "qcom,spmi-pmic";
12		reg = <0x2 SPMI_USID>;
13		#address-cells = <1>;
14		#size-cells = <0>;
15
16		pm8350c_gpios: gpio@8800 {
17			compatible = "qcom,pm8350c-gpio";
18			reg = <0x8800>;
19			gpio-controller;
20			#gpio-cells = <2>;
21			interrupt-controller;
22			#interrupt-cells = <2>;
23		};
24	};
25};
26