arm64: dts: qcom: qrb4210-rb2: Enable MPSS and Wi-Fi
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Sat, 4 Nov 2023 20:56:35 +0000 (21:56 +0100)
committerBjorn Andersson <andersson@kernel.org>
Sat, 16 Dec 2023 04:56:07 +0000 (22:56 -0600)
Enable the remote processors and tighten up the regulators to enable
Wi-Fi functionality on the RB2.

For reference, the hw/sw identifies as:

qmi chip_id 0x150 chip_family 0x4002 board_id 0xff soc_id 0x40670000
qmi fw_version 0x337302d3 fw_build_timestamp 2023-01-06 01:50
fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.3.3.7.c2-00723-QCAHLSWMTPLZ-1
wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
firmware ver  api 5 features wowlan,mgmt-tx-by-reference,non-bmi
crc32 b3d4b790
htt-ver 3.114 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231104-topic-rb2_wifi-v1-1-fd45ae535d2f@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qrb4210-rb2.dts

index 33c312ae842e473afc4674a3c129788f2cbbe438..7c19f874fa716d1ca616deaf5537001204e7f9f0 100644 (file)
        status = "okay";
 };
 
+&remoteproc_mpss {
+       firmware-name = "qcom/qrb4210/modem.mbn";
+
+       status = "okay";
+};
+
 &rpm_requests {
        regulators {
                compatible = "qcom,rpm-pm6125-regulators";
                };
 
                vreg_l8a_0p664: l8 {
-                       regulator-min-microvolt = <400000>;
-                       regulator-max-microvolt = <728000>;
+                       regulator-min-microvolt = <640000>;
+                       regulator-max-microvolt = <640000>;
                };
 
                vreg_l9a_1p8: l9 {
                };
 
                vreg_l23a_3p3: l23 {
-                       regulator-min-microvolt = <3200000>;
-                       regulator-max-microvolt = <3400000>;
+                       regulator-min-microvolt = <3312000>;
+                       regulator-max-microvolt = <3312000>;
                        regulator-allow-set-load;
                };
 
        status = "okay";
 };
 
+&wifi {
+       vdd-0.8-cx-mx-supply = <&vreg_l8a_0p664>;
+       vdd-1.8-xo-supply = <&vreg_l16a_1p3>;
+       vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
+       vdd-3.3-ch0-supply = <&vreg_l23a_3p3>;
+       qcom,ath10k-calibration-variant = "Thundercomm_RB2";
+
+       status = "okay";
+};
+
 &xo_board {
        clock-frequency = <19200000>;
 };