diff mbox

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

Message ID 1419103933-15591-1-git-send-email-chris+openwrt@zenthought.org
State Accepted
Headers show

Commit Message

Christopher Lais Dec. 20, 2014, 7:32 p.m. UTC
Update firmware location for 2.4GHz radio on the Edimax BR-6475nD.

Signed-off-by: Christopher Lais <chris+openwrt@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 mbox

Patch

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@10180000 {
+		status = "okay";
 		ralink,mtd-eeprom = <&factory 0>;
 	};
 
@@ -58,9 +59,10 @@ 
 			pci-bridge@1 {
 				status = "okay";
 				wmac@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";
 				};
 			};
 		};