1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-13 20:01:55 +00:00
openmptcprouter/root/target/linux/bcm27xx/patches-5.15/0607-ARM-dts-Provide-WLAN-firmware-names-for-Zero-2-W.patch

46 lines
1.3 KiB
Diff
Raw Normal View History

2021-11-24 17:32:01 +00:00
From f91f34c091eeede5f57c691e4bbaa6fe9d1d6dce Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Thu, 28 Oct 2021 15:09:25 +0100
Subject: [PATCH 607/634] ARM: dts: Provide WLAN firmware names for Zero 2 W
BCM43430/2 may be BCM43430B0 or BCM43436P, and BCM43430/1 can be either
BCM43430A1 or BCM43436S, the former being upstream names and the
latter downstream names for differently-sourced sister parts.
Make the choice of firmwares board-specific (without making the actual
firmwares board-specific) by placing the alternative firmware names for
each part in the DT node.
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm/boot/dts/bcm2710-rpi-zero-2-w.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/bcm2710-rpi-zero-2-w.dts b/arch/arm/boot/dts/bcm2710-rpi-zero-2-w.dts
index 2bd223a405a7..1cd3d01a166d 100644
--- a/arch/arm/boot/dts/bcm2710-rpi-zero-2-w.dts
+++ b/arch/arm/boot/dts/bcm2710-rpi-zero-2-w.dts
@@ -89,6 +89,19 @@ &mmcnr {
brcmf: wifi@1 {
reg = <1>;
compatible = "brcm,bcm4329-fmac";
+
+ firmwares {
+ fw_43436p {
+ chipid = <43430>;
+ revmask = <4>;
+ fw_base = "brcm/brcmfmac43436-sdio";
+ };
+ fw_43436s {
+ chipid = <43430>;
+ revmask = <2>;
+ fw_base = "brcm/brcmfmac43436s-sdio";
+ };
+ };
};
};
--
2.33.1