[source] ramips: fix WHR-600D eeprom dt property

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 12 23:22:21 PDT 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/21abb7492c217e7d9959f578a7aab98457e3820a

commit 21abb7492c217e7d9959f578a7aab98457e3820a
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Sun Apr 9 09:12:55 2017 +0200

    ramips: fix WHR-600D eeprom dt property
    
    Fix the PCIe 5GHz wireless by using the ralink mtd-eeprom property as
    this board have a RT5592 and uses the rt2x00 driver. The mediathek
    device tree bindings do not work here.
    
    Fixes: FS#691
    
    Fixes: d8dd207ea6f2 ("ramips: use the ralink,mtd-eeprom device tree property")
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 target/linux/ramips/dts/WHR-600D.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/ramips/dts/WHR-600D.dts b/target/linux/ramips/dts/WHR-600D.dts
index 9370d15..1100261 100644
--- a/target/linux/ramips/dts/WHR-600D.dts
+++ b/target/linux/ramips/dts/WHR-600D.dts
@@ -148,10 +148,10 @@
 	status = "okay";
 
 	pcie-bridge {
-		wifi at 1814,3091 {
-			compatible = "pci1814,3091";
+		wifi at 1814,5592 {
+			compatible = "pci1814,5592";
 			reg = <0x0000 0 0 0 0>;
-			mediatek,mtd-eeprom = <&factory 0x8000>;
+			ralink,mtd-eeprom = <&factory 0x8000>;
 		};
 	};
 };



More information about the lede-commits mailing list