summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorAditya Prayoga <aditya@kobol.io>2018-12-05 00:57:25 +0800
committerStefan Roese <sr@denx.de>2018-12-08 16:19:41 +0100
commit5ca84c6dd2b3060471171cce3f76d8af35060c0b (patch)
tree051b1550dbc509836011df6309a1a6ebf2a2678d /arch/arm
parent8d7d97e2d1a340ddc2ebe2286bb212ae3f54da62 (diff)
arm: mvebu: helios4: Reset uSOM onboard phy during board init
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/armada-388-helios4-u-boot.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-388-helios4-u-boot.dtsi b/arch/arm/dts/armada-388-helios4-u-boot.dtsi
index 4bc00aec10..4b20610d83 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;
};