ramips: convert mt7628 to new image building code
[openwrt/openwrt.git] / target / linux / ramips / dts / AWM003-EVB.dts
index b74dd90c840b1e55e078e9da2ea106d8f7c683b8..13e6964ccc207bf9a75f32c686ae67282377824e 100644 (file)
@@ -1,6 +1,6 @@
 /dts-v1/;
 
-/include/ "AWM002-8M.dtsi"
+#include "AWM002-8M.dtsi"
 
 / {
        compatible = "AWM003", "ralink,rt5350-soc";
                reg = <0x0 0x4000000>;
        };
 
-       palmbus@10000000 {
-               spi@b00 {
-                       m25p80@0 {
-                               compatible = "jedec,spi-nor";
-                               linux,modalias = "m25p80", "mx25l6405d";
-                       };
-               };
-       };
-
-       ethernet@10100000 {
-               mtd-mac-address = <&factory 0x28>;
-       };
-
-       wmac@10180000 {
-               ralink,mtd-eeprom = <&factory 0>;
-       };
-
        gpio-leds {
                compatible = "gpio-leds";
 
                };
        };
 };
+
+&m25p80 {
+       compatible = "jedec,spi-nor";
+       linux,modalias = "m25p80", "mx25l6405d";
+};
+
+&ethernet {
+       mtd-mac-address = <&factory 0x28>;
+};
+
+&wmac {
+       ralink,mtd-eeprom = <&factory 0>;
+};