Skip to content

Commit

Permalink
ipq40xx: convert devolo Magic 2 WiFi next to DSA
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Thomas Bong <[email protected]>
  • Loading branch information
bong1991 authored and hauke committed Sep 3, 2023
1 parent 6267961 commit 838bb0c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
3 changes: 3 additions & 0 deletions target/linux/ipq40xx/base-files/etc/board.d/02_network
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ ipq40xx_setup_interfaces()
compex,wpj428)
ucidef_set_interface_lan "lan1 lan2"
;;
devolo,magic-2-wifi-next)
ucidef_set_interface_lan "lan1 lan2 ghn"
;;
linksys,whw01)
ucidef_set_interface_lan "eth1 eth2"
;;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
2 changes: 1 addition & 1 deletion target/linux/ipq40xx/image/generic.mk
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ define Device/devolo_magic-2-wifi-next
DEFAULT := n
endef
# Missing DSA Setup
#TARGET_DEVICES += devolo_magic-2-wifi-next
TARGET_DEVICES += devolo_magic-2-wifi-next

define Device/dlink_dap-2610
$(call Device/FitImageLzma)
Expand Down

0 comments on commit 838bb0c

Please sign in to comment.