ramips: Fix WiFi after 5f7396ebef09b224edf08b0bda113613a42f0928
[openwrt/openwrt.git] / target / linux / ramips / dts / R6220.dts
index 72c6fc7d5a4c0b3e358b233159b9e3c720a116d5..d0010830ef93315bbc784dd766bf0ecfea45e034 100644 (file)
@@ -6,6 +6,7 @@
 #include <dt-bindings/input/input.h>
 
 / {
+       compatible = "netgear,r6220", "mediatek,mt7621-soc";
        model = "Netgear R6220";
 
        memory@0 {
@@ -78,7 +79,7 @@
                usbpower {
                        gpio-export,name = "usbpower";
                        gpio-export,output = <1>;
-                       gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
                };
        };
 };
        partition@4200000 {
                label = "reserved";
                reg = <0x4200000 0x3c00000>;
+               read-only;
        };
 };
 
 
        pcie0 {
                mt76@0,0 {
-                       reg = <0x0000 0 0 0 0>;
-                       device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
                        ieee80211-freq-limit = <5000000 6000000>;
                };
 
        pcie1 {
                mt76@1,0 {
-                       reg = <0x0000 0 0 0 0>;
-                       device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
                        ieee80211-freq-limit = <2400000 2500000>;
                };