net: dsa: qca8k: add ethernet-ports fallback to setup_mdio_bus
authorAnsuel Smith <ansuelsmth@gmail.com>
Fri, 14 May 2021 21:00:05 +0000 (23:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 May 2021 22:30:22 +0000 (15:30 -0700)
commit1ee0591a1093c2448642c33433483e9260275f7b
treeadd7afc688a8967188ba4a1ec989d273571ef31c
parent95ffeaf18b3bb90eeef52cbf7d79ccc9d0345ff5
net: dsa: qca8k: add ethernet-ports fallback to setup_mdio_bus

Dsa now also supports ethernet-ports. Add this new binding as a fallback
if the ports node can't be found.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/qca8k.c