summaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-5.4/044-v6.6-0002-ARM-dts-BCM5301X-Add-Wi-Fi-regulatory-mappings-for-L.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2023-07-14 12:35:26 +0200
committerRafał Miłecki <rafal@milecki.pl>2023-07-14 14:56:51 +0200
commitf5fbde4c1157b156e259d95edae9cc3775bfbc03 (patch)
treecbc2673251efac52f0e37937c9ce49c12ef3346c /target/linux/bcm53xx/patches-5.4/044-v6.6-0002-ARM-dts-BCM5301X-Add-Wi-Fi-regulatory-mappings-for-L.patch
parentfff279f4a712044c754ed40673696d917cc3533f (diff)
downloadopenwrt-f5fbde4c1157b156e259d95edae9cc3775bfbc03.tar.gz
openwrt-f5fbde4c1157b156e259d95edae9cc3775bfbc03.tar.bz2
openwrt-f5fbde4c1157b156e259d95edae9cc3775bfbc03.zip
bcm53xx: backport DT changes queued for v6.6
Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 37ff916af789911fdefb802ce9903e866eb82435)
Diffstat (limited to 'target/linux/bcm53xx/patches-5.4/044-v6.6-0002-ARM-dts-BCM5301X-Add-Wi-Fi-regulatory-mappings-for-L.patch')
-rw-r--r--target/linux/bcm53xx/patches-5.4/044-v6.6-0002-ARM-dts-BCM5301X-Add-Wi-Fi-regulatory-mappings-for-L.patch107
1 files changed, 107 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-5.4/044-v6.6-0002-ARM-dts-BCM5301X-Add-Wi-Fi-regulatory-mappings-for-L.patch b/target/linux/bcm53xx/patches-5.4/044-v6.6-0002-ARM-dts-BCM5301X-Add-Wi-Fi-regulatory-mappings-for-L.patch
new file mode 100644
index 0000000000..e5143abf58
--- /dev/null
+++ b/target/linux/bcm53xx/patches-5.4/044-v6.6-0002-ARM-dts-BCM5301X-Add-Wi-Fi-regulatory-mappings-for-L.patch
@@ -0,0 +1,107 @@
+From 8960f095de3b80beb3639075f0c8161b6ea98c61 Mon Sep 17 00:00:00 2001
+From: Dan Haab <dan.haab@luxul.com>
+Date: Wed, 5 Jul 2023 09:32:51 -0600
+Subject: [PATCH] ARM: dts: BCM5301X: Add Wi-Fi regulatory mappings for Luxul
+ devices
+
+This allows setting FullMAC firmware regulatory domain.
+
+Signed-off-by: Dan Haab <dan.haab@luxul.com>
+Link: https://lore.kernel.org/r/20230705153251.739236-1-riproute@gmail.com
+Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
+---
+ .../dts/broadcom/bcm47094-luxul-xap-1610.dts | 37 +++++++++++++++++++
+ .../broadcom/bcm47094-luxul-xwr-3150-v1.dts | 36 ++++++++++++++++++
+ 2 files changed, 73 insertions(+)
+
+--- a/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
++++ b/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
+@@ -64,6 +64,43 @@
+ nvmem-cell-names = "mac-address";
+ };
+
++
++&pcie0 {
++ #address-cells = <3>;
++ #size-cells = <2>;
++
++ bridge@0,0 {
++ reg = <0x0000 0 0 0 0>;
++
++ #address-cells = <3>;
++ #size-cells = <2>;
++
++ wifi@0,0 {
++ compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac";
++ reg = <0x0000 0 0 0 0>;
++ brcm,ccode-map = "AU-AU-920", "CA-CA-892", "GB-DE-964", "NZ-AU-920", "US-US-825";
++ };
++ };
++};
++
++&pcie1 {
++ #address-cells = <3>;
++ #size-cells = <2>;
++
++ bridge@0,0 {
++ reg = <0x0000 0 0 0 0>;
++
++ #address-cells = <3>;
++ #size-cells = <2>;
++
++ wifi@0,0 {
++ compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac";
++ reg = <0x0000 0 0 0 0>;
++ brcm,ccode-map = "AU-AU-920", "CA-CA-892", "GB-DE-964", "NZ-AU-920", "US-US-825";
++ };
++ };
++};
++
+ &spi_nor {
+ status = "okay";
+ };
+--- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
++++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
+@@ -81,6 +81,42 @@
+ nvmem-cell-names = "mac-address";
+ };
+
++&pcie0 {
++ #address-cells = <3>;
++ #size-cells = <2>;
++
++ bridge@0,0 {
++ reg = <0x0000 0 0 0 0>;
++
++ #address-cells = <3>;
++ #size-cells = <2>;
++
++ wifi@0,0 {
++ compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac";
++ reg = <0x0000 0 0 0 0>;
++ brcm,ccode-map = "AU-AU-953", "CA-CA-946", "GB-E0-846", "NZ-AU-953", "US-Q2-930";
++ };
++ };
++};
++
++&pcie1 {
++ #address-cells = <3>;
++ #size-cells = <2>;
++
++ bridge@0,0 {
++ reg = <0x0000 0 0 0 0>;
++
++ #address-cells = <3>;
++ #size-cells = <2>;
++
++ wifi@0,0 {
++ compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac";
++ reg = <0x0000 0 0 0 0>;
++ brcm,ccode-map = "AU-AU-953", "CA-CA-946", "GB-E0-846", "NZ-AU-953", "US-Q2-930";
++ };
++ };
++};
++
+ &usb3 {
+ vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
+ };