Reenable D-Link DAP-2610, convert it to DSA and label port to 'lan', as shown on the case Reviewed-by: Robert Marko <[email protected]> Signed-off-by: Guillaume Lefebvre <[email protected]>
@@ -43,6 +43,7 @@ ipq40xx_setup_interfaces()
;;
aruba,ap-303|\
avm,fritzrepeater-1200|\
+ dlink,dap-2610|\
meraki,mr33|\
meraki,mr74|\
mikrotik,lhgg-60ad|\
@@ -181,6 +181,20 @@
status = "okay";
};
+&gmac {
+ status = "okay";
+};
+
+&switch {
+&swport5 {
+ label = "lan";
&tlmm {
serial_pins: serial_pinmux {
mux {
@@ -419,8 +419,7 @@ define Device/dlink_dap-2610
IMAGE/factory.bin := append-kernel | pad-offset 6144k 160 | append-rootfs | wrgg-image | check-size
IMAGE/sysupgrade.bin := append-kernel | wrgg-image | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size | append-metadata
endef
-# Missing DSA Setup
-#TARGET_DEVICES += dlink_dap-2610
+TARGET_DEVICES += dlink_dap-2610
define Device/edgecore_ecw5211
$(call Device/FitImage)