lantiq: board.d: set lan mac address only where necessary
[oweals/openwrt.git] / target / linux / lantiq / dts / ARV7506PW11.dts
index 7519e22408478c7399893dad7c7d7c5e7eae657e..14630450fee509ba56ce516ac16d863f4ae2841f 100644 (file)
                                                reg = <0x50000 0x7a0000>;
                                        };
 
-                                       partition@7f0000 {
+                                       boardconfig: partition@7f0000 {
                                                label = "board_config";
                                                reg = <0x7f0000 0x10000>;
                                                read-only;
                                        };
                                };
                        };
-
-                       mac_addr {
-                               compatible = "lantiq,eth-mac";
-                               reg = <0 0x7f0016 0x6>;
-                       };
                };
 
                gpio: pinmux@E100B10 {
@@ -85,6 +80,7 @@
                /* GPIO 19: switch reset */
                etop@E180000 {
                        phy-mode = "rmii";
+                       mtd-mac-address = <&boardconfig 0x16>;
                };
 
                pci@E105400 {