On Mon, Aug 27, 2018 at 03:12:53PM +0300, Baruch Siach wrote: > Without a valid of_node in struct device we can't find the mvpp2 port > device by its DT node. Specifically, this breaks > of_find_net_device_by_node().
Hi Baruch We need to be a little bit careful here. I've seen this done wrongly before, breaking DSA support. Is you intention to use DSA? Can you quote a section of DT, and indicate which node is port_node. Thanks Andrew