summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2016-07-15 07:14:24 -0700
committerStefano Babic <sbabic@denx.de>2016-07-28 13:27:18 +0200
commite86b7adfa3cfe8d87ecb67bc0f02789c51293f51 (patch)
tree7f6ba362048abd08c7368bfa20e5811a03eb1fd6
parent1800ffa83e3fe4a3178606a2254d902503b7c80d (diff)
downloadu-boot-imx-e86b7adfa3cfe8d87ecb67bc0f02789c51293f51.zip
u-boot-imx-e86b7adfa3cfe8d87ecb67bc0f02789c51293f51.tar.gz
u-boot-imx-e86b7adfa3cfe8d87ecb67bc0f02789c51293f51.tar.bz2
imx: ventana: add extra DIO's for GW5520
The GW5520 has 10 DIO's instead of the typical 4 found on the Ventana product family. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
-rw-r--r--board/gateworks/gw_ventana/common.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/board/gateworks/gw_ventana/common.c b/board/gateworks/gw_ventana/common.c
index 59e3ff8..4065c56 100644
--- a/board/gateworks/gw_ventana/common.c
+++ b/board/gateworks/gw_ventana/common.c
@@ -487,6 +487,42 @@ struct dio_cfg gw552x_dio[] = {
{ 0, 0 },
0
},
+ {
+ {IOMUX_PADS(PAD_CSI0_PIXCLK__GPIO5_IO18) },
+ IMX_GPIO_NR(5, 18),
+ { 0, 0 },
+ 0
+ },
+ {
+ {IOMUX_PADS(PAD_CSI0_DATA_EN__GPIO5_IO20) },
+ IMX_GPIO_NR(5, 20),
+ { 0, 0 },
+ 0
+ },
+ {
+ {IOMUX_PADS(PAD_CSI0_VSYNC__GPIO5_IO21) },
+ IMX_GPIO_NR(5, 21),
+ { 0, 0 },
+ 0
+ },
+ {
+ {IOMUX_PADS(PAD_CSI0_DAT4__GPIO5_IO22) },
+ IMX_GPIO_NR(5, 22),
+ { 0, 0 },
+ 0
+ },
+ {
+ {IOMUX_PADS(PAD_CSI0_DAT5__GPIO5_IO23) },
+ IMX_GPIO_NR(5, 23),
+ { 0, 0 },
+ 0
+ },
+ {
+ {IOMUX_PADS(PAD_CSI0_DAT7__GPIO5_IO25) },
+ IMX_GPIO_NR(5, 25),
+ { 0, 0 },
+ 0
+ },
};
struct dio_cfg gw553x_dio[] = {