]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: imx6: Fix Ethernet PHY mode on Ventana boards
authorKrzysztof Hałasa <khalasa@piap.pl>
Fri, 11 Dec 2015 13:22:04 +0000 (14:22 +0100)
committerLuis Henriques <luis.henriques@canonical.com>
Mon, 25 Jan 2016 10:43:54 +0000 (10:43 +0000)
commit 3a35e470bc6bc4ce34c19c410ebbe4e3bbf0bafe upstream.

Gateworks Ventana boards seem to need "RGMII-ID" (internal delay)
PHY mode, instead of simple "RGMII", for their Marvell 88E1510
transceiver. Otherwise, the Ethernet MAC doesn't work with Marvell PHY
driver (TX doesn't seem to work correctly).

Tested on GW5400 rev. C.

This bug affects ARM Fedora 23.

Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl>
Acked-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
[ luis: backported to 3.16: adjusted context ]
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
arch/arm/boot/dts/imx6q-gw5400-a.dts
arch/arm/boot/dts/imx6qdl-gw51xx.dtsi
arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi

index 3689eaa58826eecebce2ec4dd4adda99b12d2fc2..5e59ed27513d16db6d4d8042705b0860d0360bec 100644 (file)
 &fec {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_enet>;
-       phy-mode = "rgmii";
+       phy-mode = "rgmii-id";
        phy-reset-gpios = <&gpio1 30 0>;
        status = "okay";
 };
index 0db15af41cb10d2a919df2b2c497be7937c80f33..1ad3d9ec799bb789d29bce69cfc2904b79651f53 100644 (file)
@@ -90,7 +90,7 @@
 &fec {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_enet>;
-       phy-mode = "rgmii";
+       phy-mode = "rgmii-id";
        phy-reset-gpios = <&gpio1 30 0>;
        status = "okay";
 };
index 744c8a2d81f6b715972fdd0ab77d35597c6d4d95..1c8c333bd1fb3e466dde2e0dcab8e134cd3f34e3 100644 (file)
 &fec {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_enet>;
-       phy-mode = "rgmii";
+       phy-mode = "rgmii-id";
        phy-reset-gpios = <&gpio1 30 0>;
        status = "okay";
 };
index adf150c1be90bd365b3060aaee71929d4b05007b..1000d14032553fa5765a75200e7e5aeacdd5afcb 100644 (file)
 &fec {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_enet>;
-       phy-mode = "rgmii";
+       phy-mode = "rgmii-id";
        phy-reset-gpios = <&gpio1 30 0>;
        status = "okay";
 };
index 698d3063b29563691147510bb2dc9c2965999c1a..f993f5194135e0f9d6cea0f9078c7a68f79ffc6c 100644 (file)
 &fec {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_enet>;
-       phy-mode = "rgmii";
+       phy-mode = "rgmii-id";
        phy-reset-gpios = <&gpio1 30 0>;
        status = "okay";
 };