1 From 8960f095de3b80beb3639075f0c8161b6ea98c61 Mon Sep 17 00:00:00 2001
2 From: Dan Haab <dan.haab@luxul.com>
3 Date: Wed, 5 Jul 2023 09:32:51 -0600
4 Subject: [PATCH] ARM: dts: BCM5301X: Add Wi-Fi regulatory mappings for Luxul
7 This allows setting FullMAC firmware regulatory domain.
9 Signed-off-by: Dan Haab <dan.haab@luxul.com>
10 Link: https://lore.kernel.org/r/20230705153251.739236-1-riproute@gmail.com
11 Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
13 .../dts/broadcom/bcm47094-luxul-xap-1610.dts | 37 +++++++++++++++++++
14 .../broadcom/bcm47094-luxul-xwr-3150-v1.dts | 36 ++++++++++++++++++
15 2 files changed, 73 insertions(+)
17 --- a/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
18 +++ b/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
20 nvmem-cell-names = "mac-address";
25 + #address-cells = <3>;
29 + reg = <0x0000 0 0 0 0>;
31 + #address-cells = <3>;
35 + compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac";
36 + reg = <0x0000 0 0 0 0>;
37 + brcm,ccode-map = "AU-AU-920", "CA-CA-892", "GB-DE-964", "NZ-AU-920", "US-US-825";
43 + #address-cells = <3>;
47 + reg = <0x0000 0 0 0 0>;
49 + #address-cells = <3>;
53 + compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac";
54 + reg = <0x0000 0 0 0 0>;
55 + brcm,ccode-map = "AU-AU-920", "CA-CA-892", "GB-DE-964", "NZ-AU-920", "US-US-825";
63 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
64 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
66 nvmem-cell-names = "mac-address";
70 + #address-cells = <3>;
74 + reg = <0x0000 0 0 0 0>;
76 + #address-cells = <3>;
80 + compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac";
81 + reg = <0x0000 0 0 0 0>;
82 + brcm,ccode-map = "AU-AU-953", "CA-CA-946", "GB-E0-846", "NZ-AU-953", "US-Q2-930";
88 + #address-cells = <3>;
92 + reg = <0x0000 0 0 0 0>;
94 + #address-cells = <3>;
98 + compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac";
99 + reg = <0x0000 0 0 0 0>;
100 + brcm,ccode-map = "AU-AU-953", "CA-CA-946", "GB-E0-846", "NZ-AU-953", "US-Q2-930";
106 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;