Signed-off-by: Catrinel Catrinescu <[email protected]>
@@ -14,6 +14,11 @@ ath79_setup_interfaces()
ucidef_set_interface_lan "eth0"
;;
+ "embeddedwireless,dorin")
+ ucidef_add_switch "switch0" \
+ "0@eth0" "1:wan" "2:lan:3" "3:lan:2"
+ ;;
+
"glinet,ar150")
ucidef_set_interfaces_lan_wan "eth1" "eth0"
@@ -12,6 +12,9 @@ get_status_led() {
"avm,fritz300e")
status_led="${boardname}:green:power"
+ status_led="dorin:green:status"
status_led="gl-ar150:orange:wlan"
@@ -111,20 +111,21 @@
status = "okay";
mtd-mac-address = <&art 0x1002>;
+ mtd-mac-address-increment = <0x40>;
fixed-link {
speed = <1000>;
full-duplex;
};
- gmac-config {
- device = <&gmac>;
-
- switch-phy-addr-swap = <1>;
- switch-phy-swap = <1>;
- };
&mdio1 {
+&wmac {
+ status = "okay";
+ mtd-cal-data = <&art 0x1000>;
+ mtd-mac-address = <&art 0x1002>;
+};