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

Commit cfd3c212 authored by Yue Ma's avatar Yue Ma Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add CNSS device tree node for SM8150



This can enable CNSS2 platform driver for WLAN QCA6390 chipset.

Change-Id: Ida0fed34e432ba78d08459cf3527feb7d8ff2ab9
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent 035ea101
Loading
Loading
Loading
Loading
+100 −0
Original line number Diff line number Diff line
@@ -3588,6 +3588,106 @@
		mbox-names = "aop";
	};

	qcom,cnss-qca6390@a0000000 {
		compatible = "qcom,cnss-qca6390";
		reg = <0xa0000000 0x10000000>,
		      <0xb0000000 0x10000>;
		reg-names = "smmu_iova_base", "smmu_iova_ipa";
		pinctrl-names = "disabled";
		pinctrl-0 = <>;
		qcom,wlan-rc-num = <0>;
		qcom,wlan-ramdump-dynamic = <0x400000>;

		mhi,max-channels = <30>;
		mhi,timeout = <1000>;

		mhi_chan@0 {
			reg = <0>;
			label = "LOOPBACK";
			mhi,num-elements = <32>;
			mhi,event-ring = <1>;
			mhi,chan-dir = <1>;
			mhi,data-type = <0>;
			mhi,doorbell-mode = <2>;
			mhi,ee = <0x14>;
		};

		mhi_chan@1 {
			reg = <1>;
			label = "LOOPBACK";
			mhi,num-elements = <32>;
			mhi,event-ring = <1>;
			mhi,chan-dir = <2>;
			mhi,data-type = <0>;
			mhi,doorbell-mode = <2>;
			mhi,ee = <0x14>;
		};

		mhi_chan@4 {
			reg = <4>;
			label = "DIAG";
			mhi,num-elements = <32>;
			mhi,event-ring = <1>;
			mhi,chan-dir = <1>;
			mhi,data-type = <0>;
			mhi,doorbell-mode = <2>;
			mhi,ee = <0x14>;
		};

		mhi_chan@5 {
			reg = <5>;
			label = "DIAG";
			mhi,num-elements = <32>;
			mhi,event-ring = <1>;
			mhi,chan-dir = <2>;
			mhi,data-type = <0>;
			mhi,doorbell-mode = <2>;
			mhi,ee = <0x14>;
		};

		mhi_chan@20 {
			reg = <20>;
			label = "IPCR";
			mhi,num-elements = <32>;
			mhi,event-ring = <1>;
			mhi,chan-dir = <1>;
			mhi,data-type = <1>;
			mhi,doorbell-mode = <2>;
			mhi,ee = <0x14>;
			mhi,auto-start;
		};

		mhi_chan@21 {
			reg = <21>;
			label = "IPCR";
			mhi,num-elements = <32>;
			mhi,event-ring = <1>;
			mhi,chan-dir = <2>;
			mhi,data-type = <0>;
			mhi,doorbell-mode = <2>;
			mhi,ee = <0x14>;
			mhi,auto-queue;
			mhi,auto-start;
		};

		mhi_event@0 {
			mhi,num-elements = <32>;
			mhi,intmod = <1>;
			mhi,msi = <1>;
			mhi,priority = <1>;
			mhi,brstmode = <2>;
			mhi,data-type = <1>;
		};

		mhi_event@1 {
			mhi,num-elements = <256>;
			mhi,intmod = <1>;
			mhi,msi = <2>;
			mhi,priority = <1>;
			mhi,brstmode = <2>;
		};
	};

	icnss: qcom,icnss@18800000 {
		compatible = "qcom,icnss";
		reg = <0x18800000 0x800000>,