summaryrefslogtreecommitdiffstats
path: root/include/configs/dxr2.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2014-02-25 11:07:22 +0100
committerTom Rini <trini@ti.com>2014-03-04 09:42:07 -0500
commitcc07294bc704694ae33db75b25ac557e5917a83f (patch)
tree3cfb394522762122a581203fdd7a861c2018d8bd /include/configs/dxr2.h
parentb56b9a0884afab53f7c93cd3c90648437ca7e35e (diff)
downloadblackbird-obmc-uboot-cc07294bc704694ae33db75b25ac557e5917a83f.tar.gz
blackbird-obmc-uboot-cc07294bc704694ae33db75b25ac557e5917a83f.zip
arm: am335x: DXR2: Reset SMSC LAN9303 switch via GPIO upon bootup
Since the switch may be re-configured for VLAN usage in Linux (or any other OS), lets reset the switch to its default register values upon power-up. Otherwise network might not be available in U-Boot. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Roger Meier <r.meier@siemens.com> Cc: Lukas Stockmann <lukas.stockmann@siemens.com> Cc: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/configs/dxr2.h')
-rw-r--r--include/configs/dxr2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/dxr2.h b/include/configs/dxr2.h
index e95d74c04c..75f7812e7d 100644
--- a/include/configs/dxr2.h
+++ b/include/configs/dxr2.h
@@ -26,6 +26,7 @@
#define BOARD_DFU_BUTTON_GPIO 27
#define BOARD_DFU_BUTTON_LED 64
+#define GPIO_LAN9303_NRST 88 /* GPIO2_24 = gpio88 */
#undef CONFIG_DOS_PARTITION
#undef CONFIG_CMD_FAT
OpenPOWER on IntegriCloud