summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun7i-a20-bananapi.dts
diff options
context:
space:
mode:
authorKarsten Merker <merker@debian.org>2014-11-12 00:01:46 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-11-12 14:37:15 +0100
commitf82f99afaa65fd28d0f8409c50e8fcc65ee5e15b (patch)
tree55ef1bf308bfc79334b2614ad7795d1386be0b2f /arch/arm/boot/dts/sun7i-a20-bananapi.dts
parent338302ae32b7be73da97b746f660b283642cfc5c (diff)
downloadlinux-f82f99afaa65fd28d0f8409c50e8fcc65ee5e15b.tar.bz2
ARM: dts: sunxi: Banana Pi: increase startup-delay for the GMAC PHY regulator
On the LeMaker Banana Pi, probing the external ethernet PHY connected to the SoC's internal GMAC module sometimes fails. The PHY power supply is handled via a GPIO-controlled regulator, and the existing regulator startup-delay of 50000us is too short to make sure that the PHY is always fully powered up when it is queried by phylib. Tests have shown that to provide a reliable PHY detection, the startup-delay has to be increased to at least 60000us. To have a certain safety margin and to cater for manufacturing variations between different boards, the delay gets set to 100000us as discussed on the linux-arm-kernel mailinglist. Signed-off-by: Karsten Merker <merker@debian.org> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-bananapi.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-bananapi.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-bananapi.dts b/arch/arm/boot/dts/sun7i-a20-bananapi.dts
index 3de847db7e76..1cf1214cc068 100644
--- a/arch/arm/boot/dts/sun7i-a20-bananapi.dts
+++ b/arch/arm/boot/dts/sun7i-a20-bananapi.dts
@@ -207,7 +207,7 @@
regulator-name = "gmac-3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
- startup-delay-us = <50000>;
+ startup-delay-us = <100000>;
enable-active-high;
gpio = <&pio 7 23 0>;
};