aboutsummaryrefslogtreecommitdiff
path: root/board/gateworks/gw_ventana/common.h
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2015-05-26 11:04:54 -0700
committerStefano Babic <sbabic@denx.de>2015-06-01 09:48:23 +0200
commit9a83a8154590ebfbdbe32579b97c501ca240a706 (patch)
treebe3ebcc77ef4b1a7a6bd20892e9e65fe25adac7c /board/gateworks/gw_ventana/common.h
parent7bbc5ff732bcf8d2aa935249ce4b7c28a701ca51 (diff)
downloadu-boot-9a83a8154590ebfbdbe32579b97c501ca240a706.zip
u-boot-9a83a8154590ebfbdbe32579b97c501ca240a706.tar.gz
u-boot-9a83a8154590ebfbdbe32579b97c501ca240a706.tar.bz2
imx: ventana: various board-specific GPIO config updates
- Added iomux for CAN_STBY and RS484_TEN (GW52xx/GW53xx/GW54xx/GW551x) - Moved iomux of USBHUB_RST# out of board_ehci_hcd_init so that it is done regardless of USB being initialized in bootloader - Added usb_sel iomux/hwconfig for GW552x - Fixed mezzanine DIO for GW54xx - Fixed PANLEDR# for GW54xx - Fixed dio iomux/hwconfig for GW552x - Fixed dio iomux for GW551x - removed redundant #define Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks/gw_ventana/common.h')
-rw-r--r--board/gateworks/gw_ventana/common.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/board/gateworks/gw_ventana/common.h b/board/gateworks/gw_ventana/common.h
index b7c0e96..28f5816 100644
--- a/board/gateworks/gw_ventana/common.h
+++ b/board/gateworks/gw_ventana/common.h
@@ -34,10 +34,6 @@
PAD_CTL_PUS_100K_DOWN | PAD_CTL_SPEED_MED | \
PAD_CTL_DSE_40ohm | PAD_CTL_SRE_FAST)
-#define DIO_PAD_CTRL (PAD_CTL_PKE | PAD_CTL_PUE | \
- PAD_CTL_PUS_100K_UP | PAD_CTL_SPEED_MED | \
- PAD_CTL_DSE_34ohm | PAD_CTL_HYS | PAD_CTL_SRE_FAST)
-
#define I2C_PAD_CTRL (PAD_CTL_PUS_100K_UP | \
PAD_CTL_SPEED_MED | PAD_CTL_DSE_40ohm | PAD_CTL_HYS | \
PAD_CTL_ODE | PAD_CTL_SRE_FAST)
@@ -46,7 +42,7 @@
PAD_CTL_PUS_100K_UP | PAD_CTL_SPEED_MED | \
PAD_CTL_DSE_34ohm | PAD_CTL_HYS | PAD_CTL_SRE_FAST)
-#define DIO_PAD_CFG (MUX_PAD_CTRL(DIO_PAD_CTRL) | MUX_MODE_SION)
+#define DIO_PAD_CFG (MUX_PAD_CTRL(IRQ_PAD_CTRL) | MUX_MODE_SION)
#define PC MUX_PAD_CTRL(I2C_PAD_CTRL)