Add reset timings according the datasheet [1]. Due to missing test hw I
added the fix only to the imx6qdl based boards.

[1] 
http://ww1.microchip.com/downloads/en/DeviceDoc/KSZ9021RL-RN-Data-Sheet-DS00003050A.pdf;
 page 56

Signed-off-by: Marco Felsch <[email protected]>
---
 arch/arm/dts/imx6qdl-nitrogen6x.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/imx6qdl-nitrogen6x.dtsi 
b/arch/arm/dts/imx6qdl-nitrogen6x.dtsi
index 5c43b16ab1..d565a26ae4 100644
--- a/arch/arm/dts/imx6qdl-nitrogen6x.dtsi
+++ b/arch/arm/dts/imx6qdl-nitrogen6x.dtsi
@@ -23,6 +23,11 @@
        };
 };
 
+&fec {
+       phy-reset-duration = <10>;
+       phy-reset-post-delay = <1>;
+};
+
 &flash {
        #address-cells = <1>;
        #size-cells = <1>;
-- 
2.20.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to