xref: /openbmc/linux/arch/arm64/boot/dts/qcom/pmk8350.dtsi (revision c4f7ac64)
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	pmk8350: pmic@0 {
11		compatible = "qcom,pmk8350", "qcom,spmi-pmic";
12		reg = <0x0 SPMI_USID>;
13		#address-cells = <1>;
14		#size-cells = <0>;
15
16		pmk8350_gpios: gpio@b000 {
17			compatible = "qcom,pmk8350-gpio";
18			reg = <0xb000>;
19			gpio-controller;
20			#gpio-cells = <2>;
21			interrupt-controller;
22			#interrupt-cells = <2>;
23		};
24	};
25};
26