]> git.sur5r.net Git - u-boot/commitdiff
imx: ventana: add extra DIO's for GW5520
authorTim Harvey <tharvey@gateworks.com>
Fri, 15 Jul 2016 14:14:24 +0000 (07:14 -0700)
committerStefano Babic <sbabic@denx.de>
Thu, 28 Jul 2016 11:27:18 +0000 (13:27 +0200)
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>
board/gateworks/gw_ventana/common.c

index 59e3ff88b2443709199ad71f49fe0074b88f4109..4065c5655a482fd0c801d5969805b00bde29264e 100644 (file)
@@ -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[] = {