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

Commit a114bcb3 authored by Arun Prakash's avatar Arun Prakash
Browse files

ARM: dts: msm: Add MPROC glink related node for gvm



Adding MPROC glink related dt nodes to enable direct
glink communication between GVM and remote sub system
(CDSP).

Change-Id: Ibf01aa831db8402c2f36f09d16de48ec01271224
Signed-off-by: default avatarArun Prakash <app@codeaurora.org>
parent 3aa681b6
Loading
Loading
Loading
Loading
+59 −0
Original line number Diff line number Diff line
@@ -20,6 +20,14 @@
		pci-domain0 = &pcie0; /* PCIe0 domain */
		sdhc2 = &sdhc_2; /* SDC2 SD card slot */
	};

	reserved_memory: reserved-memory {

		smem_region: smem {
			no-map;
			reg = <0x0 0x86000000 0x0 0x200000>;
		};
	};
};


@@ -871,6 +879,57 @@
		qcom,glb-db-receivers = <&hgsl_tcsr_receiver0
					&hgsl_tcsr_receiver1>;
	};

	tcsr_mutex_block: syscon@1f40000 {
		compatible = "syscon";
		reg = <0x1f40000 0x20000>;
	};

	tcsr_mutex: hwlock@1f40000 {
		compatible = "qcom,tcsr-mutex";
		syscon = <&tcsr_mutex_block 0 0x1000>;
		#hwlock-cells = <1>;
		mutex-id = <11>;
	};

	smem: qcom,smem@8600000 {
		compatible = "qcom,smem";
		memory-region = <&smem_region>;
		hwlocks = <&tcsr_mutex 3>;
		smem-host-id = <10>;
	};

	gvm_intr: mailbox@17c00000 {
		compatible = "qcom,sm8150-apcs-hmss-global";
		reg = <0x1c900000 0x100>;
		#mbox-cells = <1>;
	};

	qcom,glink {
		compatible = "qcom,glink";
		#address-cells = <1>;
		#size-cells = <1>;
		ranges;

		glink_cdsp: cdsp {
			qcom,remote-pid = <5>;
			transport = "smem";
			mboxes = <&gvm_intr 4>;
			mbox-names = "cdsp_smem";
			interrupts = <0 51 0>;
			vm-support;

			label = "cdsp";
			qcom,glink-label = "cdsp";

			qcom,cdsp_qrtr {
				qcom,glink-channels = "IPCRTR";
				qcom,intents = <0x800  5
						0x2000 3
						0x4400 2>;
			};
		};
	};
};

#include "sm8150-pinctrl.dtsi"