18 #include <linux/serial.h>
19 #include <linux/tty.h>
20 #include <linux/serial_core.h>
22 #include <asm/pgtable.h>
25 #include <asm/setup.h>
26 #include <asm/memory.h>
27 #include <mach/hardware.h>
31 #ifdef CONFIG_ARCH_IOP32X
32 #define IRQ_IOP3XX_I2C_0 IRQ_IOP32X_I2C_0
33 #define IRQ_IOP3XX_I2C_1 IRQ_IOP32X_I2C_1
35 #ifdef CONFIG_ARCH_IOP33X
36 #define IRQ_IOP3XX_I2C_0 IRQ_IOP33X_I2C_0
37 #define IRQ_IOP3XX_I2C_1 IRQ_IOP33X_I2C_1
40 static struct resource iop3xx_i2c0_resources[] = {
47 .start = IRQ_IOP3XX_I2C_0,
48 .end = IRQ_IOP3XX_I2C_0,
57 .resource = iop3xx_i2c0_resources,
61 static struct resource iop3xx_i2c1_resources[] = {
68 .start = IRQ_IOP3XX_I2C_1,
69 .end = IRQ_IOP3XX_I2C_1,
78 .resource = iop3xx_i2c1_resources,