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

Commit d55ca9b8 authored by Arun KS's avatar Arun KS
Browse files

ARM: dts: msm: Add support mdm9x45 external modem



This change defines upto 3 instances of external mdm9x45 modems in
device-tree which would need to be controlled by esoc (external esoc)
driver. The device-tree nodes allows the configuration of the external
modems (like the GPIO pins used to communicate status of modem) to be
specified.

Change-Id: I7e609f7549a02cd3322db76b00dc30137ed68953
Signed-off-by: default avatarArun KS <arunks@codeaurora.org>
parent 9dbf9c2b
Loading
Loading
Loading
Loading
+52 −0
Original line number Diff line number Diff line
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

&soc {
	mdm0: qcom,mdm0 {
		compatible = "qcom,ext-mdm9x45";
		cell-index = <0>;
		#address-cells = <0>;
		interrupt-parent = <&mdm0>;
		#interrupt-cells = <1>;
		interrupt-map-mask = <0xffffffff>;
		interrupt-names =
			"err_fatal_irq",
			"status_irq";
		status = "disabled";
	};

	mdm1: qcom,mdm1 {
		compatible = "qcom,ext-mdm9x45";
		cell-index = <0>;
		#address-cells = <0>;
		interrupt-parent = <&mdm1>;
		#interrupt-cells = <1>;
		interrupt-map-mask = <0xffffffff>;
		interrupt-names =
			"err_fatal_irq",
			"status_irq";
		status = "disabled";
	};

	mdm2: qcom,mdm2 {
		compatible = "qcom,ext-mdm9x45";
		cell-index = <0>;
		#address-cells = <0>;
		interrupt-parent = <&mdm2>;
		#interrupt-cells = <1>;
		interrupt-map-mask = <0xffffffff>;
		interrupt-names =
			"err_fatal_irq",
			"status_irq";
		status = "disabled";
	};
};