ramips: read Tenbay T-MB5EU address from single location
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_tenbay_t-mb5eu-v01.dts
index 6e5f5772be9a05be40679ac5bc4296c00bf26aec..4be80f4836dfdc924d82e1601f73fa19d5be85ce 100644 (file)
                wan_port: port@0 {
                        status = "okay";
                        label = "wan";
-                       nvmem-cells = <&macaddr_factory_28>;
+                       nvmem-cells = <&macaddr_factory_4>;
                        nvmem-cell-names = "mac-address";
+                       mac-address-increment = <(-2)>;
                };
 
                port@1 {
        macaddr_factory_4: macaddr@4 {
                reg = <0x4 0x6>;
        };
-
-       macaddr_factory_28: macaddr@28 {
-               reg = <0x28 0x6>;
-       };
 };