This series is based on work from Andrew. I have rebased his patches to work on the latest kernel. The main problem is probably the fact that the cpu port to user port mapping happens inside the devicetree.
Andrew Lunn (3): Documentation: devicetree: add multiple cpu port DSA binding net-next: dsa: Refactor DT probing of a switch port net-next: dsa: Add support for multiple cpu ports. John Crispin (1): net-next: dsa: qca8k: add support for multiple cpu ports Documentation/devicetree/bindings/net/dsa/dsa.txt | 67 +++++++++- drivers/net/dsa/qca8k.c | 135 +++++++++++--------- drivers/net/dsa/qca8k.h | 2 - include/net/dsa.h | 21 +++- net/dsa/dsa.c | 138 +++++++++++++++------ net/dsa/dsa2.c | 36 +++++- net/dsa/dsa_priv.h | 5 + net/dsa/slave.c | 27 ++-- 8 files changed, 317 insertions(+), 114 deletions(-) -- 1.7.10.4