Commit 1e7594a3 authored by Rakesh Pillai's avatar Rakesh Pillai Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sc7180: Add WCN3990 WLAN module device node



Add device node for the ath10k SNOC platform driver probe
and add resources required for WCN3990 on sc7180 soc.

Signed-off-by: default avatarRakesh Pillai <pillair@codeaurora.org>
Link: https://lore.kernel.org/r/1592668635-10894-1-git-send-email-pillair@codeaurora.org


Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent e0d9acce
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -389,6 +389,17 @@
	};
};

&wifi {
	status = "okay";
	vdd-0.8-cx-mx = <&vreg_l9a_0p6>;
	vdd-1.8-xo = <&vreg_l1c_1p8>;
	vdd-1.3-rfa = <&vreg_l2c_1p3>;
	vdd-3.3-ch0 = <&vreg_l10c_3p3>;
	wifi-firmware {
		iommus = <&apps_smmu 0xc2 0x1>;
	};
};

/* PINCTRL - additions to nodes defined in sc7180.dtsi */

&qspi_clk {
+22 −0
Original line number Diff line number Diff line
@@ -2814,6 +2814,28 @@

			#freq-domain-cells = <1>;
		};

		wifi: wifi@18800000 {
			compatible = "qcom,wcn3990-wifi";
			reg = <0 0x18800000 0 0x800000>;
			reg-names = "membase";
			iommus = <&apps_smmu 0xc0 0x1>;
			interrupts =
				<GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH /* CE0 */ >,
				<GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH /* CE1 */ >,
				<GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH /* CE2 */ >,
				<GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH /* CE3 */ >,
				<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH /* CE4 */ >,
				<GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH /* CE5 */ >,
				<GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH /* CE6 */ >,
				<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH /* CE7 */ >,
				<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH /* CE8 */ >,
				<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH /* CE9 */ >,
				<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH /* CE10 */>,
				<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH /* CE11 */>;
			memory-region = <&wlan_mem>;
			status = "disabled";
		};
	};

	thermal-zones {