blob: b4fbd9862606c76fc8accc05c18d0f2a1d4ab6ec [file] [log] [blame]
Baruch Siach1e9c2852009-06-18 16:48:58 -07001/* platform data for the PL061 GPIO driver */
2
3struct pl061_platform_data {
4 /* number of the first GPIO */
5 unsigned gpio_base;
6
7 /* number of the first IRQ.
8 * If the IRQ functionality in not desired this must be set to
9 * (unsigned) -1.
10 */
11 unsigned irq_base;
12
13 u8 directions; /* startup directions, 1: out, 0: in */
14 u8 values; /* startup values */
15};