bcm27xx: add support for linux v5.15
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.15 / 950-0561-ARM-dts-Provide-WLAN-firmware-names-for-Zero-2-W.patch
1 From ef292559833a279be2aac7ae8222348b1c122826 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Thu, 28 Oct 2021 15:09:25 +0100
4 Subject: [PATCH] ARM: dts: Provide WLAN firmware names for Zero 2 W
5
6 BCM43430/2 may be BCM43430B0 or BCM43436P, and BCM43430/1 can be either
7 BCM43430A1 or BCM43436S, the former being upstream names and the
8 latter downstream names for differently-sourced sister parts.
9
10 Make the choice of firmwares board-specific (without making the actual
11 firmwares board-specific) by placing the alternative firmware names for
12 each part in the DT node.
13
14 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
15 ---
16 arch/arm/boot/dts/bcm2710-rpi-zero-2-w.dts | 13 +++++++++++++
17 1 file changed, 13 insertions(+)
18
19 --- a/arch/arm/boot/dts/bcm2710-rpi-zero-2-w.dts
20 +++ b/arch/arm/boot/dts/bcm2710-rpi-zero-2-w.dts
21 @@ -89,6 +89,19 @@
22 brcmf: wifi@1 {
23 reg = <1>;
24 compatible = "brcm,bcm4329-fmac";
25 +
26 + firmwares {
27 + fw_43436p {
28 + chipid = <43430>;
29 + revmask = <4>;
30 + fw_base = "brcm/brcmfmac43436-sdio";
31 + };
32 + fw_43436s {
33 + chipid = <43430>;
34 + revmask = <2>;
35 + fw_base = "brcm/brcmfmac43436s-sdio";
36 + };
37 + };
38 };
39 };
40