arm64: dts: qcom: sc7180: Add WCN3990 WLAN module device node
authorRakesh Pillai <pillair@codeaurora.org>
Sat, 20 Jun 2020 15:57:15 +0000 (21:27 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 21 Jun 2020 06:47:06 +0000 (23:47 -0700)
Add device node for the ath10k SNOC platform driver probe
and add resources required for WCN3990 on sc7180 soc.

Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Link: https://lore.kernel.org/r/1592668635-10894-1-git-send-email-pillair@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sc7180-idp.dts
arch/arm64/boot/dts/qcom/sc7180.dtsi

index 4e9149d82d09ed9e25f6113eda5e5b25c14d54ba..39dbfc89689e8ace3e6e812c081184106df65ed1 100644 (file)
        };
 };
 
+&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 {
index 5b022bc5623da954bc5f21cf0967f2d9f98a9905..3a8076c8bdbf544d2335ab9e1687a14b64c53634 100644 (file)
 
                        #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 {