]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: Kirkwood: Fix DT based DSA.
authorAndrew Lunn <andrew@lunn.ch>
Mon, 1 Sep 2014 17:35:41 +0000 (19:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Oct 2014 16:43:12 +0000 (09:43 -0700)
commit20f1e615d09a4fa020b92f05f71147e026dcbf8e
treefc6badc5b9c3af4e58fba4f642f84cf62f026cf4
parent4f0d0964366cb4f0d052c019bb852892e51524c1
ARM: Kirkwood: Fix DT based DSA.

commit 4f5e01e96d424b54f5f0e89ee1ba9ccca03a3941 upstream.

During the conversion of boards to use DT to instantiate Distributed
Switch Architecture, nobody volunteered to test. As to be expected,
the conversion was flawed. Testers and access to hardware has now
become available, and this patch hopefully fixes the problems.

dsa,mii-bus must be a phandle to the top level mdio node, not the port
specific subnode of the mdio device.

dsa,ethernet must be a phandle to the port subnode within the ethernet
DT node, not the ethernet node.

Don't pinctrl hog the card detect gpio for mvsdio.

Rename the .dts files to make it clearer which file is for the Z0
stepping and which for the A0 or later stepping.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Cc: seugene@marvell.com
Tested-by: Eugene Sanivsky <seugene@marvell.com>
Fixes: e2eaa339af44: ("ARM: Kirkwood: convert rd88f6281-setup.c to DT.")
Fixes: e7c8f3808be8: ("ARM: kirkwood: Convert mv88f6281gtw_ge switch setup to DT")
Link: https://lkml.kernel.org/r/1409592941-22244-1-git-send-email-andrew@lunn.ch
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
arch/arm/boot/dts/kirkwood-rd88f6281-a.dts [new file with mode: 0644]
arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts [deleted file]
arch/arm/boot/dts/kirkwood-rd88f6281-z0.dts [moved from arch/arm/boot/dts/kirkwood-rd88f6281-a1.dts with 57% similarity]
arch/arm/boot/dts/kirkwood-rd88f6281.dtsi
arch/arm/boot/dts/kirkwood.dtsi