diff options
| author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-04-15 09:50:21 -0400 |
|---|---|---|
| committer | Jason Cooper <jason@lakedaemon.net> | 2014-04-25 17:23:37 -0400 |
| commit | 80fa10f4e9278c4df1636a26025b12588078ad61 (patch) | |
| tree | e256b5ed525298ca04e1b609d98edde2a64ffb83 | |
| parent | 6e20bae8a39c40d4e03698e4160bad2d2629062b (diff) | |
ARM: mvebu: use qsgmii phy-mode for Armada XP GP interfaces
The Armada XP GP isn't using rgmii-id connections between the MAC and
PHY, but instead a single QSGMII connection, which is a quad-SGMII
connection: a double pair of differential lines that are multiplexed
to convey the traffic of four network interfaces between a MAC and a
PHY.
Until now, the Armada XP GP was relying on the bootloader setting the
correct values in various configuration registers. With this change,
the mvneta driver can be used as a module on this platform.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1397569821-5530-4-git-send-email-thomas.petazzoni@free-electrons.com
Tested-by: Arnaud Ebalard <arno@natisbad.org>
Tested-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
| -rw-r--r-- | arch/arm/boot/dts/armada-xp-gp.dts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/armada-xp-gp.dts b/arch/arm/boot/dts/armada-xp-gp.dts index 3a359fdd19cc..0c756421ae6a 100644 --- a/arch/arm/boot/dts/armada-xp-gp.dts +++ b/arch/arm/boot/dts/armada-xp-gp.dts | |||
| @@ -146,22 +146,22 @@ | |||
| 146 | ethernet@70000 { | 146 | ethernet@70000 { |
| 147 | status = "okay"; | 147 | status = "okay"; |
| 148 | phy = <&phy0>; | 148 | phy = <&phy0>; |
| 149 | phy-mode = "rgmii-id"; | 149 | phy-mode = "qsgmii"; |
| 150 | }; | 150 | }; |
| 151 | ethernet@74000 { | 151 | ethernet@74000 { |
| 152 | status = "okay"; | 152 | status = "okay"; |
| 153 | phy = <&phy1>; | 153 | phy = <&phy1>; |
| 154 | phy-mode = "rgmii-id"; | 154 | phy-mode = "qsgmii"; |
| 155 | }; | 155 | }; |
| 156 | ethernet@30000 { | 156 | ethernet@30000 { |
| 157 | status = "okay"; | 157 | status = "okay"; |
| 158 | phy = <&phy2>; | 158 | phy = <&phy2>; |
| 159 | phy-mode = "rgmii-id"; | 159 | phy-mode = "qsgmii"; |
| 160 | }; | 160 | }; |
| 161 | ethernet@34000 { | 161 | ethernet@34000 { |
| 162 | status = "okay"; | 162 | status = "okay"; |
| 163 | phy = <&phy3>; | 163 | phy = <&phy3>; |
| 164 | phy-mode = "rgmii-id"; | 164 | phy-mode = "qsgmii"; |
| 165 | }; | 165 | }; |
| 166 | 166 | ||
| 167 | /* Front-side USB slot */ | 167 | /* Front-side USB slot */ |
