Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb963d6d authored by David Collins's avatar David Collins
Browse files

ARM: dts: msm: add PMXPRAIRIE PMIC power-on device for KONA



Add SPMI slave nodes for PMXPRAIRIE PMIC along with a power-on
device.  This device can be used to reset the attached modem
chip.

Change-Id: I8cacb29ed75fc72a7216cad667d1460bd603e8d0
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 47598dd0
Loading
Loading
Loading
Loading
+28 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2018, The Linux Foundation. All rights reserved. */
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. */

#include "pm8150.dtsi"
#include "pm8150b.dtsi"
#include "pm8150l.dtsi"
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>

&spmi_bus {
	#address-cells = <2>;
	#size-cells = <0>;
	interrupt-controller;
	#interrupt-cells = <4>;

	qcom,pmxprairie@8 {
		compatible = "qcom,spmi-pmic";
		reg = <0x8 SPMI_USID>;
		#address-cells = <2>;
		#size-cells = <0>;

		qcom,power-on@800 {
			compatible = "qcom,qpnp-power-on";
			reg = <0x800 0x100>;
			qcom,modem-reset;
		};
	};

	qcom,pmxprairie@9 {
		compatible ="qcom,spmi-pmic";
		reg = <0x9 SPMI_USID>;
		#address-cells = <2>;
		#size-cells = <0>;
	};
};