ipq40xx: convert devolo Magic 2 WiFi next to DSA

Renamed the interfaces to match the other devices.
Name the interface connected to the builtin G.hn chip 'ghn'.
This might toggle at runtime while the G.hn chip is in the
bootloader.

Reviewed-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Thomas Bong <thomas.bong@devolo.de>
This commit is contained in:
Thomas Bong 2023-08-31 07:39:24 +02:00 committed by Hauke Mehrtens
parent 6267961a4a
commit 838bb0c03f
3 changed files with 27 additions and 1 deletions

View File

@ -69,6 +69,9 @@ ipq40xx_setup_interfaces()
compex,wpj428) compex,wpj428)
ucidef_set_interface_lan "lan1 lan2" ucidef_set_interface_lan "lan1 lan2"
;; ;;
devolo,magic-2-wifi-next)
ucidef_set_interface_lan "lan1 lan2 ghn"
;;
linksys,whw01) linksys,whw01)
ucidef_set_interface_lan "eth1 eth2" ucidef_set_interface_lan "eth1 eth2"
;; ;;

View File

@ -231,3 +231,26 @@
}; };
}; };
}; };
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport5 {
status = "okay";
label = "lan1";
};
&swport3 {
status = "okay";
label = "lan2";
};
&swport4 {
status = "okay";
label = "ghn";
};

View File

@ -388,7 +388,7 @@ define Device/devolo_magic-2-wifi-next
DEFAULT := n DEFAULT := n
endef endef
# Missing DSA Setup # Missing DSA Setup
#TARGET_DEVICES += devolo_magic-2-wifi-next TARGET_DEVICES += devolo_magic-2-wifi-next
define Device/dlink_dap-2610 define Device/dlink_dap-2610
$(call Device/FitImageLzma) $(call Device/FitImageLzma)