ralink: set the mac addr via the dts file
[15.05/openwrt.git] / target / linux / ramips / dts / ASL26555-8M.dts
index f1501eb..1ddbb1c 100644 (file)
@@ -26,8 +26,8 @@
                                        reg = <0x0 0x30000>;
                                        read-only;
                                };
-                               partition@30000 {
-                                       label = "devdata";
+                               factory: partition@30000 {
+                                       label = "factory";
                                        reg = <0x30000 0x10000>;
                                        read-only;
                                };
                };
        };
 
+       ethernet@10100000 {
+               mtd-mac-address = <&factory 0x4004>;
+       };
+
        esw@10110000 {
                ralink,portmap = <0x1e>;
        };