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: Arun KS <arunks@codeaurora.org>
This commit is contained in:
Arun KS 2017-03-24 11:48:36 +05:30
parent e704eb5275
commit 6e878faf2b

View file

@ -0,0 +1,52 @@
/* 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";
};
};