diff options
author | David Bauer <mail@david-bauer.net> | 2022-04-24 23:48:42 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2022-04-26 00:56:19 +0200 |
commit | 8b3c313515c1ae37be9d61a4e92c4bf4b43f605f (patch) | |
tree | 4b69128a942e0e47e168e9fa7c228f33f727be47 /target/linux/mpc85xx | |
parent | 2b5fa44f60165d66d74131778df0b64b706887e2 (diff) | |
download | upstream-8b3c313515c1ae37be9d61a4e92c4bf4b43f605f.tar.gz upstream-8b3c313515c1ae37be9d61a4e92c4bf4b43f605f.tar.bz2 upstream-8b3c313515c1ae37be9d61a4e92c4bf4b43f605f.zip |
mpc85xx: define reset-delay for WS-AP3825i eth PHY
The WS-AP3825i uses Atheros PHYs which according to the datasheet
require the reset to be asserted for at least 1 ms.
This fixes broken eth1 upon soft-reboot. eth0 is no affected, as the
ifup / ifdown cycle in preinit prevents this issue from happening when
the system is ready.
Reported-by: Tom Herbers <freifunk@tomherbers.de>
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/mpc85xx')
-rw-r--r-- | target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts index 43c044b4fc..26f742b222 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts @@ -149,12 +149,16 @@ interrupts = <3 1 0 0>; reg = <0x5>; reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; + reset-deassert-us = <10000>; }; phy2: ethernet-phy@2 { interrupts = <1 1 0 0>; reg = <0x6>; reset-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; + reset-deassert-us = <10000>; }; }; |