[2/4] ARM: dts: qcom: msm8974-samsung-klte: Pin brcm,board-type in wifi

Message ID 20240121154010.168440-3-i@rong.moe
State New
Headers
Series ARM: dts: qcom: msm8974: Add Samsung Galaxy S5 China support |

Commit Message

Rong Zhang Jan. 21, 2024, 3:39 p.m. UTC
  klte variants, namely, klte*, have little difference in the WiFi part.

Pin brcm,board-type to "samsung,klte" to allow klte* load the same
firmware.

Signed-off-by: Rong Zhang <i@rong.moe>
---
 arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts | 6 ++++++
 1 file changed, 6 insertions(+)
  

Patch

diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts
index 013946ccda0f..9025345a1ab9 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts
+++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts
@@ -665,6 +665,12 @@  wifi@1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 
+		/*
+		 * This aims to allow other klte* variants to load the same firmware,
+		 * as klte variants have little differences in the wifi part.
+		 */
+		brcm,board-type = "samsung,klte";
+
 		interrupt-parent = <&tlmm>;
 		interrupts = <92 IRQ_TYPE_LEVEL_HIGH>;
 		interrupt-names = "host-wake";