bmips: add experimental ethernet support
[openwrt/openwrt.git] / target / linux / bmips / dts / bcm6318-comtrend-ar-5315u.dts
index 35c74fd3ac1c6f40fa53f27138c32bcb7cc4ea40..a5ae435a3a198cb0f4c0adffefe12ea492a3c749 100644 (file)
        status = "okay";
 };
 
+&ethernet {
+       status = "okay";
+
+       mtd-mac-address = <&cfe 0x6a0>;
+};
+
 &hsspi {
        status = "okay";
 
        };
 };
 
+&switch0 {
+       ports {
+               port@0 {
+                       reg = <0>;
+                       label = "lan4";
+
+                       phy-handle = <&phy1>;
+               };
+
+               port@1 {
+                       reg = <1>;
+                       label = "lan3";
+
+                       phy-handle = <&phy2>;
+               };
+
+               port@2 {
+                       reg = <2>;
+                       label = "lan2";
+
+                       phy-handle = <&phy3>;
+               };
+
+               port@3 {
+                       reg = <3>;
+                       label = "lan1";
+
+                       phy-handle = <&phy4>;
+               };
+       };
+};
+
 &uart0 {
        status = "okay";
 };