ramips: removing unnecessary compatibility for TP-Link Archer C2 v1
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_elecom_wrc-1750gsv.dts
index 7f2f04d9eacef37a41543f8eb15c54e9ef8a86e5..d978ff8238840d98cbc25b2b8330438064e417b6 100644 (file)
        nvmem-cell-names = "mac-address";
 };
 
-&wan {
+&gmac1 {
        nvmem-cells = <&macaddr_factory_e006>;
        nvmem-cell-names = "mac-address";
 };
 
 &factory {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
+       nvmem-layout {
+               compatible = "fixed-layout";
+               #address-cells = <1>;
+               #size-cells = <1>;
 
-       macaddr_factory_e000: macaddr@e000 {
-               reg = <0xe000 0x6>;
-       };
+               macaddr_factory_e000: macaddr@e000 {
+                       reg = <0xe000 0x6>;
+               };
 
-       macaddr_factory_e006: macaddr@e006 {
-               reg = <0xe006 0x6>;
+               macaddr_factory_e006: macaddr@e006 {
+                       reg = <0xe006 0x6>;
+               };
        };
 };