bmips: add experimental ethernet support
[openwrt/openwrt.git] / target / linux / bmips / dts / bcm63168-comtrend-vr-3032u.dts
index 565a04160d2e31138307a385c311de2476385fd5..d82247d26c68298293553ef3cc8dc9294adc8d7a 100644 (file)
                led-usb = &led_usb_green;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x00000000 0x04000000>;
-       };
-
        keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
        status = "okay";
 };
 
+&ethernet {
+       status = "okay";
+
+       mtd-mac-address = <&cferom 0x6a0>;
+};
+
 &leds {
        status = "okay";
 
        status = "okay";
 };
 
+&switch0 {
+       ports {
+               port@0 {
+                       reg = <0>;
+                       label = "lan2";
+
+                       phy-handle = <&phy1>;
+               };
+
+               port@1 {
+                       reg = <1>;
+                       label = "lan3";
+
+                       phy-handle = <&phy2>;
+               };
+
+               port@2 {
+                       reg = <2>;
+                       label = "lan4";
+
+                       phy-handle = <&phy3>;
+               };
+
+               port@3 {
+                       reg = <3>;
+                       label = "lan1";
+
+                       phy-handle = <&phy4>;
+               };
+       };
+};
+
 &uart0 {
        status = "okay";
 };