diff options
author | Vladimir Barinov <vladimir.barinov@cogentembedded.com> | 2015-02-24 18:54:31 +0200 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2015-02-25 14:19:08 +0900 |
commit | add4ec4d6034f61d9c5a2b79c3d822b828bb5ea1 (patch) | |
tree | ae5baa1273577c3e518560e857d42f708dc28a9b /board | |
parent | 313ff58ec956b39d1bfd65275fc1d81763086a61 (diff) | |
download | u-boot-imx-add4ec4d6034f61d9c5a2b79c3d822b828bb5ea1.zip u-boot-imx-add4ec4d6034f61d9c5a2b79c3d822b828bb5ea1.tar.gz u-boot-imx-add4ec4d6034f61d9c5a2b79c3d822b828bb5ea1.tar.bz2 |
arm: rmobile: silk: Disable ethernet pins pull-up
Disable pull-ups on ethrenet lines
Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/renesas/silk/silk.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/renesas/silk/silk.c b/board/renesas/silk/silk.c index e124010..c97a2a0 100644 --- a/board/renesas/silk/silk.c +++ b/board/renesas/silk/silk.c @@ -69,6 +69,11 @@ int board_early_init_f(void) return 0; } +/* LSI pin pull-up control */ +#define PUPR3 0xe606010C +#define PUPR3_ETH 0x006FF800 +#define PUPR1 0xe6060104 +#define PUPR1_DREQ0_N (1 << 20) int board_init(void) { /* adress of boot parameters */ @@ -93,7 +98,10 @@ int board_init(void) gpio_request(GPIO_FN_IRQ8, NULL); /* PHY reset */ + mstp_clrbits_le32(PUPR3, PUPR3, PUPR3_ETH); gpio_request(GPIO_GP_1_24, NULL); + mstp_clrbits_le32(PUPR1, PUPR1, PUPR1_DREQ0_N); + gpio_direction_output(GPIO_GP_1_24, 0); mdelay(20); gpio_set_value(GPIO_GP_1_24, 1); |