3ffe0b2f170e535956897e60473b9c34268f3c08
[openwrt/staging/ansuel.git] /
1 From 752a63b8dbe6cc6900efd1035bea427a778a4b55 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Fri, 2 Jun 2023 15:59:25 +0200
4 Subject: [PATCH] ARM: dts: BCM5301X: Add Netgear R8000 WiFi regulator mappings
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 This allows setting FullMAC firmware regulatory domain.
10
11 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
12 Link: https://lore.kernel.org/r/20230602135925.14143-3-zajec5@gmail.com
13 Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
14 ---
15 arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 17 +++++++++++++++++
16 1 file changed, 17 insertions(+)
17
18 --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
19 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
20 @@ -137,8 +137,10 @@
21 #size-cells = <2>;
22
23 wifi@0,1,0 {
24 + compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac";
25 reg = <0x0000 0 0 0 0>;
26 ieee80211-freq-limit = <5735000 5835000>;
27 + brcm,ccode-map = "JP-JP-78", "US-Q2-86";
28 };
29 };
30 };
31 @@ -159,6 +161,19 @@
32 #address-cells = <3>;
33 #size-cells = <2>;
34
35 + bridge@1,0 {
36 + reg = <0x800 0 0 0 0>;
37 +
38 + #address-cells = <3>;
39 + #size-cells = <2>;
40 +
41 + wifi@0,0 {
42 + compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac";
43 + reg = <0x0000 0 0 0 0>;
44 + brcm,ccode-map = "JP-JP-78", "US-Q2-86";
45 + };
46 + };
47 +
48 bridge@1,2,2 {
49 reg = <0x1000 0 0 0 0>;
50
51 @@ -166,8 +181,10 @@
52 #size-cells = <2>;
53
54 wifi@1,4,0 {
55 + compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac";
56 reg = <0x0000 0 0 0 0>;
57 ieee80211-freq-limit = <5170000 5730000>;
58 + brcm,ccode-map = "JP-JP-78", "US-Q2-86";
59 };
60 };
61 };