aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-02-09 12:15:17 +0000
committerJohn Crispin <blogic@openwrt.org>2015-02-09 12:15:17 +0000
commit8caac7cc7f56e2aecca5b0f8d11374b289763b39 (patch)
tree89ec6823fbf350e1dff82494e443626f4ad7e7fc /target
parent9ef1cce1179a78d167366261585803545b6ceb5b (diff)
downloadupstream-8caac7cc7f56e2aecca5b0f8d11374b289763b39.tar.gz
upstream-8caac7cc7f56e2aecca5b0f8d11374b289763b39.tar.bz2
upstream-8caac7cc7f56e2aecca5b0f8d11374b289763b39.zip
ramips: fix mt76 radio pcie location definition for in Xiaomi MiWiFi Mini
This patch sets the correct location of the mt76 radio in the pcie bridge (pcie-bridge instead of pcie0). Additionaly, it disables the 2.4 GHz band. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44355 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts b/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
index fda3325b53..2cc55482fd 100644
--- a/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
+++ b/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
@@ -97,11 +97,12 @@
pcie@10140000 {
status = "okay";
- pcie0 {
+ pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
+ mediatek,2ghz = <0>;
};
};
};