aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorL. D. Pinney <ldpinney@gmail.com>2016-12-16 18:59:53 -0600
committerJohn Crispin <john@phrozen.org>2016-12-20 09:35:35 +0100
commit02ca833f042ff9b8db015da77d8b5e9c00ccb850 (patch)
treee22149829d2460bb430a7ceb3395897329c229df /target
parent6439e396772a67bf058ff76b15cb9a6dec1882cc (diff)
downloadupstream-02ca833f042ff9b8db015da77d8b5e9c00ccb850.tar.gz
upstream-02ca833f042ff9b8db015da77d8b5e9c00ccb850.tar.bz2
upstream-02ca833f042ff9b8db015da77d8b5e9c00ccb850.zip
ramips: WNDR3700v5 fix mtd partitions and radios
Fix the mtd partition layout and enable both radios in the dts Tested-by Andrius Štikonas <andrius@stikonas.eu> Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/WNDR3700V5.dts13
1 files changed, 7 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/WNDR3700V5.dts b/target/linux/ramips/dts/WNDR3700V5.dts
index b9ca6135a3..bb879a1441 100644
--- a/target/linux/ramips/dts/WNDR3700V5.dts
+++ b/target/linux/ramips/dts/WNDR3700V5.dts
@@ -81,6 +81,7 @@
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
+ read-only;
};
partition@30000 {
@@ -97,7 +98,7 @@
partition@50000 {
label = "firmware";
- reg = <0x50000 0xfb0000>;
+ reg = <0x50000 0xee0000>;
};
};
};
@@ -109,16 +110,16 @@
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
- mediatek,mtd-eeprom = <&factory 0x0004>;
+ mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
};
};
- pcie2 {
- mt76@2,0 {
- reg = <0x1000 0 0 0 0>;
+ pcie1 {
+ mt76@1,0 {
+ reg = <0x0000 0 0 0 0>;
device_type = "pci";
- mediatek,mtd-eeprom = <&factory 0x8004>;
+ mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
};
};