aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.15/950-0561-ARM-dts-Provide-WLAN-firmware-names-for-Zero-2-W.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm27xx/patches-5.15/950-0561-ARM-dts-Provide-WLAN-firmware-names-for-Zero-2-W.patch')
-rw-r--r--target/linux/bcm27xx/patches-5.15/950-0561-ARM-dts-Provide-WLAN-firmware-names-for-Zero-2-W.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.15/950-0561-ARM-dts-Provide-WLAN-firmware-names-for-Zero-2-W.patch b/target/linux/bcm27xx/patches-5.15/950-0561-ARM-dts-Provide-WLAN-firmware-names-for-Zero-2-W.patch
new file mode 100644
index 0000000000..23c8f5964a
--- /dev/null
+++ b/target/linux/bcm27xx/patches-5.15/950-0561-ARM-dts-Provide-WLAN-firmware-names-for-Zero-2-W.patch
@@ -0,0 +1,40 @@
+From ef292559833a279be2aac7ae8222348b1c122826 Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.com>
+Date: Thu, 28 Oct 2021 15:09:25 +0100
+Subject: [PATCH] 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(+)
+
+--- 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 @@
+ 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";
++ };
++ };
+ };
+ };
+