The GW5520 has 10 DIO's instead of the typical 4 found on the Ventana
product family.

Signed-off-by: Tim Harvey <thar...@gateworks.com>
---
 board/gateworks/gw_ventana/common.c | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/board/gateworks/gw_ventana/common.c 
b/board/gateworks/gw_ventana/common.c
index ab8714a..76ed97b 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[] = {
-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to