diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-09-23 19:15:44 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-09-23 19:15:44 -0400 |
commit | 291852e8791a596195edc3ced96481bfd105f35b (patch) | |
tree | 5ac0d7f65cc21943863301fc50e62a616b168e8d /arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | |
parent | 2910f14584eddf2bc0db4baec3c6950ef357b52c (diff) | |
parent | de6ca33a96a6bf61fcb91d3d399703e19ead9d1e (diff) |
Merge tag 'cleanup-fixes-for-v3.7' into test_v3.6-rc6_ocb3.7_cff3.7_odaf3.7
These fixes are needed to fix non-omap build breakage for
twl-core driver and to fix omap1_defconfig compile when
led driver changes and omap sparse IRQ changes are merged
together. Also fix warnings for omaps not using pinctrl
framework yet.
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_3xxx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 152 |
1 files changed, 76 insertions, 76 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c index ce7e6068768f..8fec2cee3e14 100644 --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | |||
@@ -15,26 +15,26 @@ | |||
15 | * XXX these should be marked initdata for multi-OMAP kernels | 15 | * XXX these should be marked initdata for multi-OMAP kernels |
16 | */ | 16 | */ |
17 | #include <linux/power/smartreflex.h> | 17 | #include <linux/power/smartreflex.h> |
18 | #include <linux/platform_data/gpio-omap.h> | ||
18 | 19 | ||
19 | #include <plat/omap_hwmod.h> | 20 | #include <plat/omap_hwmod.h> |
20 | #include <mach/irqs.h> | ||
21 | #include <plat/cpu.h> | ||
22 | #include <plat/dma.h> | 21 | #include <plat/dma.h> |
23 | #include <plat/serial.h> | 22 | #include <plat/serial.h> |
24 | #include <plat/l3_3xxx.h> | 23 | #include <plat/l3_3xxx.h> |
25 | #include <plat/l4_3xxx.h> | 24 | #include <plat/l4_3xxx.h> |
26 | #include <plat/i2c.h> | 25 | #include <plat/i2c.h> |
27 | #include <plat/gpio.h> | ||
28 | #include <plat/mmc.h> | 26 | #include <plat/mmc.h> |
29 | #include <plat/mcbsp.h> | 27 | #include <plat/mcbsp.h> |
30 | #include <plat/mcspi.h> | 28 | #include <plat/mcspi.h> |
31 | #include <plat/dmtimer.h> | 29 | #include <plat/dmtimer.h> |
32 | 30 | ||
31 | #include <mach/am35xx.h> | ||
32 | |||
33 | #include "soc.h" | ||
33 | #include "omap_hwmod_common_data.h" | 34 | #include "omap_hwmod_common_data.h" |
34 | #include "prm-regbits-34xx.h" | 35 | #include "prm-regbits-34xx.h" |
35 | #include "cm-regbits-34xx.h" | 36 | #include "cm-regbits-34xx.h" |
36 | #include "wd_timer.h" | 37 | #include "wd_timer.h" |
37 | #include <mach/am35xx.h> | ||
38 | 38 | ||
39 | /* | 39 | /* |
40 | * OMAP3xxx hardware module integration data | 40 | * OMAP3xxx hardware module integration data |
@@ -51,9 +51,9 @@ | |||
51 | 51 | ||
52 | /* L3 */ | 52 | /* L3 */ |
53 | static struct omap_hwmod_irq_info omap3xxx_l3_main_irqs[] = { | 53 | static struct omap_hwmod_irq_info omap3xxx_l3_main_irqs[] = { |
54 | { .irq = INT_34XX_L3_DBG_IRQ }, | 54 | { .irq = 9 + OMAP_INTC_START, }, |
55 | { .irq = INT_34XX_L3_APP_IRQ }, | 55 | { .irq = 10 + OMAP_INTC_START, }, |
56 | { .irq = -1 } | 56 | { .irq = -1 }, |
57 | }; | 57 | }; |
58 | 58 | ||
59 | static struct omap_hwmod omap3xxx_l3_main_hwmod = { | 59 | static struct omap_hwmod omap3xxx_l3_main_hwmod = { |
@@ -364,8 +364,8 @@ static struct omap_hwmod omap3xxx_timer11_hwmod = { | |||
364 | 364 | ||
365 | /* timer12 */ | 365 | /* timer12 */ |
366 | static struct omap_hwmod_irq_info omap3xxx_timer12_mpu_irqs[] = { | 366 | static struct omap_hwmod_irq_info omap3xxx_timer12_mpu_irqs[] = { |
367 | { .irq = 95, }, | 367 | { .irq = 95 + OMAP_INTC_START, }, |
368 | { .irq = -1 } | 368 | { .irq = -1 }, |
369 | }; | 369 | }; |
370 | 370 | ||
371 | static struct omap_hwmod omap3xxx_timer12_hwmod = { | 371 | static struct omap_hwmod omap3xxx_timer12_hwmod = { |
@@ -499,8 +499,8 @@ static struct omap_hwmod omap3xxx_uart3_hwmod = { | |||
499 | 499 | ||
500 | /* UART4 */ | 500 | /* UART4 */ |
501 | static struct omap_hwmod_irq_info uart4_mpu_irqs[] = { | 501 | static struct omap_hwmod_irq_info uart4_mpu_irqs[] = { |
502 | { .irq = INT_36XX_UART4_IRQ, }, | 502 | { .irq = 80 + OMAP_INTC_START, }, |
503 | { .irq = -1 } | 503 | { .irq = -1 }, |
504 | }; | 504 | }; |
505 | 505 | ||
506 | static struct omap_hwmod_dma_info uart4_sdma_reqs[] = { | 506 | static struct omap_hwmod_dma_info uart4_sdma_reqs[] = { |
@@ -527,8 +527,8 @@ static struct omap_hwmod omap36xx_uart4_hwmod = { | |||
527 | }; | 527 | }; |
528 | 528 | ||
529 | static struct omap_hwmod_irq_info am35xx_uart4_mpu_irqs[] = { | 529 | static struct omap_hwmod_irq_info am35xx_uart4_mpu_irqs[] = { |
530 | { .irq = INT_35XX_UART4_IRQ, }, | 530 | { .irq = 84 + OMAP_INTC_START, }, |
531 | { .irq = -1 } | 531 | { .irq = -1 }, |
532 | }; | 532 | }; |
533 | 533 | ||
534 | static struct omap_hwmod_dma_info am35xx_uart4_sdma_reqs[] = { | 534 | static struct omap_hwmod_dma_info am35xx_uart4_sdma_reqs[] = { |
@@ -683,8 +683,8 @@ static struct omap_hwmod_class omap3xxx_dsi_hwmod_class = { | |||
683 | }; | 683 | }; |
684 | 684 | ||
685 | static struct omap_hwmod_irq_info omap3xxx_dsi1_irqs[] = { | 685 | static struct omap_hwmod_irq_info omap3xxx_dsi1_irqs[] = { |
686 | { .irq = 25 }, | 686 | { .irq = 25 + OMAP_INTC_START, }, |
687 | { .irq = -1 } | 687 | { .irq = -1 }, |
688 | }; | 688 | }; |
689 | 689 | ||
690 | /* dss_dsi1 */ | 690 | /* dss_dsi1 */ |
@@ -813,8 +813,8 @@ static struct omap_i2c_dev_attr i2c3_dev_attr = { | |||
813 | }; | 813 | }; |
814 | 814 | ||
815 | static struct omap_hwmod_irq_info i2c3_mpu_irqs[] = { | 815 | static struct omap_hwmod_irq_info i2c3_mpu_irqs[] = { |
816 | { .irq = INT_34XX_I2C3_IRQ, }, | 816 | { .irq = 61 + OMAP_INTC_START, }, |
817 | { .irq = -1 } | 817 | { .irq = -1 }, |
818 | }; | 818 | }; |
819 | 819 | ||
820 | static struct omap_hwmod_dma_info i2c3_sdma_reqs[] = { | 820 | static struct omap_hwmod_dma_info i2c3_sdma_reqs[] = { |
@@ -972,8 +972,8 @@ static struct omap_hwmod omap3xxx_gpio4_hwmod = { | |||
972 | 972 | ||
973 | /* gpio5 */ | 973 | /* gpio5 */ |
974 | static struct omap_hwmod_irq_info omap3xxx_gpio5_irqs[] = { | 974 | static struct omap_hwmod_irq_info omap3xxx_gpio5_irqs[] = { |
975 | { .irq = 33 }, /* INT_34XX_GPIO_BANK5 */ | 975 | { .irq = 33 + OMAP_INTC_START, }, /* INT_34XX_GPIO_BANK5 */ |
976 | { .irq = -1 } | 976 | { .irq = -1 }, |
977 | }; | 977 | }; |
978 | 978 | ||
979 | static struct omap_hwmod_opt_clk gpio5_opt_clks[] = { | 979 | static struct omap_hwmod_opt_clk gpio5_opt_clks[] = { |
@@ -1002,8 +1002,8 @@ static struct omap_hwmod omap3xxx_gpio5_hwmod = { | |||
1002 | 1002 | ||
1003 | /* gpio6 */ | 1003 | /* gpio6 */ |
1004 | static struct omap_hwmod_irq_info omap3xxx_gpio6_irqs[] = { | 1004 | static struct omap_hwmod_irq_info omap3xxx_gpio6_irqs[] = { |
1005 | { .irq = 34 }, /* INT_34XX_GPIO_BANK6 */ | 1005 | { .irq = 34 + OMAP_INTC_START, }, /* INT_34XX_GPIO_BANK6 */ |
1006 | { .irq = -1 } | 1006 | { .irq = -1 }, |
1007 | }; | 1007 | }; |
1008 | 1008 | ||
1009 | static struct omap_hwmod_opt_clk gpio6_opt_clks[] = { | 1009 | static struct omap_hwmod_opt_clk gpio6_opt_clks[] = { |
@@ -1107,10 +1107,10 @@ static struct omap_hwmod_opt_clk mcbsp234_opt_clks[] = { | |||
1107 | 1107 | ||
1108 | /* mcbsp1 */ | 1108 | /* mcbsp1 */ |
1109 | static struct omap_hwmod_irq_info omap3xxx_mcbsp1_irqs[] = { | 1109 | static struct omap_hwmod_irq_info omap3xxx_mcbsp1_irqs[] = { |
1110 | { .name = "common", .irq = 16 }, | 1110 | { .name = "common", .irq = 16 + OMAP_INTC_START, }, |
1111 | { .name = "tx", .irq = 59 }, | 1111 | { .name = "tx", .irq = 59 + OMAP_INTC_START, }, |
1112 | { .name = "rx", .irq = 60 }, | 1112 | { .name = "rx", .irq = 60 + OMAP_INTC_START, }, |
1113 | { .irq = -1 } | 1113 | { .irq = -1 }, |
1114 | }; | 1114 | }; |
1115 | 1115 | ||
1116 | static struct omap_hwmod omap3xxx_mcbsp1_hwmod = { | 1116 | static struct omap_hwmod omap3xxx_mcbsp1_hwmod = { |
@@ -1134,10 +1134,10 @@ static struct omap_hwmod omap3xxx_mcbsp1_hwmod = { | |||
1134 | 1134 | ||
1135 | /* mcbsp2 */ | 1135 | /* mcbsp2 */ |
1136 | static struct omap_hwmod_irq_info omap3xxx_mcbsp2_irqs[] = { | 1136 | static struct omap_hwmod_irq_info omap3xxx_mcbsp2_irqs[] = { |
1137 | { .name = "common", .irq = 17 }, | 1137 | { .name = "common", .irq = 17 + OMAP_INTC_START, }, |
1138 | { .name = "tx", .irq = 62 }, | 1138 | { .name = "tx", .irq = 62 + OMAP_INTC_START, }, |
1139 | { .name = "rx", .irq = 63 }, | 1139 | { .name = "rx", .irq = 63 + OMAP_INTC_START, }, |
1140 | { .irq = -1 } | 1140 | { .irq = -1 }, |
1141 | }; | 1141 | }; |
1142 | 1142 | ||
1143 | static struct omap_mcbsp_dev_attr omap34xx_mcbsp2_dev_attr = { | 1143 | static struct omap_mcbsp_dev_attr omap34xx_mcbsp2_dev_attr = { |
@@ -1166,10 +1166,10 @@ static struct omap_hwmod omap3xxx_mcbsp2_hwmod = { | |||
1166 | 1166 | ||
1167 | /* mcbsp3 */ | 1167 | /* mcbsp3 */ |
1168 | static struct omap_hwmod_irq_info omap3xxx_mcbsp3_irqs[] = { | 1168 | static struct omap_hwmod_irq_info omap3xxx_mcbsp3_irqs[] = { |
1169 | { .name = "common", .irq = 22 }, | 1169 | { .name = "common", .irq = 22 + OMAP_INTC_START, }, |
1170 | { .name = "tx", .irq = 89 }, | 1170 | { .name = "tx", .irq = 89 + OMAP_INTC_START, }, |
1171 | { .name = "rx", .irq = 90 }, | 1171 | { .name = "rx", .irq = 90 + OMAP_INTC_START, }, |
1172 | { .irq = -1 } | 1172 | { .irq = -1 }, |
1173 | }; | 1173 | }; |
1174 | 1174 | ||
1175 | static struct omap_mcbsp_dev_attr omap34xx_mcbsp3_dev_attr = { | 1175 | static struct omap_mcbsp_dev_attr omap34xx_mcbsp3_dev_attr = { |
@@ -1198,10 +1198,10 @@ static struct omap_hwmod omap3xxx_mcbsp3_hwmod = { | |||
1198 | 1198 | ||
1199 | /* mcbsp4 */ | 1199 | /* mcbsp4 */ |
1200 | static struct omap_hwmod_irq_info omap3xxx_mcbsp4_irqs[] = { | 1200 | static struct omap_hwmod_irq_info omap3xxx_mcbsp4_irqs[] = { |
1201 | { .name = "common", .irq = 23 }, | 1201 | { .name = "common", .irq = 23 + OMAP_INTC_START, }, |
1202 | { .name = "tx", .irq = 54 }, | 1202 | { .name = "tx", .irq = 54 + OMAP_INTC_START, }, |
1203 | { .name = "rx", .irq = 55 }, | 1203 | { .name = "rx", .irq = 55 + OMAP_INTC_START, }, |
1204 | { .irq = -1 } | 1204 | { .irq = -1 }, |
1205 | }; | 1205 | }; |
1206 | 1206 | ||
1207 | static struct omap_hwmod_dma_info omap3xxx_mcbsp4_sdma_chs[] = { | 1207 | static struct omap_hwmod_dma_info omap3xxx_mcbsp4_sdma_chs[] = { |
@@ -1231,10 +1231,10 @@ static struct omap_hwmod omap3xxx_mcbsp4_hwmod = { | |||
1231 | 1231 | ||
1232 | /* mcbsp5 */ | 1232 | /* mcbsp5 */ |
1233 | static struct omap_hwmod_irq_info omap3xxx_mcbsp5_irqs[] = { | 1233 | static struct omap_hwmod_irq_info omap3xxx_mcbsp5_irqs[] = { |
1234 | { .name = "common", .irq = 27 }, | 1234 | { .name = "common", .irq = 27 + OMAP_INTC_START, }, |
1235 | { .name = "tx", .irq = 81 }, | 1235 | { .name = "tx", .irq = 81 + OMAP_INTC_START, }, |
1236 | { .name = "rx", .irq = 82 }, | 1236 | { .name = "rx", .irq = 82 + OMAP_INTC_START, }, |
1237 | { .irq = -1 } | 1237 | { .irq = -1 }, |
1238 | }; | 1238 | }; |
1239 | 1239 | ||
1240 | static struct omap_hwmod_dma_info omap3xxx_mcbsp5_sdma_chs[] = { | 1240 | static struct omap_hwmod_dma_info omap3xxx_mcbsp5_sdma_chs[] = { |
@@ -1276,8 +1276,8 @@ static struct omap_hwmod_class omap3xxx_mcbsp_sidetone_hwmod_class = { | |||
1276 | 1276 | ||
1277 | /* mcbsp2_sidetone */ | 1277 | /* mcbsp2_sidetone */ |
1278 | static struct omap_hwmod_irq_info omap3xxx_mcbsp2_sidetone_irqs[] = { | 1278 | static struct omap_hwmod_irq_info omap3xxx_mcbsp2_sidetone_irqs[] = { |
1279 | { .name = "irq", .irq = 4 }, | 1279 | { .name = "irq", .irq = 4 + OMAP_INTC_START, }, |
1280 | { .irq = -1 } | 1280 | { .irq = -1 }, |
1281 | }; | 1281 | }; |
1282 | 1282 | ||
1283 | static struct omap_hwmod omap3xxx_mcbsp2_sidetone_hwmod = { | 1283 | static struct omap_hwmod omap3xxx_mcbsp2_sidetone_hwmod = { |
@@ -1298,8 +1298,8 @@ static struct omap_hwmod omap3xxx_mcbsp2_sidetone_hwmod = { | |||
1298 | 1298 | ||
1299 | /* mcbsp3_sidetone */ | 1299 | /* mcbsp3_sidetone */ |
1300 | static struct omap_hwmod_irq_info omap3xxx_mcbsp3_sidetone_irqs[] = { | 1300 | static struct omap_hwmod_irq_info omap3xxx_mcbsp3_sidetone_irqs[] = { |
1301 | { .name = "irq", .irq = 5 }, | 1301 | { .name = "irq", .irq = 5 + OMAP_INTC_START, }, |
1302 | { .irq = -1 } | 1302 | { .irq = -1 }, |
1303 | }; | 1303 | }; |
1304 | 1304 | ||
1305 | static struct omap_hwmod omap3xxx_mcbsp3_sidetone_hwmod = { | 1305 | static struct omap_hwmod omap3xxx_mcbsp3_sidetone_hwmod = { |
@@ -1361,8 +1361,8 @@ static struct omap_smartreflex_dev_attr sr1_dev_attr = { | |||
1361 | }; | 1361 | }; |
1362 | 1362 | ||
1363 | static struct omap_hwmod_irq_info omap3_smartreflex_mpu_irqs[] = { | 1363 | static struct omap_hwmod_irq_info omap3_smartreflex_mpu_irqs[] = { |
1364 | { .irq = 18 }, | 1364 | { .irq = 18 + OMAP_INTC_START, }, |
1365 | { .irq = -1 } | 1365 | { .irq = -1 }, |
1366 | }; | 1366 | }; |
1367 | 1367 | ||
1368 | static struct omap_hwmod omap34xx_sr1_hwmod = { | 1368 | static struct omap_hwmod omap34xx_sr1_hwmod = { |
@@ -1406,8 +1406,8 @@ static struct omap_smartreflex_dev_attr sr2_dev_attr = { | |||
1406 | }; | 1406 | }; |
1407 | 1407 | ||
1408 | static struct omap_hwmod_irq_info omap3_smartreflex_core_irqs[] = { | 1408 | static struct omap_hwmod_irq_info omap3_smartreflex_core_irqs[] = { |
1409 | { .irq = 19 }, | 1409 | { .irq = 19 + OMAP_INTC_START, }, |
1410 | { .irq = -1 } | 1410 | { .irq = -1 }, |
1411 | }; | 1411 | }; |
1412 | 1412 | ||
1413 | static struct omap_hwmod omap34xx_sr2_hwmod = { | 1413 | static struct omap_hwmod omap34xx_sr2_hwmod = { |
@@ -1467,8 +1467,8 @@ static struct omap_hwmod_class omap3xxx_mailbox_hwmod_class = { | |||
1467 | }; | 1467 | }; |
1468 | 1468 | ||
1469 | static struct omap_hwmod_irq_info omap3xxx_mailbox_irqs[] = { | 1469 | static struct omap_hwmod_irq_info omap3xxx_mailbox_irqs[] = { |
1470 | { .irq = 26 }, | 1470 | { .irq = 26 + OMAP_INTC_START, }, |
1471 | { .irq = -1 } | 1471 | { .irq = -1 }, |
1472 | }; | 1472 | }; |
1473 | 1473 | ||
1474 | static struct omap_hwmod omap3xxx_mailbox_hwmod = { | 1474 | static struct omap_hwmod omap3xxx_mailbox_hwmod = { |
@@ -1558,8 +1558,8 @@ static struct omap_hwmod omap34xx_mcspi2 = { | |||
1558 | 1558 | ||
1559 | /* mcspi3 */ | 1559 | /* mcspi3 */ |
1560 | static struct omap_hwmod_irq_info omap34xx_mcspi3_mpu_irqs[] = { | 1560 | static struct omap_hwmod_irq_info omap34xx_mcspi3_mpu_irqs[] = { |
1561 | { .name = "irq", .irq = 91 }, /* 91 */ | 1561 | { .name = "irq", .irq = 91 + OMAP_INTC_START, }, /* 91 */ |
1562 | { .irq = -1 } | 1562 | { .irq = -1 }, |
1563 | }; | 1563 | }; |
1564 | 1564 | ||
1565 | static struct omap_hwmod_dma_info omap34xx_mcspi3_sdma_reqs[] = { | 1565 | static struct omap_hwmod_dma_info omap34xx_mcspi3_sdma_reqs[] = { |
@@ -1594,8 +1594,8 @@ static struct omap_hwmod omap34xx_mcspi3 = { | |||
1594 | 1594 | ||
1595 | /* mcspi4 */ | 1595 | /* mcspi4 */ |
1596 | static struct omap_hwmod_irq_info omap34xx_mcspi4_mpu_irqs[] = { | 1596 | static struct omap_hwmod_irq_info omap34xx_mcspi4_mpu_irqs[] = { |
1597 | { .name = "irq", .irq = INT_34XX_SPI4_IRQ }, /* 48 */ | 1597 | { .name = "irq", .irq = 48 + OMAP_INTC_START, }, |
1598 | { .irq = -1 } | 1598 | { .irq = -1 }, |
1599 | }; | 1599 | }; |
1600 | 1600 | ||
1601 | static struct omap_hwmod_dma_info omap34xx_mcspi4_sdma_reqs[] = { | 1601 | static struct omap_hwmod_dma_info omap34xx_mcspi4_sdma_reqs[] = { |
@@ -1647,9 +1647,9 @@ static struct omap_hwmod_class usbotg_class = { | |||
1647 | /* usb_otg_hs */ | 1647 | /* usb_otg_hs */ |
1648 | static struct omap_hwmod_irq_info omap3xxx_usbhsotg_mpu_irqs[] = { | 1648 | static struct omap_hwmod_irq_info omap3xxx_usbhsotg_mpu_irqs[] = { |
1649 | 1649 | ||
1650 | { .name = "mc", .irq = 92 }, | 1650 | { .name = "mc", .irq = 92 + OMAP_INTC_START, }, |
1651 | { .name = "dma", .irq = 93 }, | 1651 | { .name = "dma", .irq = 93 + OMAP_INTC_START, }, |
1652 | { .irq = -1 } | 1652 | { .irq = -1 }, |
1653 | }; | 1653 | }; |
1654 | 1654 | ||
1655 | static struct omap_hwmod omap3xxx_usbhsotg_hwmod = { | 1655 | static struct omap_hwmod omap3xxx_usbhsotg_hwmod = { |
@@ -1679,8 +1679,8 @@ static struct omap_hwmod omap3xxx_usbhsotg_hwmod = { | |||
1679 | 1679 | ||
1680 | /* usb_otg_hs */ | 1680 | /* usb_otg_hs */ |
1681 | static struct omap_hwmod_irq_info am35xx_usbhsotg_mpu_irqs[] = { | 1681 | static struct omap_hwmod_irq_info am35xx_usbhsotg_mpu_irqs[] = { |
1682 | { .name = "mc", .irq = 71 }, | 1682 | { .name = "mc", .irq = 71 + OMAP_INTC_START, }, |
1683 | { .irq = -1 } | 1683 | { .irq = -1 }, |
1684 | }; | 1684 | }; |
1685 | 1685 | ||
1686 | static struct omap_hwmod_class am35xx_usbotg_class = { | 1686 | static struct omap_hwmod_class am35xx_usbotg_class = { |
@@ -1715,8 +1715,8 @@ static struct omap_hwmod_class omap34xx_mmc_class = { | |||
1715 | /* MMC/SD/SDIO1 */ | 1715 | /* MMC/SD/SDIO1 */ |
1716 | 1716 | ||
1717 | static struct omap_hwmod_irq_info omap34xx_mmc1_mpu_irqs[] = { | 1717 | static struct omap_hwmod_irq_info omap34xx_mmc1_mpu_irqs[] = { |
1718 | { .irq = 83, }, | 1718 | { .irq = 83 + OMAP_INTC_START, }, |
1719 | { .irq = -1 } | 1719 | { .irq = -1 }, |
1720 | }; | 1720 | }; |
1721 | 1721 | ||
1722 | static struct omap_hwmod_dma_info omap34xx_mmc1_sdma_reqs[] = { | 1722 | static struct omap_hwmod_dma_info omap34xx_mmc1_sdma_reqs[] = { |
@@ -1782,8 +1782,8 @@ static struct omap_hwmod omap3xxx_es3plus_mmc1_hwmod = { | |||
1782 | /* MMC/SD/SDIO2 */ | 1782 | /* MMC/SD/SDIO2 */ |
1783 | 1783 | ||
1784 | static struct omap_hwmod_irq_info omap34xx_mmc2_mpu_irqs[] = { | 1784 | static struct omap_hwmod_irq_info omap34xx_mmc2_mpu_irqs[] = { |
1785 | { .irq = INT_24XX_MMC2_IRQ, }, | 1785 | { .irq = 86 + OMAP_INTC_START, }, |
1786 | { .irq = -1 } | 1786 | { .irq = -1 }, |
1787 | }; | 1787 | }; |
1788 | 1788 | ||
1789 | static struct omap_hwmod_dma_info omap34xx_mmc2_sdma_reqs[] = { | 1789 | static struct omap_hwmod_dma_info omap34xx_mmc2_sdma_reqs[] = { |
@@ -1843,8 +1843,8 @@ static struct omap_hwmod omap3xxx_es3plus_mmc2_hwmod = { | |||
1843 | /* MMC/SD/SDIO3 */ | 1843 | /* MMC/SD/SDIO3 */ |
1844 | 1844 | ||
1845 | static struct omap_hwmod_irq_info omap34xx_mmc3_mpu_irqs[] = { | 1845 | static struct omap_hwmod_irq_info omap34xx_mmc3_mpu_irqs[] = { |
1846 | { .irq = 94, }, | 1846 | { .irq = 94 + OMAP_INTC_START, }, |
1847 | { .irq = -1 } | 1847 | { .irq = -1 }, |
1848 | }; | 1848 | }; |
1849 | 1849 | ||
1850 | static struct omap_hwmod_dma_info omap34xx_mmc3_sdma_reqs[] = { | 1850 | static struct omap_hwmod_dma_info omap34xx_mmc3_sdma_reqs[] = { |
@@ -1902,9 +1902,9 @@ static struct omap_hwmod_opt_clk omap3xxx_usb_host_hs_opt_clks[] = { | |||
1902 | }; | 1902 | }; |
1903 | 1903 | ||
1904 | static struct omap_hwmod_irq_info omap3xxx_usb_host_hs_irqs[] = { | 1904 | static struct omap_hwmod_irq_info omap3xxx_usb_host_hs_irqs[] = { |
1905 | { .name = "ohci-irq", .irq = 76 }, | 1905 | { .name = "ohci-irq", .irq = 76 + OMAP_INTC_START, }, |
1906 | { .name = "ehci-irq", .irq = 77 }, | 1906 | { .name = "ehci-irq", .irq = 77 + OMAP_INTC_START, }, |
1907 | { .irq = -1 } | 1907 | { .irq = -1 }, |
1908 | }; | 1908 | }; |
1909 | 1909 | ||
1910 | static struct omap_hwmod omap3xxx_usb_host_hs_hwmod = { | 1910 | static struct omap_hwmod omap3xxx_usb_host_hs_hwmod = { |
@@ -1996,8 +1996,8 @@ static struct omap_hwmod_class omap3xxx_usb_tll_hs_hwmod_class = { | |||
1996 | }; | 1996 | }; |
1997 | 1997 | ||
1998 | static struct omap_hwmod_irq_info omap3xxx_usb_tll_hs_irqs[] = { | 1998 | static struct omap_hwmod_irq_info omap3xxx_usb_tll_hs_irqs[] = { |
1999 | { .name = "tll-irq", .irq = 78 }, | 1999 | { .name = "tll-irq", .irq = 78 + OMAP_INTC_START, }, |
2000 | { .irq = -1 } | 2000 | { .irq = -1 }, |
2001 | }; | 2001 | }; |
2002 | 2002 | ||
2003 | static struct omap_hwmod omap3xxx_usb_tll_hs_hwmod = { | 2003 | static struct omap_hwmod omap3xxx_usb_tll_hs_hwmod = { |
@@ -3223,11 +3223,11 @@ static struct omap_hwmod_ocp_if am35xx_l4_core__mdio = { | |||
3223 | }; | 3223 | }; |
3224 | 3224 | ||
3225 | static struct omap_hwmod_irq_info am35xx_emac_mpu_irqs[] = { | 3225 | static struct omap_hwmod_irq_info am35xx_emac_mpu_irqs[] = { |
3226 | { .name = "rxthresh", .irq = INT_35XX_EMAC_C0_RXTHRESH_IRQ }, | 3226 | { .name = "rxthresh", .irq = 67 + OMAP_INTC_START, }, |
3227 | { .name = "rx_pulse", .irq = INT_35XX_EMAC_C0_RX_PULSE_IRQ }, | 3227 | { .name = "rx_pulse", .irq = 68 + OMAP_INTC_START, }, |
3228 | { .name = "tx_pulse", .irq = INT_35XX_EMAC_C0_TX_PULSE_IRQ }, | 3228 | { .name = "tx_pulse", .irq = 69 + OMAP_INTC_START }, |
3229 | { .name = "misc_pulse", .irq = INT_35XX_EMAC_C0_MISC_PULSE_IRQ }, | 3229 | { .name = "misc_pulse", .irq = 70 + OMAP_INTC_START }, |
3230 | { .irq = -1 } | 3230 | { .irq = -1 }, |
3231 | }; | 3231 | }; |
3232 | 3232 | ||
3233 | static struct omap_hwmod_class am35xx_emac_class = { | 3233 | static struct omap_hwmod_class am35xx_emac_class = { |