diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-overo.c')
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 8848c7c5ce48..79ac41400c21 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -63,6 +63,8 @@ | |||
63 | 63 | ||
64 | #define OVERO_SMSC911X_CS 5 | 64 | #define OVERO_SMSC911X_CS 5 |
65 | #define OVERO_SMSC911X_GPIO 176 | 65 | #define OVERO_SMSC911X_GPIO 176 |
66 | #define OVERO_SMSC911X2_CS 4 | ||
67 | #define OVERO_SMSC911X2_GPIO 65 | ||
66 | 68 | ||
67 | #if defined(CONFIG_TOUCHSCREEN_ADS7846) || \ | 69 | #if defined(CONFIG_TOUCHSCREEN_ADS7846) || \ |
68 | defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE) | 70 | defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE) |
@@ -137,6 +139,16 @@ static struct resource overo_smsc911x_resources[] = { | |||
137 | }, | 139 | }, |
138 | }; | 140 | }; |
139 | 141 | ||
142 | static struct resource overo_smsc911x2_resources[] = { | ||
143 | { | ||
144 | .name = "smsc911x2-memory", | ||
145 | .flags = IORESOURCE_MEM, | ||
146 | }, | ||
147 | { | ||
148 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | ||
149 | }, | ||
150 | }; | ||
151 | |||
140 | static struct smsc911x_platform_config overo_smsc911x_config = { | 152 | static struct smsc911x_platform_config overo_smsc911x_config = { |
141 | .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW, | 153 | .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW, |
142 | .irq_type = SMSC911X_IRQ_TYPE_OPEN_DRAIN, | 154 | .irq_type = SMSC911X_IRQ_TYPE_OPEN_DRAIN, |
@@ -146,7 +158,7 @@ static struct smsc911x_platform_config overo_smsc911x_config = { | |||
146 | 158 | ||
147 | static struct platform_device overo_smsc911x_device = { | 159 | static struct platform_device overo_smsc911x_device = { |
148 | .name = "smsc911x", | 160 | .name = "smsc911x", |
149 | .id = -1, | 161 | .id = 0, |
150 | .num_resources = ARRAY_SIZE(overo_smsc911x_resources), | 162 | .num_resources = ARRAY_SIZE(overo_smsc911x_resources), |
151 | .resource = overo_smsc911x_resources, | 163 | .resource = overo_smsc911x_resources, |
152 | .dev = { | 164 | .dev = { |