ramips: fix mt76 radio pcie location definition for in Xiaomi MiWiFi Mini
authorJohn Crispin <john@openwrt.org>
Mon, 9 Feb 2015 12:15:17 +0000 (12:15 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 9 Feb 2015 12:15:17 +0000 (12:15 +0000)
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>
SVN-Revision: 44355

target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts

index fda3325b53cfd4fbb47541ac0b24a3949eaa050a..2cc55482fd0c26ddb129673ce6e3111910748dba 100644 (file)
        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>;
                        };
                };
        };