Skip to content
  • Andrew Lunn's avatar
    ARM: Kirkwood: Fix DT based DSA. · 4f5e01e9
    Andrew Lunn authored
    
    
    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: default avatarAndrew Lunn <andrew@lunn.ch>
    Cc: seugene@marvell.com
    Tested-by: default avatarEugene Sanivsky <seugene@marvell.com>
    Fixes: e2eaa339: ("ARM: Kirkwood: convert rd88f6281-setup.c to DT.")
    Fixes: e7c8f380: ("ARM: kirkwood: Convert mv88f6281gtw_ge switch setup to DT")
    Cc: <stable@vger.kernel.org> #v3.15+
    Link: https://lkml.kernel.org/r/1409592941-22244-1-git-send-email-andrew@lunn.ch
    
    
    Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
    4f5e01e9