I updated the patch for kernel 4.19
Tested and looks ok... if someone want to transition from swconfig to dsa just add lan1 lan2 lan3 lan4 to br-lan and you are good to go...
(the ip changes in other patch are not needed since i updated the blogic patch to use the mac address on slave port)
diff --git a/target/linux/mvebu/base-files/etc/board.d/02_network b/target/linux/mvebu/base-files/etc/board.d/02_network
index 7acbe4bf62..b530d998fd 100755
--- a/target/linux/mvebu/base-files/etc/board.d/02_network
+++ b/target/linux/mvebu/base-files/etc/board.d/02_network
@@ -23,10 +23,13 @@ globalscale,espressobin-v7-emmc)
;;
linksys,caiman|\
linksys,cobra|\
-linksys,mamba|\
linksys,rango|\
linksys,shelby|\
linksys,venom)
+ ucidef_set_interface_lan "lan1 lan2 lan3 lan4"
+ ucidef_set_interface_wan "wan"
+ ;;
+linksys,mamba)
ucidef_set_interfaces_lan_wan "eth0.1" "eth1.2"
ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5@eth0" "4:wan" "6@eth1"
diff --git a/target/linux/mvebu/patches-4.19/003-add_switch_nodes.patch b/target/linux/mvebu/patches-4.19/003-add_switch_nodes.patch
deleted file mode 100644
index b208638916..0000000000
--- a/target/linux/mvebu/patches-4.19/003-add_switch_nodes.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
-+++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
-@@ -257,6 +257,16 @@
- };
- };
- };
-+
-+ mvsw61xx {
-+ compatible = "marvell,88e6172";
-+ status = "okay";
-+ reg = <0x10>;
-+
-+ mii-bus = <&mdio>;
-+ cpu-port-0 = <5>;
-+ cpu-port-1 = <6>;
-+ };
- };
-
- &pciec {
---- a/arch/arm/boot/dts/armada-385-linksys.dtsi
-+++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
-@@ -82,6 +82,18 @@
- linux,default-trigger = "disk-activity";
- };
- };
-+
-+ mvsw61xx {
-+ #address-cells = <1>;
-+ #size-cells = <0>;
-+ compatible = "marvell,88e6176";
-+ status = "okay";
-+ reg = <0x10>;
-+
-+ mii-bus = <&mdio>;
-+ cpu-port-0 = <5>;
-+ cpu-port-1 = <6>;
-+ };
- };
-
- &ahci0 {
diff --git a/target/linux/mvebu/patches-4.19/075-dsa-inherit-parent-mac.patch b/target/linux/mvebu/patches-4.19/075-dsa-inherit-parent-mac.patch
new file mode 100644
index 0000000000..7169b2d114
--- /dev/null
+++ b/target/linux/mvebu/patches-4.19/075-dsa-inherit-parent-mac.patch
@@ -0,0 +1,39 @@
+From 171b14b660f35f593748ac62bbdbb43ace2c582d Mon Sep 17 00:00:00 2001
+From: John Crispin <john@phrozen.org>
+Date: Tue, 1 Nov 2016 01:44:15 +0100
+Subject: [PATCH 10/22] net: dsa: make the slave device inheret the MAC of the
+ parent
+
+This patch makes all slave devices inherit the parent devices MAC.
+
+Signed-off-by: John Crispin <john@phrozen.org>
+---
+ net/dsa/slave.c | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+--- a/net/dsa/slave.c
++++ b/net/dsa/slave.c
+@@ -151,6 +151,15 @@ static int dsa_slave_close(struct net_de
+ return 0;
+ }
+
++static int dsa_slave_init(struct net_device *dev)
++{
++ struct net_device *master = dsa_slave_to_master(dev);
++ struct sockaddr sa;
++
++ ether_addr_copy(sa.sa_data, master->dev_addr);
++ return eth_mac_addr(dev, &sa);
++}
++
+ static void dsa_slave_change_rx_flags(struct net_device *dev, int change)
+ {
+ struct dsa_slave_priv *p = netdev_priv(dev);
+@@ -1036,6 +1046,7 @@ static const struct ethtool_ops dsa_slav
+ static const struct net_device_ops dsa_slave_netdev_ops = {
+ .ndo_open = dsa_slave_open,
+ .ndo_stop = dsa_slave_close,
++ .ndo_init = dsa_slave_init,
+ .ndo_start_xmit = dsa_slave_xmit,
+ .ndo_change_rx_flags = dsa_slave_change_rx_flags,
+ .ndo_set_rx_mode = dsa_slave_set_rx_mode,
diff --git a/target/linux/mvebu/patches-4.19/220-disable-untested-dsa-boards.patch b/target/linux/mvebu/patches-4.19/220-disable-untested-dsa-boards.patch
index 9cc7a113f6..a51c0bb512 100644
--- a/target/linux/mvebu/patches-4.19/220-disable-untested-dsa-boards.patch
+++ b/target/linux/mvebu/patches-4.19/220-disable-untested-dsa-boards.patch
@@ -1,13 +1,3 @@
---- a/arch/arm/boot/dts/armada-385-linksys.dtsi
-+++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
-@@ -171,6 +171,7 @@
- status = "okay";
-
- switch@0 {
-+ status = "disabled";
- compatible = "marvell,mv88e6085";
- #address-cells = <1>;
- #size-cells = <0>;
--- a/arch/arm/boot/dts/armada-388-clearfog.dts
+++ b/arch/arm/boot/dts/armada-388-clearfog.dts
@@ -161,6 +161,7 @@