xref: /openbmc/linux/arch/arm64/boot/dts/qcom/pm8005.dtsi (revision a61326c0)
18ea4ffcaSStephen Boyd// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
28ea4ffcaSStephen Boyd/* Copyright 2018 Google LLC. */
38ea4ffcaSStephen Boyd
48ea4ffcaSStephen Boyd#include <dt-bindings/spmi/spmi.h>
58ea4ffcaSStephen Boyd#include <dt-bindings/interrupt-controller/irq.h>
68ea4ffcaSStephen Boyd
78ea4ffcaSStephen Boyd&spmi_bus {
88ea4ffcaSStephen Boyd	pm8005_lsid0: pmic@4 {
98ea4ffcaSStephen Boyd		compatible = "qcom,pm8005", "qcom,spmi-pmic";
108ea4ffcaSStephen Boyd		reg = <0x4 SPMI_USID>;
118ea4ffcaSStephen Boyd		#address-cells = <1>;
128ea4ffcaSStephen Boyd		#size-cells = <0>;
138ea4ffcaSStephen Boyd
148ea4ffcaSStephen Boyd		pm8005_gpio: gpios@c000 {
158ea4ffcaSStephen Boyd			compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio";
168ea4ffcaSStephen Boyd			reg = <0xc000>;
178ea4ffcaSStephen Boyd			gpio-controller;
188ea4ffcaSStephen Boyd			#gpio-cells = <2>;
19a61326c0SBrian Masney			interrupt-controller;
20a61326c0SBrian Masney			#interrupt-cells = <2>;
218ea4ffcaSStephen Boyd		};
228ea4ffcaSStephen Boyd
238ea4ffcaSStephen Boyd	};
248ea4ffcaSStephen Boyd
258ea4ffcaSStephen Boyd	pm8005_lsid1: pmic@5 {
268ea4ffcaSStephen Boyd		compatible = "qcom,pm8005", "qcom,spmi-pmic";
278ea4ffcaSStephen Boyd		reg = <0x5 SPMI_USID>;
288ea4ffcaSStephen Boyd		#address-cells = <1>;
298ea4ffcaSStephen Boyd		#size-cells = <0>;
308ea4ffcaSStephen Boyd	};
318ea4ffcaSStephen Boyd};
32