ARM: dts: qcom: msm8974-klte-common: Pin WiFi board type
authorRong Zhang <i@rong.moe>
Tue, 13 Feb 2024 10:58:37 +0000 (18:58 +0800)
committerBjorn Andersson <andersson@kernel.org>
Tue, 23 Apr 2024 13:01:24 +0000 (08:01 -0500)
klte* variants have little difference in the WiFi part. Without
"brcm,board-type", variant-specific NVRAM file will be probed (e.g.,
klte probes samsung,klte). Pin it to "samsung,klte" to allow klte* to
load the same NVRAM file as klte.

Signed-off-by: Rong Zhang <i@rong.moe>
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Tested-by: Icenowy Zheng <uwu@icenowy.me>
Link: https://lore.kernel.org/r/20240213110137.122737-3-i@rong.moe
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi

index 11e35b34ebd669875370306766014a5ac898bb42..b5443fd5b425e01a03a2538d21c5ad4c7936582d 100644 (file)
                reg = <1>;
                compatible = "brcm,bcm4329-fmac";
 
+               /*
+                * Allow all klte* variants to load the same NVRAM file,
+                * as they have little difference in the WiFi part.
+                */
+               brcm,board-type = "samsung,klte";
+
                interrupt-parent = <&tlmm>;
                interrupts = <92 IRQ_TYPE_LEVEL_HIGH>;
                interrupt-names = "host-wake";