ramips: add support for Sercomm CPJ routers
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_netgear_sercomm_ayx.dtsi
index 0ae6ab46f7a3142c96eeec4dcacdb65df28f3444..052b2a4babe60b097b3793f733d74b32d2daddb0 100644 (file)
        wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0 0 0 0 0>;
-               mediatek,mtd-eeprom = <&factory 0x8000>;
                ieee80211-freq-limit = <5000000 6000000>;
+               nvmem-cells = <&eeprom1>;
+               nvmem-cell-names = "eeprom";
        };
 };
 
-&pcie1 {
+&pcie2 {
        wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0 0 0 0 0>;
-               mediatek,mtd-eeprom = <&factory 0x0>;
                ieee80211-freq-limit = <2400000 2500000>;
+               nvmem-cells = <&eeprom0>;
+               nvmem-cell-names = "eeprom";
        };
 };