summaryrefslogtreecommitdiffstats
path: root/board/softing/vining_2000/vining_2000.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2019-05-17 22:25:26 +0200
committerStefano Babic <sbabic@denx.de>2019-06-11 10:42:48 +0200
commit0e0d38f49bb5f3ba7b1c9e18e61b51a4607f273e (patch)
tree355537157b17a9d2958a833619b0b96e78bb0569 /board/softing/vining_2000/vining_2000.c
parent0495227cdb881df60d1b6d3ed9161fb20f4b9648 (diff)
downloadu-boot-0e0d38f49bb5f3ba7b1c9e18e61b51a4607f273e.tar.gz
u-boot-0e0d38f49bb5f3ba7b1c9e18e61b51a4607f273e.tar.xz
u-boot-0e0d38f49bb5f3ba7b1c9e18e61b51a4607f273e.zip
ARM: imx: vining2000: Enable DM GPIO
Enable DM GPIO support on iMX6SX VINING|2000 and fix up board code where applicable. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Silvio Fricke <silvio.fricke@softing.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/softing/vining_2000/vining_2000.c')
-rw-r--r--board/softing/vining_2000/vining_2000.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/softing/vining_2000/vining_2000.c b/board/softing/vining_2000/vining_2000.c
index 9ab7fbeddf..d960773671 100644
--- a/board/softing/vining_2000/vining_2000.c
+++ b/board/softing/vining_2000/vining_2000.c
@@ -133,6 +133,7 @@ int board_eth_init(bd_t *bis)
goto eth_fail;
/* reset phy */
+ gpio_request(PHY_RESET, "PHY-reset");
gpio_direction_output(PHY_RESET, 0);
mdelay(16);
gpio_set_value(PHY_RESET, 1);