This patch series provides dsa switch support for Atheros ar9331 WiSoC. As side effect ag71xx needed to be ported to phylink to make the switch driver (as well phylink based) work properly. Oleksij Rempel (4): net: ag71xx: port to phylink dt-bindings: net: dsa: qca,ar9331 switch documentation MIPS: ath79: ar9331: add ar9331-switch node net: dsa: add support for Atheros AR9331 build-in switch .../devicetree/bindings/net/dsa/ar9331.txt | 155 ++++ arch/mips/boot/dts/qca/ar9331.dtsi | 128 ++- arch/mips/boot/dts/qca/ar9331_dpt_module.dts | 13 + drivers/net/dsa/Kconfig | 2 + drivers/net/dsa/Makefile | 1 + drivers/net/dsa/qca/Kconfig | 11 + drivers/net/dsa/qca/Makefile | 2 + drivers/net/dsa/qca/ar9331.c | 822 ++++++++++++++++++ drivers/net/ethernet/atheros/Kconfig | 2 +- drivers/net/ethernet/atheros/ag71xx.c | 144 +-- include/net/dsa.h | 2 + net/dsa/Kconfig | 6 + net/dsa/Makefile | 1 + net/dsa/tag_ar9331.c | 97 +++ 14 files changed, 1324 insertions(+), 62 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/dsa/ar9331.txt create mode 100644 drivers/net/dsa/qca/Kconfig create mode 100644 drivers/net/dsa/qca/Makefile create mode 100644 drivers/net/dsa/qca/ar9331.c create mode 100644 net/dsa/tag_ar9331.c -- 2.23.0