mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
37ff916af7
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
108 lines
2.4 KiB
Diff
108 lines
2.4 KiB
Diff
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>;
|
|
};
|