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