net: dsa: Allow multi hop routes to be expressed
authorAndrew Lunn <andrew@lunn.ch>
Mon, 17 Aug 2015 21:52:50 +0000 (23:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2015 21:17:21 +0000 (14:17 -0700)
commit1e72e6f8859a598bfc22cf268c2dafe8ddb9f1b4
tree07b7b9238f6b67ee8cc69a1d393fa3483fa52f05
parent61ed713bbb043f333ca9576c79a3d33d2ad17438
net: dsa: Allow multi hop routes to be expressed

With more than two switches in a hierarchy, it becomes necessary to
describe multi-hop routes between switches. The current binding does
not allow this, although the older platform_data did. Extend the link
property to be a list rather than a single phandle to a remote switch.
It is then possible to express that a port should be used to reach
more than one switch and the switch maybe more than one hop away.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/dsa.txt
net/dsa/dsa.c