diff options
Diffstat (limited to 'arch/arm/mach-shmobile/board-g3evm.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-g3evm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/board-g3evm.c b/arch/arm/mach-shmobile/board-g3evm.c index 19b3bf3bf566..16d292dc26df 100644 --- a/arch/arm/mach-shmobile/board-g3evm.c +++ b/arch/arm/mach-shmobile/board-g3evm.c | |||
@@ -121,7 +121,7 @@ static struct resource usb_host_resources[] = { | |||
121 | .flags = IORESOURCE_MEM, | 121 | .flags = IORESOURCE_MEM, |
122 | }, | 122 | }, |
123 | [1] = { | 123 | [1] = { |
124 | .start = 65, | 124 | .start = evt2irq(0xa20), /* USBHS_USHI0 */ |
125 | .flags = IORESOURCE_IRQ, | 125 | .flags = IORESOURCE_IRQ, |
126 | }, | 126 | }, |
127 | }; | 127 | }; |
@@ -161,7 +161,7 @@ static struct resource keysc_resources[] = { | |||
161 | .flags = IORESOURCE_MEM, | 161 | .flags = IORESOURCE_MEM, |
162 | }, | 162 | }, |
163 | [1] = { | 163 | [1] = { |
164 | .start = 79, | 164 | .start = evt2irq(0xbe0), /* KEYSC_KEY */ |
165 | .flags = IORESOURCE_IRQ, | 165 | .flags = IORESOURCE_IRQ, |
166 | }, | 166 | }, |
167 | }; | 167 | }; |
@@ -224,7 +224,7 @@ static struct resource irda_resources[] = { | |||
224 | .flags = IORESOURCE_MEM, | 224 | .flags = IORESOURCE_MEM, |
225 | }, | 225 | }, |
226 | [1] = { | 226 | [1] = { |
227 | .start = 20, | 227 | .start = evt2irq(0x480), /* IRDA */ |
228 | .flags = IORESOURCE_IRQ, | 228 | .flags = IORESOURCE_IRQ, |
229 | }, | 229 | }, |
230 | }; | 230 | }; |
@@ -349,7 +349,7 @@ static void __init g3evm_init(void) | |||
349 | gpio_request(GPIO_FN_IRDA_OUT, NULL); | 349 | gpio_request(GPIO_FN_IRDA_OUT, NULL); |
350 | gpio_request(GPIO_FN_IRDA_IN, NULL); | 350 | gpio_request(GPIO_FN_IRDA_IN, NULL); |
351 | gpio_request(GPIO_FN_IRDA_FIRSEL, NULL); | 351 | gpio_request(GPIO_FN_IRDA_FIRSEL, NULL); |
352 | set_irq_type(20, IRQ_TYPE_LEVEL_LOW); | 352 | set_irq_type(evt2irq(0x480), IRQ_TYPE_LEVEL_LOW); |
353 | 353 | ||
354 | sh7367_add_standard_devices(); | 354 | sh7367_add_standard_devices(); |
355 | 355 | ||