xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/pm8350b.dtsi (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
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