ramips: DTS rework
[openwrt/openwrt.git] / target / linux / ramips / dts / AWM003-EVB.dts
index 02fa97255c565c82ebbc41fe19fc3842c008a1c6..13e6964ccc207bf9a75f32c686ae67282377824e 100644 (file)
                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>;
+};