ramips: register mt7621 pcie through device tree
[openwrt.git] / target / linux / ramips / dts / ASL26555-8M.dts
index f1501eb..506f147 100644 (file)
@@ -26,8 +26,8 @@
                                        reg = <0x0 0x30000>;
                                        read-only;
                                };
-                               partition@30000 {
-                                       label = "devdata";
+                               ubootenv: partition@30000 {
+                                       label = "uboot-env";
                                        reg = <0x30000 0x10000>;
                                        read-only;
                                };
                };
        };
 
+       ethernet@10100000 {
+               mtd-mac-address = <&ubootenv 0x4004>;
+       };
+
        esw@10110000 {
                ralink,portmap = <0x1e>;
        };
 
+       wmac@10180000 {
+               ralink,mtd-eeprom = <&ubootenv 0x4000>;
+       };
+
        otg@101c0000 {
                status = "okay";
        };