[OpenWrt-Devel] [PATCH] ramips: update BR-6475ND dts

Christopher Lais chris+openwrt at zenthought.org
Sat Dec 20 14:32:13 EST 2014


Update firmware location for 2.4GHz radio on the Edimax BR-6475nD.

Signed-off-by: Christopher Lais <chris+openwrt at zenthought.org>
---
 .../linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom   | 2 +-
 target/linux/ramips/dts/BR-6475ND.dts                                 | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 2a5a80c..0cd95a5 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -42,7 +42,7 @@ case "$FIRMWARE" in
 	cy-swr1100)
 		rt2x00_eeprom_extract "factory" 8192 512
 		;;
-	rt-n56u | whr-600d | whr-1166d)
+	br-6475nd | rt-n56u | whr-600d | whr-1166d)
 		rt2x00_eeprom_extract "factory" 32768 512
 		;;
 	esac
diff --git a/target/linux/ramips/dts/BR-6475ND.dts b/target/linux/ramips/dts/BR-6475ND.dts
index 06f00d6..1907028 100644
--- a/target/linux/ramips/dts/BR-6475ND.dts
+++ b/target/linux/ramips/dts/BR-6475ND.dts
@@ -39,6 +39,7 @@
 	};
 
 	wmac at 10180000 {
+		status = "okay";
 		ralink,mtd-eeprom = <&factory 0>;
 	};
 
@@ -58,9 +59,10 @@
 			pci-bridge at 1 {
 				status = "okay";
 				wmac at 0,0 {
+					ralink,5ghz = <0>;
 					compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
 					reg = < 0x10000 0 0 0 0 >;
-					ralink,eeprom = "soc_wmac.eeprom";
+					ralink,eeprom = "rt2x00pci_1_0.eeprom";
 				};
 			};
 		};
-- 
2.1.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list