[U-Boot] [PATCH v3 6/6] arm: mvebu: helios4: Reset uSOM onboard phy during board init

Aditya Prayoga aditya at kobol.io
Tue Dec 4 16:57:25 UTC 2018


Similar to Clearfog rev 2.1, GPIO 19 also used to reset onboard ethernet
PHY.

This patch depend on
net: mvneta: Add GPIO configuration support
[URL: https://patchwork.ozlabs.org/patch/1007736/]

Signed-off-by: Aditya Prayoga <aditya at kobol.io>
---
v2:
* Use generic gpio_* API (Baruch Siach)
v3:
* Use named gpios (Stefan Roese)
---
 arch/arm/dts/armada-388-helios4-u-boot.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/armada-388-helios4-u-boot.dtsi b/arch/arm/dts/armada-388-helios4-u-boot.dtsi
index 4bc00ae..4b20610 100644
--- a/arch/arm/dts/armada-388-helios4-u-boot.dtsi
+++ b/arch/arm/dts/armada-388-helios4-u-boot.dtsi
@@ -8,6 +8,10 @@
 	};
 };
 
+&eth0 {
+	phy-reset-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
+};
+
 &spi1 {
 	u-boot,dm-spl;
 };
-- 
2.7.4



More information about the U-Boot mailing list