ramips: DTS rework
[openwrt/staging/yousong.git] / target / linux / ramips / dts / AWM002-EVB-4M.dts
index ef2f83c7788fa7cd3a677ea76c3226a7806cda23..e1252325578f4ddd0e640bfaeebabf912ef39153 100644 (file)
@@ -5,14 +5,6 @@
 / {
        model = "AsiaRF AWM002 EVB";
 
-       ethernet@10100000 {
-               mtd-mac-address = <&factory 0x28>;
-       };
-
-       wmac@10180000 {
-               ralink,mtd-eeprom = <&factory 0>;
-       };
-
        gpio-leds {
                compatible = "gpio-leds";
 
                };
        };
 };
+
+&ethernet {
+       mtd-mac-address = <&factory 0x28>;
+};
+
+&wmac {
+       ralink,mtd-eeprom = <&factory 0>;
+};