aboutsummaryrefslogtreecommitdiff
path: root/board/gateworks/gw_ventana/common.c
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2019-02-04 13:10:55 -0800
committerStefano Babic <sbabic@denx.de>2019-02-15 22:01:15 +0100
commit00606b51cca6057b4df2b52c3572f476307257eb (patch)
tree6a7e0c97effe73f20a0409bcf10fdfea2ac03429 /board/gateworks/gw_ventana/common.c
parent988916ad1bf1e9fc98c848088d364dd8c3827f03 (diff)
downloadu-boot-00606b51cca6057b4df2b52c3572f476307257eb.zip
u-boot-00606b51cca6057b4df2b52c3572f476307257eb.tar.gz
u-boot-00606b51cca6057b4df2b52c3572f476307257eb.tar.bz2
imx: ventana: add support for GW5907
The GW5907 is a small single board computer based on the i.MX6DL SoC with the following peripheral set: - DDR3 memory (512MB default) - 1x GigE (i.MX6 FEC) - Gateworks System Controller Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks/gw_ventana/common.c')
-rw-r--r--board/gateworks/gw_ventana/common.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/board/gateworks/gw_ventana/common.c b/board/gateworks/gw_ventana/common.c
index 3a187ea..2b0bf0e 100644
--- a/board/gateworks/gw_ventana/common.c
+++ b/board/gateworks/gw_ventana/common.c
@@ -1097,6 +1097,21 @@ struct ventana gpio_cfg[GW_UNKNOWN] = {
.msata_en = GP_MSATA_SEL,
.nand = true,
},
+
+ /* GW5907 */
+ {
+ .gpio_pads = gw51xx_gpio_pads,
+ .num_pads = ARRAY_SIZE(gw51xx_gpio_pads)/2,
+ .dio_cfg = gw51xx_dio,
+ .dio_num = ARRAY_SIZE(gw51xx_dio),
+ .leds = {
+ IMX_GPIO_NR(4, 6),
+ IMX_GPIO_NR(4, 10),
+ },
+ .pcie_rst = IMX_GPIO_NR(1, 0),
+ .wdis = IMX_GPIO_NR(7, 12),
+ .nand = true,
+ },
};
#define SETUP_GPIO_OUTPUT(gpio, name, level) \