22 #define OMAP7XX_GPIO1_BASE 0xfffbc000
23 #define OMAP7XX_GPIO2_BASE 0xfffbc800
24 #define OMAP7XX_GPIO3_BASE 0xfffbd000
25 #define OMAP7XX_GPIO4_BASE 0xfffbd800
26 #define OMAP7XX_GPIO5_BASE 0xfffbe000
27 #define OMAP7XX_GPIO6_BASE 0xfffbe800
28 #define OMAP1_MPUIO_VBASE OMAP1_MPUIO_BASE
50 .irqenable_inv =
true,
58 .regs = &omap7xx_mpuio_regs,
65 .platform_data = &omap7xx_mpu_gpio_config,
67 .num_resources =
ARRAY_SIZE(omap7xx_mpu_gpio_resources),
68 .resource = omap7xx_mpu_gpio_resources,
91 .irqenable_inv =
true,
97 .regs = &omap7xx_gpio_regs,
104 .platform_data = &omap7xx_gpio1_config,
106 .num_resources =
ARRAY_SIZE(omap7xx_gpio1_resources),
107 .resource = omap7xx_gpio1_resources,
125 .regs = &omap7xx_gpio_regs,
132 .platform_data = &omap7xx_gpio2_config,
134 .num_resources =
ARRAY_SIZE(omap7xx_gpio2_resources),
135 .resource = omap7xx_gpio2_resources,
153 .regs = &omap7xx_gpio_regs,
160 .platform_data = &omap7xx_gpio3_config,
162 .num_resources =
ARRAY_SIZE(omap7xx_gpio3_resources),
163 .resource = omap7xx_gpio3_resources,
181 .regs = &omap7xx_gpio_regs,
188 .platform_data = &omap7xx_gpio4_config,
190 .num_resources =
ARRAY_SIZE(omap7xx_gpio4_resources),
191 .resource = omap7xx_gpio4_resources,
209 .regs = &omap7xx_gpio_regs,
216 .platform_data = &omap7xx_gpio5_config,
218 .num_resources =
ARRAY_SIZE(omap7xx_gpio5_resources),
219 .resource = omap7xx_gpio5_resources,
237 .regs = &omap7xx_gpio_regs,
244 .platform_data = &omap7xx_gpio6_config,
246 .num_resources =
ARRAY_SIZE(omap7xx_gpio6_resources),
247 .resource = omap7xx_gpio6_resources,
265 static int __init omap7xx_gpio_init(
void)
272 for (i = 0; i <
ARRAY_SIZE(omap7xx_gpio_dev); i++)