arm: mvebu: helios4: Reset uSOM onboard phy during board init
authorAditya Prayoga <aditya@kobol.io>
Tue, 4 Dec 2018 16:57:25 +0000 (00:57 +0800)
committerStefan Roese <sr@denx.de>
Sat, 8 Dec 2018 15:19:41 +0000 (16:19 +0100)
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@kobol.io>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-By: Dennis Gilmore <dgilmore@redhat.com>
Reviewed-By: Dennis Gilmore <dgilmore@redhat.com>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-388-helios4-u-boot.dtsi

index 4bc00aec10f901fb413a9cd08ebf737528e8e0c2..4b20610d83195da6365f03953c7b7de051e1ec50 100644 (file)
@@ -8,6 +8,10 @@
        };
 };
 
+&eth0 {
+       phy-reset-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
+};
+
 &spi1 {
        u-boot,dm-spl;
 };