13 #include <linux/i2c.h>
24 #define PB44_GPIO_I2C_SCL 0
25 #define PB44_GPIO_I2C_SDA 1
27 #define PB44_GPIO_EXP_BASE 16
28 #define PB44_GPIO_SW_RESET (PB44_GPIO_EXP_BASE + 6)
29 #define PB44_GPIO_SW_JUMP (PB44_GPIO_EXP_BASE + 8)
30 #define PB44_GPIO_LED_JUMP1 (PB44_GPIO_EXP_BASE + 9)
31 #define PB44_GPIO_LED_JUMP2 (PB44_GPIO_EXP_BASE + 10)
33 #define PB44_KEYS_POLL_INTERVAL 20
34 #define PB44_KEYS_DEBOUNCE_INTERVAL (3 * PB44_KEYS_POLL_INTERVAL)
45 .platform_data = &pb44_i2c_gpio_data,
56 .platform_data = &pb44_pcf857x_data,
60 static struct gpio_led pb44_leds_gpio[] __initdata = {
62 .name =
"pb44:amber:jump1",
66 .name =
"pb44:green:jump2",
94 .max_speed_hz = 25000000,
104 static void __init pb44_init(
void)