Re: [PATCH net-next 2/3] arm64: dts: fsl: ls1028a-rdb: Add ENETC external eth ports for the LS1028A RDB board

From: Andrew Lunn
Date: Thu Feb 14 2019 - 11:28:00 EST


> Hi Andrew,
>
> The extra node for mdio seems to complicate things somewhat.
> Just adding this node seems not enough. How to find out easily if a child
> of a enetc port node is a mdio node?

You copy somebody else code :-)

https://elixir.bootlin.com/linux/v5.0-rc6/source/drivers/net/dsa/mv88e6xxx/chip.c#L2765

Andrew