forked from Minki/linux
4f5e01e96d
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:e2eaa339af
: ("ARM: Kirkwood: convert rd88f6281-setup.c to DT.") Fixes:e7c8f3808b
: ("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: Jason Cooper <jason@lakedaemon.net>
44 lines
905 B
Plaintext
44 lines
905 B
Plaintext
/*
|
|
* Marvell RD88F6181 A Board descrition
|
|
*
|
|
* Andrew Lunn <andrew@lunn.ch>
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*
|
|
* This file contains the definitions for the board with the A0 or
|
|
* higher stepping of the SoC. The ethernet switch does not have a
|
|
* "wan" port.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "kirkwood-rd88f6281.dtsi"
|
|
|
|
/ {
|
|
model = "Marvell RD88f6281 Reference design, with A0 or higher SoC";
|
|
compatible = "marvell,rd88f6281-a", "marvell,rd88f6281","marvell,kirkwood-88f6281", "marvell,kirkwood";
|
|
|
|
dsa@0 {
|
|
switch@0 {
|
|
reg = <10 0>; /* MDIO address 10, switch 0 in tree */
|
|
};
|
|
};
|
|
};
|
|
|
|
&mdio {
|
|
status = "okay";
|
|
|
|
ethphy1: ethernet-phy@11 {
|
|
reg = <11>;
|
|
};
|
|
};
|
|
|
|
ð1 {
|
|
status = "okay";
|
|
|
|
ethernet1-port@0 {
|
|
phy-handle = <ðphy1>;
|
|
};
|
|
};
|