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:
parent
e704eb5275
commit
6e878faf2b
1 changed files with 52 additions and 0 deletions
52
arch/arm/boot/dts/qcom/external-mdm9640.dtsi
Normal file
52
arch/arm/boot/dts/qcom/external-mdm9640.dtsi
Normal 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";
|
||||
};
|
||||
};
|
Loading…
Add table
Reference in a new issue