ramips: DTS rework
[openwrt/openwrt.git] / target / linux / ramips / dts / Y1.dts
index 3248c7683e6c143cd57ceba7a990ef6c02a34df4..ac9b7d56c04e1e59a4d1bf8ec24ba1f7d4e08fbb 100644 (file)
@@ -6,13 +6,6 @@
        compatible = "lenovo,Y1", "ralink,mt7620a-soc";
        model = "Lenovo Y1";
 
-       ethernet@10100000 {
-               pinctrl-names = "default";
-               pinctrl-0 = <&ephy_pins>;
-               mtd-mac-address = <&factory 0x4>;
-               mediatek,portmap = "llllw";
-       };
-
        gpio-leds {
                compatible = "gpio-leds";
 
                };
        };
 };
+
+&ethernet {
+       pinctrl-names = "default";
+       pinctrl-0 = <&ephy_pins>;
+       mtd-mac-address = <&factory 0x4>;
+       mediatek,portmap = "llllw";
+};