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

Commit 56f3d47c authored by Hongwei Ren's avatar Hongwei Ren Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Enable modem subsystem

Enable modem subsystem for icnss2.

Change-Id: I80a6bffb706d9669dfa80646182a6838d0a4cb1e
parent 59b27b0e
Loading
Loading
Loading
Loading
+1497 −0

File added.

Preview size limit exceeded, changes collapsed.

+54 −5
Original line number Diff line number Diff line
@@ -289,6 +289,14 @@
			size = <0x0 0x1000000>;
		};

		memshare_mem: memshare_region {
			compatible = "shared-dma-pool";
			no-map;
			alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
			alignment = <0x0 0x100000>;
			size = <0x0 0x800000>;
		};

		/* global autoconfigured region for contiguous allocations */
		linux,cma {
			compatible = "shared-dma-pool";
@@ -500,7 +508,7 @@
		reg = <0x0 0x280000>;
		reg-names = "rmtfs";
		qcom,client-id = <0x00000001>;
		qcom,guard-memory;
		qcom,vm-nav-path;
	};

	thermal_zones: thermal-zones { };
@@ -835,8 +843,11 @@
		reg = <0x1400000 0x1f0000>;
		reg-names = "cc_base";
		vdd_cx-supply = <&VDD_CX_LEVEL>;
		vdd_cx_ao-supply = <&VDD_CX_LEVEL_AO>;
		vdd_mx-supply = <&VDD_MX_LEVEL>;
		clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
			 <&rpmcc RPM_SMD_XO_A_CLK_SRC>,
			 <&sleep_clk>;
		clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
		#clock-cells = <1>;
		#reset-cells = <1>;
	};
@@ -1061,6 +1072,14 @@
		qcom,smem-state-names = "qcom,force-stop";
	};

	qcom,ipa_fws {
		compatible = "qcom,pil-tz-generic";
		qcom,pas-id = <0xf>;
		qcom,firmware-name = "ipa_fws";
		qcom,pil-force-shutdown;
		memory-region = <&pil_ipa_fw_mem>;
	};

	pil_modem: qcom,mss@6080000 {
		compatible = "qcom,pil-tz-generic";
		reg = <0x6080000 0x100>;
@@ -1318,8 +1337,8 @@
		vdd-1.8-xo-supply = <&L13A>;
		vdd-1.3-rfa-supply = <&L10A>;
		vdd-3.3-ch0-supply = <&L22A>;
		qcom,vdd-cx-mx-config = <640000 640000>;
		qcom,vdd-3.3-ch0-config = <3000000 3312000>;
		qcom,vdd-cx-mx-config = <640000 640000 0 0 1>;
		qcom,vdd-3.3-ch0-config = <3000000 3312000 0 0 0>;
		qcom,smp2p_map_wlan_1_in {
			interrupts-extended = <&smp2p_wlan_1_in 0 0>,
					      <&smp2p_wlan_1_in 1 0>;
@@ -1344,7 +1363,7 @@
	};

	system_noc: interconnect@1880000 {
		reg = <0x01880000 0x60200>;
		reg = <0x01880000 0x5e080>;
		compatible = "qcom,scuba-system_noc";
		#interconnect-cells = <1>;
	};
@@ -1361,6 +1380,35 @@
		#interconnect-cells = <1>;
	};

	qcom,memshare {
		compatible = "qcom,memshare";

		qcom,client_1 {
			compatible = "qcom,memshare-peripheral";
			qcom,peripheral-size = <0x0>;
			qcom,client-id = <0>;
			qcom,allocate-boot-time;
			label = "modem";
		};

		qcom,client_2 {
			compatible = "qcom,memshare-peripheral";
			qcom,peripheral-size = <0x0>;
			qcom,client-id = <2>;
			label = "modem";
		};

		qcom,client_3 {
			compatible = "qcom,memshare-peripheral";
			qcom,peripheral-size = <0x500000>;
			memory-region = <&memshare_mem>;
			qcom,client-id = <1>;
			qcom,allocate-on-request;
			label = "modem";
		};
	};


	qcom-secure-buffer {
		compatible = "qcom,secure-buffer";
	};
@@ -1376,6 +1424,7 @@
#include "qrb2210-rb1-qupv3.dtsi"
#include "qrb2210-rb1-gdsc.dtsi"
#include "qrb2210-rb1-usb.dtsi"
#include "qrb2210-rb1-coresight.dtsi"

&qupv3_se1_i2c {
	#address-cells = <1>;