diff options
| author | Marco Felsch <m.felsch@pengutronix.de> | 2019-03-04 05:49:40 -0500 |
|---|---|---|
| committer | Shawn Guo <shawnguo@kernel.org> | 2019-03-20 07:37:10 -0400 |
| commit | 032f85c9360fb1a08385c584c2c4ed114b33c260 (patch) | |
| tree | 88eafd359d3dd081e17b41db1dad837e6a2c8dcf | |
| parent | 91740fc8242b4f260cfa4d4536d8551804777fae (diff) | |
ARM: dts: pfla02: increase phy reset duration
Increase the reset duration to ensure correct phy functionality. The
reset duration is taken from barebox commit 52fdd510de ("ARM: dts:
pfla02: use long enough reset for ethernet phy"):
Use a longer reset time for ethernet phy Micrel KSZ9031RNX. Otherwise a
small percentage of modules have 'transmission timeouts' errors like
barebox@Phytec phyFLEX-i.MX6 Quad Carrier-Board:/ ifup eth0
warning: No MAC address set. Using random address 7e:94:4d:02:f8:f3
eth0: 1000Mbps full duplex link detected
eth0: transmission timeout
T eth0: transmission timeout
T eth0: transmission timeout
T eth0: transmission timeout
T eth0: transmission timeout
Cc: Stefan Christ <s.christ@phytec.de>
Cc: Christian Hemp <c.hemp@phytec.de>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Fixes: 3180f956668e ("ARM: dts: Phytec imx6q pfla02 and pbab01 support")
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
| -rw-r--r-- | arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi index 433bf09a1954..027df06c5dc7 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | |||
| @@ -91,6 +91,7 @@ | |||
| 91 | pinctrl-0 = <&pinctrl_enet>; | 91 | pinctrl-0 = <&pinctrl_enet>; |
| 92 | phy-handle = <ðphy>; | 92 | phy-handle = <ðphy>; |
| 93 | phy-mode = "rgmii"; | 93 | phy-mode = "rgmii"; |
| 94 | phy-reset-duration = <10>; /* in msecs */ | ||
| 94 | phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>; | 95 | phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>; |
| 95 | phy-supply = <&vdd_eth_io_reg>; | 96 | phy-supply = <&vdd_eth_io_reg>; |
| 96 | status = "disabled"; | 97 | status = "disabled"; |
