I'm trying to implement DSA for IMX6DL and the SMSC LAN9303 ethernet switch (i.e. exposing the switch ports as 'virtual' ethernet ports eth1 and eth2).
However, I'm stumped on how to refer to the IMX6DL FEC MDIO device node, which is required by dsa (dsa.txt). I can of course add an mdio node, like in imx6sx-sdb.dts, but I still don't understand how to refer to it?
Has anyone tried something similar? Is DSA the way to go, or would you suggest implementing a custom driver unrelated to DSA?