bmips: add experimental ethernet support
[openwrt/openwrt.git] / target / linux / bmips / dts / bcm63168-comtrend-vr-3032u.dts
index 04904d9ef77774b68e38cf2bc8b32925f8dbf9d1..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";
 
 
        nandcs@0 {
                compatible = "brcm,nandcs";
-               #size-cells = <1>;
-               #address-cells = <1>;
                reg = <0>;
                nand-ecc-step-size = <512>;
                nand-ecc-strength = <15>;
        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";
 };