xref: /openbmc/linux/arch/arm64/boot/dts/qcom/pm8005.dtsi (revision ea25d61b)
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
14*ea25d61bSMarijn Suijten		pm8005_gpios: gpio@c000 {
158ea4ffcaSStephen Boyd			compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio";
168ea4ffcaSStephen Boyd			reg = <0xc000>;
178ea4ffcaSStephen Boyd			gpio-controller;
18*ea25d61bSMarijn Suijten			gpio-ranges = <&pm8005_gpios 0 0 4>;
198ea4ffcaSStephen Boyd			#gpio-cells = <2>;
20a61326c0SBrian Masney			interrupt-controller;
21a61326c0SBrian Masney			#interrupt-cells = <2>;
228ea4ffcaSStephen Boyd		};
238ea4ffcaSStephen Boyd
248ea4ffcaSStephen Boyd	};
258ea4ffcaSStephen Boyd
268ea4ffcaSStephen Boyd	pm8005_lsid1: pmic@5 {
278ea4ffcaSStephen Boyd		compatible = "qcom,pm8005", "qcom,spmi-pmic";
288ea4ffcaSStephen Boyd		reg = <0x5 SPMI_USID>;
298ea4ffcaSStephen Boyd		#address-cells = <1>;
308ea4ffcaSStephen Boyd		#size-cells = <0>;
31ce383e80SKonrad Dybcio
32ce383e80SKonrad Dybcio		pm8005_regulators: regulators {
33ce383e80SKonrad Dybcio			compatible = "qcom,pm8005-regulators";
34ce383e80SKonrad Dybcio		};
358ea4ffcaSStephen Boyd	};
368ea4ffcaSStephen Boyd};
37