ralink: set the mac addr via the dts file
[openwrt.git] / target / linux / ramips / dts / F5D8235_V2.dts
index 237709f..1b96cea 100644 (file)
@@ -24,7 +24,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
 
-               partition@0 {
+               uboot: partition@0 {
                        label = "u-boot";
                        reg = <0x0 0x50000>;
                        read-only;
                };
        };
 
+       ethernet@10100000 {
+               mtd-mac-address = <&uboot 0x40004>;
+       };
+
        esw@10110000 {
                ralink,portmap = <0x3f>;
        };