ramips: improve support for WeVO 11AC NAS and W2914NS v2
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / mt7621_wevo_w2914ns-v2.dtsi
index 4e6cccaa7621314a45433d813f3c64e0120cc4c6..6ad3ef111fa9c832b2dbdcceed008c1dcec05c14 100644 (file)
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <10000000>;
+               spi-max-frequency = <80000000>;
+               m25p,fast-read;
 
                partitions {
                        compatible = "fixed-partitions";
 
 &pcie0 {
        wifi@0,0 {
-               compatible = "pci14c3,7603";
+               compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
                mediatek,mtd-eeprom = <&factory 0x0000>;
+
+               led {
+                       led-sources = <0>;
+                       led-active-low;
+               };
        };
 };
 
 &pcie1 {
        wifi@0,0 {
-               compatible = "pci14c3,7662";
+               compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
                mediatek,mtd-eeprom = <&factory 0x8000>;
                ieee80211-freq-limit = <5000000 6000000>;
+
+               led {
+                       led-sources = <2>;
+                       led-active-low;
+               };
        };
 };
 
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "wdt", "rgmii2", "jtag", "mdio";
+                       ralink,group = "wdt", "rgmii2";
                        ralink,function = "gpio";
                };
        };