From: Frank Wunderlich
Date: Fri, 14 Dec 2018 17:48:41 +0100
> @@ -255,6 +255,24 @@ static void dsa_tree_teardown_default_cpu(struct
> dsa_switch_tree *dst)
> dst->cpu_dp = NULL;
> }
>
> +static int dsa_user_parse(struct dsa_port *port, u32 index,
> + struct dsa_sw
for using mutliple cpu-Ports 3 additional functions are defined to read
dts-option (dsa_user_parse) and check if current port is a upstream-port
(dsa_port_upstream_port, dsa_is_upstream_port)
based on
https://github.com/openwrt/openwrt/blob/master/target/linux/mediatek/patches-4.14/0033-dsa-multi-