dsa: add device tree bindings to register DSA switches
authorFlorian Fainelli <florian@openwrt.org>
Fri, 22 Mar 2013 10:50:50 +0000 (10:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Mar 2013 21:16:30 +0000 (17:16 -0400)
commit5e95329b701c4edf6c4d72487ec0369fa148c0bd
tree876e8efd861f3ac602272aa4cdbcc4d4922d735b
parenteec2e6185ff6eab18c2cae9b01a9fbc5c33248fc
dsa: add device tree bindings to register DSA switches

This patch adds support for registering DSA switches using Device Tree
bindings. Note that we support programming the switch routing table even
though no in-tree user seems to require it. I tested this on Armada 370
with a Marvell 88E6172 (not supported by mainline yet).

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/dsa.txt [new file with mode: 0644]
net/dsa/dsa.c