The device tree description misses some Ethernet ports and there was no
model specified for this board. In addition there was no switch
specific default configuration created.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
"2:lan:2" "3:lan:3" "5:lan:4" "4:wan:1" "6t@eth0"
;;
"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'
;;
*)
ucidef_set_interface_lan 'eth0'
;;
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
- mac-address = [ 00 11 22 33 44 55 ];
compatible = "lantiq,xrx200-pdi-port";
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";
};
ethernet@1 {
compatible = "lantiq,xrx200-pdi-port";
phy-mode = "rgmii";
phy-handle = <&phy1>;
};
phy-mode = "rgmii";
phy-handle = <&phy1>;
};
compatible = "lantiq,xrx200-pdi-port";
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>;
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
- mac-address = [ 00 11 22 33 44 56 ];
ethernet@5 {
compatible = "lantiq,xrx200-pdi-port";
reg = <5>;
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>;
mdio@0 {
#address-cells = <1>;
#size-cells = <0>;
/include/ "EASY80920.dtsi"
/ {
/include/ "EASY80920.dtsi"
/ {
+ model = "EASY80920NAND - Intel EASY80920 Nand";
+
chosen {
bootargs = "ubi.mtd=ubi ubi.block=0,rootfsA root=/dev/ubiblock0_1";
};
chosen {
bootargs = "ubi.mtd=ubi ubi.block=0,rootfsA root=/dev/ubiblock0_1";
};
/include/ "EASY80920.dtsi"
/ {
/include/ "EASY80920.dtsi"
/ {
+ model = "EASY80920NOR - Intel EASY80920 Nor";
+
fpi@10000000 {
localbus@0 {
ranges = <0 0 0x0 0x3ffffff>;
fpi@10000000 {
localbus@0 {
ranges = <0 0 0x0 0x3ffffff>;