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

Commit a9ced49c authored by Susheel Khiani's avatar Susheel Khiani
Browse files

ARM: dts: msm: Extract out apq8009w and msm8909w memory map



We have same memory map being replicated in
multiple variants of targets which is making
maintenance and updating these maps a long
process. As we have just two variants of memory
map, one of msm8909w and other for apq8009w,
extract these out into separate dtsi file and
include this file where needed.

Change-Id: Ibe284ce6ebfe60863f87f4cbd8773f64aa11816c
Signed-off-by: default avatarSusheel Khiani <skhiani@codeaurora.org>
parent b0af7638
Loading
Loading
Loading
Loading
+1 −12
Original line number Original line Diff line number Diff line
@@ -17,6 +17,7 @@
#include "msm8909-pm8916.dtsi"
#include "msm8909-pm8916.dtsi"
#include "msm8909-pm8916-mtp.dtsi"
#include "msm8909-pm8916-mtp.dtsi"
#include "apq8009-audio-external_codec.dtsi"
#include "apq8009-audio-external_codec.dtsi"
#include "apq8009w-memory.dtsi"


/ {
/ {
	model = "Qualcomm Technologies, Inc. APQ8009 WCD9326 MTP";
	model = "Qualcomm Technologies, Inc. APQ8009 WCD9326 MTP";
@@ -24,15 +25,3 @@
	qcom,msm-id = <265 0>;
	qcom,msm-id = <265 0>;
	qcom,board-id= <8 0x105>;
	qcom,board-id= <8 0x105>;
};
};

&external_image_mem {
	reg = <0x0 0x87a00000 0x0 0x0600000>;
};

&modem_adsp_mem {
	reg = <0x0 0x88000000 0x0 0x02c00000>;
};

&peripheral_mem {
	reg = <0x0 0x8ac00000 0x0 0x0500000>;
};
+1 −12
Original line number Original line Diff line number Diff line
@@ -17,6 +17,7 @@
#include "msm8909w-gpu.dtsi"
#include "msm8909w-gpu.dtsi"
#include "msm8909-pm8916-cdp.dtsi"
#include "msm8909-pm8916-cdp.dtsi"
#include "msm8909w.dtsi"
#include "msm8909w.dtsi"
#include "apq8009w-memory.dtsi"


/ {
/ {
	model = "Qualcomm Technologies, Inc. APQ8009W-PM8916 CDP";
	model = "Qualcomm Technologies, Inc. APQ8009W-PM8916 CDP";
@@ -26,18 +27,6 @@
	qcom,board-id= <1 0x103>;
	qcom,board-id= <1 0x103>;
};
};


&external_image_mem {
	reg = <0x0 0x87a00000 0x0 0x0600000>;
};

&modem_adsp_mem {
	reg = <0x0 0x88000000 0x0 0x02c00000>;
};

&peripheral_mem {
	reg = <0x0 0x8ac00000 0x0 0x0500000>;
};

&mdss_dsi0 {
&mdss_dsi0 {
	qcom,dsi-pref-prim-pan = <&dsi_hx8394d_480_vid>;
	qcom,dsi-pref-prim-pan = <&dsi_hx8394d_480_vid>;
};
};
+24 −0
Original line number Original line Diff line number Diff line
/*
 * Copyright (c) 2015-2016, 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.
 */

&external_image_mem {
	reg = <0x0 0x87a00000 0x0 0x0600000>;
};

&modem_adsp_mem {
	reg = <0x0 0x88000000 0x0 0x02c00000>;
};

&peripheral_mem {
	reg = <0x0 0x8ac00000 0x0 0x0500000>;
};
+1 −12
Original line number Original line Diff line number Diff line
@@ -16,6 +16,7 @@
#include "msm8909-pm8916.dtsi"
#include "msm8909-pm8916.dtsi"
#include "msm8909-pm8916-mtp.dtsi"
#include "msm8909-pm8916-mtp.dtsi"
#include "msm8909w.dtsi"
#include "msm8909w.dtsi"
#include "msm8909w-memory.dtsi"


&soc {
&soc {
	i2c@78b9000 { /* BLSP1 QUP5 */
	i2c@78b9000 { /* BLSP1 QUP5 */
@@ -50,18 +51,6 @@
	};
	};
};
};


&external_image_mem {
	reg = <0x0 0x87a00000 0x0 0x0600000>;
};

&modem_adsp_mem {
	reg = <0x0 0x88000000 0x0 0x05200000>;
};

&peripheral_mem {
	reg = <0x0 0x8d200000 0x0 0x0500000>;
};

&blsp1_uart1 {
&blsp1_uart1 {
	status = "ok";
	status = "ok";
	pinctrl-names = "default";
	pinctrl-names = "default";
+1 −12
Original line number Original line Diff line number Diff line
@@ -18,6 +18,7 @@
#include "msm8909-pm8916.dtsi"
#include "msm8909-pm8916.dtsi"
#include "msm8909-pm8916-mtp.dtsi"
#include "msm8909-pm8916-mtp.dtsi"
#include "msm8909w.dtsi"
#include "msm8909w.dtsi"
#include "apq8009w-memory.dtsi"


/ {
/ {
	model = "Qualcomm Technologies, Inc. APQ8009W-PM8916 MTP";
	model = "Qualcomm Technologies, Inc. APQ8009W-PM8916 MTP";
@@ -27,18 +28,6 @@
	qcom,board-id= <8 0x105>;
	qcom,board-id= <8 0x105>;
};
};


&external_image_mem {
	reg = <0x0 0x87a00000 0x0 0x0600000>;
};

&modem_adsp_mem {
	reg = <0x0 0x88000000 0x0 0x02c00000>;
};

&peripheral_mem {
	reg = <0x0 0x8ac00000 0x0 0x0500000>;
};

&soc {
&soc {
	i2c@78b9000 { /* BLSP1 QUP5 */
	i2c@78b9000 { /* BLSP1 QUP5 */
		synaptics@20 {
		synaptics@20 {
Loading