"2:lan:2" "3:lan:3" "5:lan:4" "4:wan:1" "6t@eth0"
;;
+EASY80920NAND|EASY80920NOR)
+ lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ucidef_add_switch "switch0" \
+ "4:lan:1" "2:lan:2" "1:lan:3" "0:lan:3" "5:wan:1" "6t@eth0"
+ ;;
+
*)
ucidef_set_interface_lan 'eth0'
;;
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
- mac-address = [ 00 11 22 33 44 55 ];
+ lantiq,switch;
- ethernet@0 {
+ ethernet@4 {
compatible = "lantiq,xrx200-pdi-port";
- reg = <0>;
- phy-mode = "rgmii";
- phy-handle = <&phy0>;
+ reg = <4>;
+ phynmode0 = "gmii";
+ phy-handle = <&phy13>;
+ };
+ ethernet@2 {
+ compatible = "lantiq,xrx200-pdi-port";
+ reg = <2>;
+ phy-mode = "gmii";
+ phy-handle = <&phy11>;
};
ethernet@1 {
compatible = "lantiq,xrx200-pdi-port";
phy-mode = "rgmii";
phy-handle = <&phy1>;
};
- ethernet@2 {
+ ethernet@0 {
compatible = "lantiq,xrx200-pdi-port";
- reg = <2>;
- phy-mode = "gmii";
- phy-handle = <&phy11>;
+ reg = <0>;
+ phy-mode = "rgmii";
+ phy-handle = <&phy0>;
};
};
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
- mac-address = [ 00 11 22 33 44 56 ];
lantiq,wan;
+
ethernet@5 {
compatible = "lantiq,xrx200-pdi-port";
reg = <5>;
};
};
- test: interface@2 {
- compatible = "lantiq,xrx200-pdi";
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <2>;
- mac-address = [ 00 11 22 33 44 57 ];
- ethernet@4 {
- compatible = "lantiq,xrx200-pdi-port";
- reg = <4>;
- phynmode0 = "gmii";
- phy-handle = <&phy13>;
- };
- };
-
mdio@0 {
#address-cells = <1>;
#size-cells = <0>;