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

Commit 273ee93f authored by Frank Liu's avatar Frank Liu
Browse files

ARM: dts: msm: Add cnss node for sa8155



To enable CNSS2 platform driver for WLAN Rome chipset attachment.

Change-Id: I6954ae5705e5c719a567a6d33eea6bb194c1e79f
Signed-off-by: default avatarFrank Liu <qiliu@codeaurora.org>
parent ad1e28d6
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -704,4 +704,10 @@
			qcom,init-mode = <RPMH_REGULATOR_MODE_LPM>;
			qcom,init-mode = <RPMH_REGULATOR_MODE_LPM>;
		};
		};
	};
	};

	/* Rome 3.3V supply */
	vreg_wlan: vreg_wlan {
		compatible = "qcom,stub-regulator";
		regulator-name = "vreg_wlan";
	};
};
};
+28 −0
Original line number Original line Diff line number Diff line
@@ -695,4 +695,32 @@
			qcom,iova-mapping = <0x80000000 0x40000000>;
			qcom,iova-mapping = <0x80000000 0x40000000>;
		};
		};
	};
	};

	cnss_pcie: qcom,cnss {
		compatible = "qcom,cnss";
		wlan-en-gpio = <&tlmm 169 0>;
		vdd-wlan-supply = <&vreg_wlan>;
		reg = <0x10000000 0x10000000>,
			<0x20000000 0x10000>;
		reg-names = "smmu_iova_base", "smmu_iova_ipa";
		qcom,notify-modem-status;
		pinctrl-names = "wlan_en_active", "wlan_en_sleep";
		pinctrl-0 = <&cnss_wlan_en_active>;
		pinctrl-1 = <&cnss_wlan_en_sleep>;
		qcom,wlan-rc-num = <0>;
		qcom,wlan-ramdump-dynamic = <0x200000>;

		qcom,msm-bus,name = "msm-cnss";
		qcom,msm-bus,num-cases = <4>;
		qcom,msm-bus,num-paths = <2>;
		qcom,msm-bus,vectors-KBps =
				<45 512 0 0>, <1 512 0 0>,
				/* Upto 200 Mbps */
				<45 512 41421 655360>, <1 512 41421 655360>,
				/* Upto 400 Mbps */
				<45 512 98572 655360>, <1 512 98572 1600000>,
				/* Upto 800 Mbps */
				<45 512 207108 1146880>, <1 512 207108 3124992>;
		qcom,smmu-s1-enable;
	};
};
};
+29 −0
Original line number Original line Diff line number Diff line
@@ -407,6 +407,35 @@
			};
			};
		};
		};


		cnss_pins {
			cnss_wlan_en_active: cnss_wlan_en_active {
				mux {
					pins = "gpio169";
					function = "gpio";
				};

				config {
					pins = "gpio169";
					drive-strength = <16>;
					output-high;
					bias-pull-up;
				};
			};
			cnss_wlan_en_sleep: cnss_wlan_en_sleep {
				mux {
					pins = "gpio169";
					function = "gpio";
				};

				config {
					pins = "gpio169";
					drive-strength = <2>;
					output-low;
					bias-pull-down;
				};
			};
		};

		wil6210_refclk3_en_pin: wil6210_refclk3_en_pin {
		wil6210_refclk3_en_pin: wil6210_refclk3_en_pin {
			mux {
			mux {
				pins = "gpio87";
				pins = "gpio87";