Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: Switch to new style MTU2 device

The MTU2 (Multi-Function Timer Pulse Unit 2) driver implements a new
style of platform data that handles the timer as a single device with
multiple channel. Switch from the old-style platform data to the
new-style platform data.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Wolfram Sang <wsa@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

authored by

Laurent Pinchart and committed by
Simon Horman
5204601c e4ae34e2

+72 -433
+1 -1
arch/sh/kernel/cpu/clock-cpg.c
··· 60 60 clk_add_alias("fck", "sh-tmu.0", "peripheral_clk", NULL); 61 61 clk_add_alias("fck", "sh-tmu.1", "peripheral_clk", NULL); 62 62 clk_add_alias("fck", "sh-tmu.2", "peripheral_clk", NULL); 63 - clk_add_alias("mtu2_fck", NULL, "peripheral_clk", NULL); 63 + clk_add_alias("fck", "sh-mtu2", "peripheral_clk", NULL); 64 64 clk_add_alias("fck", "sh-cmt-16.0", "peripheral_clk", NULL); 65 65 clk_add_alias("fck", "sh-cmt-32.0", "peripheral_clk", NULL); 66 66 clk_add_alias("sci_ick", NULL, "peripheral_clk", NULL);
+1 -1
arch/sh/kernel/cpu/sh2a/clock-sh7264.c
··· 119 119 CLKDEV_CON_ID("vdc3", &mstp_clks[MSTP74]), 120 120 CLKDEV_ICK_ID("fck", "sh-cmt-16.0", &mstp_clks[MSTP72]), 121 121 CLKDEV_CON_ID("usb0", &mstp_clks[MSTP60]), 122 - CLKDEV_CON_ID("mtu2_fck", &mstp_clks[MSTP35]), 122 + CLKDEV_ICK_ID("fck", "sh-mtu2", &mstp_clks[MSTP35]), 123 123 CLKDEV_CON_ID("sdhi0", &mstp_clks[MSTP34]), 124 124 CLKDEV_CON_ID("sdhi1", &mstp_clks[MSTP33]), 125 125 CLKDEV_CON_ID("adc0", &mstp_clks[MSTP32]),
+1 -1
arch/sh/kernel/cpu/sh2a/clock-sh7269.c
··· 160 160 CLKDEV_ICK_ID("sci_fck", "sh-sci.7", &mstp_clks[MSTP40]), 161 161 CLKDEV_ICK_ID("fck", "sh-cmt-16.0", &mstp_clks[MSTP72]), 162 162 CLKDEV_CON_ID("usb0", &mstp_clks[MSTP60]), 163 - CLKDEV_CON_ID("mtu2_fck", &mstp_clks[MSTP35]), 163 + CLKDEV_ICK_ID("fck", "sh-mtu2", &mstp_clks[MSTP35]), 164 164 CLKDEV_CON_ID("adc0", &mstp_clks[MSTP32]), 165 165 CLKDEV_CON_ID("rtc0", &mstp_clks[MSTP30]), 166 166 };
+12 -86
arch/sh/kernel/cpu/sh2a/setup-mxg.c
··· 114 114 static DECLARE_INTC_DESC(intc_desc, "mxg", vectors, groups, 115 115 mask_registers, prio_registers, NULL); 116 116 117 - static struct sh_timer_config mtu2_0_platform_data = { 118 - .channel_offset = -0x80, 119 - .timer_bit = 0, 120 - .clockevent_rating = 200, 117 + static struct resource mtu2_resources[] = { 118 + DEFINE_RES_MEM(0xff801000, 0x400), 119 + DEFINE_RES_IRQ_NAMED(228, "tgi0a"), 120 + DEFINE_RES_IRQ_NAMED(234, "tgi1a"), 121 + DEFINE_RES_IRQ_NAMED(240, "tgi2a"), 121 122 }; 122 123 123 - static struct resource mtu2_0_resources[] = { 124 - [0] = { 125 - .start = 0xff801300, 126 - .end = 0xff801326, 127 - .flags = IORESOURCE_MEM, 128 - }, 129 - [1] = { 130 - .start = 228, 131 - .flags = IORESOURCE_IRQ, 132 - }, 133 - }; 134 - 135 - static struct platform_device mtu2_0_device = { 136 - .name = "sh_mtu2", 137 - .id = 0, 138 - .dev = { 139 - .platform_data = &mtu2_0_platform_data, 140 - }, 141 - .resource = mtu2_0_resources, 142 - .num_resources = ARRAY_SIZE(mtu2_0_resources), 143 - }; 144 - 145 - static struct sh_timer_config mtu2_1_platform_data = { 146 - .channel_offset = -0x100, 147 - .timer_bit = 1, 148 - .clockevent_rating = 200, 149 - }; 150 - 151 - static struct resource mtu2_1_resources[] = { 152 - [0] = { 153 - .start = 0xff801380, 154 - .end = 0xff801390, 155 - .flags = IORESOURCE_MEM, 156 - }, 157 - [1] = { 158 - .start = 234, 159 - .flags = IORESOURCE_IRQ, 160 - }, 161 - }; 162 - 163 - static struct platform_device mtu2_1_device = { 164 - .name = "sh_mtu2", 165 - .id = 1, 166 - .dev = { 167 - .platform_data = &mtu2_1_platform_data, 168 - }, 169 - .resource = mtu2_1_resources, 170 - .num_resources = ARRAY_SIZE(mtu2_1_resources), 171 - }; 172 - 173 - static struct sh_timer_config mtu2_2_platform_data = { 174 - .channel_offset = 0x80, 175 - .timer_bit = 2, 176 - .clockevent_rating = 200, 177 - }; 178 - 179 - static struct resource mtu2_2_resources[] = { 180 - [0] = { 181 - .start = 0xff801000, 182 - .end = 0xff80100a, 183 - .flags = IORESOURCE_MEM, 184 - }, 185 - [1] = { 186 - .start = 240, 187 - .flags = IORESOURCE_IRQ, 188 - }, 189 - }; 190 - 191 - static struct platform_device mtu2_2_device = { 192 - .name = "sh_mtu2", 193 - .id = 2, 194 - .dev = { 195 - .platform_data = &mtu2_2_platform_data, 196 - }, 197 - .resource = mtu2_2_resources, 198 - .num_resources = ARRAY_SIZE(mtu2_2_resources), 124 + static struct platform_device mtu2_device = { 125 + .name = "sh-mtu2", 126 + .id = -1, 127 + .resource = mtu2_resources, 128 + .num_resources = ARRAY_SIZE(mtu2_resources), 199 129 }; 200 130 201 131 static struct plat_sci_port scif0_platform_data = { ··· 151 221 152 222 static struct platform_device *mxg_devices[] __initdata = { 153 223 &scif0_device, 154 - &mtu2_0_device, 155 - &mtu2_1_device, 156 - &mtu2_2_device, 224 + &mtu2_device, 157 225 }; 158 226 159 227 static int __init mxg_devices_setup(void) ··· 168 240 169 241 static struct platform_device *mxg_early_devices[] __initdata = { 170 242 &scif0_device, 171 - &mtu2_0_device, 172 - &mtu2_1_device, 173 - &mtu2_2_device, 243 + &mtu2_device, 174 244 }; 175 245 176 246 void __init plat_early_device_setup(void)
+12 -86
arch/sh/kernel/cpu/sh2a/setup-sh7201.c
··· 365 365 .resource = rtc_resources, 366 366 }; 367 367 368 - static struct sh_timer_config mtu2_0_platform_data = { 369 - .channel_offset = -0x80, 370 - .timer_bit = 0, 371 - .clockevent_rating = 200, 368 + static struct resource mtu2_resources[] = { 369 + DEFINE_RES_MEM(0xfffe4000, 0x400), 370 + DEFINE_RES_IRQ_NAMED(108, "tgi0a"), 371 + DEFINE_RES_IRQ_NAMED(116, "tgi1a"), 372 + DEFINE_RES_IRQ_NAMED(124, "tgi1b"), 372 373 }; 373 374 374 - static struct resource mtu2_0_resources[] = { 375 - [0] = { 376 - .start = 0xfffe4300, 377 - .end = 0xfffe4326, 378 - .flags = IORESOURCE_MEM, 379 - }, 380 - [1] = { 381 - .start = 108, 382 - .flags = IORESOURCE_IRQ, 383 - }, 384 - }; 385 - 386 - static struct platform_device mtu2_0_device = { 387 - .name = "sh_mtu2", 388 - .id = 0, 389 - .dev = { 390 - .platform_data = &mtu2_0_platform_data, 391 - }, 392 - .resource = mtu2_0_resources, 393 - .num_resources = ARRAY_SIZE(mtu2_0_resources), 394 - }; 395 - 396 - static struct sh_timer_config mtu2_1_platform_data = { 397 - .channel_offset = -0x100, 398 - .timer_bit = 1, 399 - .clockevent_rating = 200, 400 - }; 401 - 402 - static struct resource mtu2_1_resources[] = { 403 - [0] = { 404 - .start = 0xfffe4380, 405 - .end = 0xfffe4390, 406 - .flags = IORESOURCE_MEM, 407 - }, 408 - [1] = { 409 - .start = 116, 410 - .flags = IORESOURCE_IRQ, 411 - }, 412 - }; 413 - 414 - static struct platform_device mtu2_1_device = { 415 - .name = "sh_mtu2", 416 - .id = 1, 417 - .dev = { 418 - .platform_data = &mtu2_1_platform_data, 419 - }, 420 - .resource = mtu2_1_resources, 421 - .num_resources = ARRAY_SIZE(mtu2_1_resources), 422 - }; 423 - 424 - static struct sh_timer_config mtu2_2_platform_data = { 425 - .channel_offset = 0x80, 426 - .timer_bit = 2, 427 - .clockevent_rating = 200, 428 - }; 429 - 430 - static struct resource mtu2_2_resources[] = { 431 - [0] = { 432 - .start = 0xfffe4000, 433 - .end = 0xfffe400a, 434 - .flags = IORESOURCE_MEM, 435 - }, 436 - [1] = { 437 - .start = 124, 438 - .flags = IORESOURCE_IRQ, 439 - }, 440 - }; 441 - 442 - static struct platform_device mtu2_2_device = { 443 - .name = "sh_mtu2", 444 - .id = 2, 445 - .dev = { 446 - .platform_data = &mtu2_2_platform_data, 447 - }, 448 - .resource = mtu2_2_resources, 449 - .num_resources = ARRAY_SIZE(mtu2_2_resources), 375 + static struct platform_device mtu2_device = { 376 + .name = "sh-mtu2", 377 + .id = -1, 378 + .resource = mtu2_resources, 379 + .num_resources = ARRAY_SIZE(mtu2_resources), 450 380 }; 451 381 452 382 static struct platform_device *sh7201_devices[] __initdata = { ··· 389 459 &scif6_device, 390 460 &scif7_device, 391 461 &rtc_device, 392 - &mtu2_0_device, 393 - &mtu2_1_device, 394 - &mtu2_2_device, 462 + &mtu2_device, 395 463 }; 396 464 397 465 static int __init sh7201_devices_setup(void) ··· 413 485 &scif5_device, 414 486 &scif6_device, 415 487 &scif7_device, 416 - &mtu2_0_device, 417 - &mtu2_1_device, 418 - &mtu2_2_device, 488 + &mtu2_device, 419 489 }; 420 490 421 491 #define STBCR3 0xfffe0408
+11 -56
arch/sh/kernel/cpu/sh2a/setup-sh7203.c
··· 285 285 .num_resources = ARRAY_SIZE(cmt_resources), 286 286 }; 287 287 288 - static struct sh_timer_config mtu2_0_platform_data = { 289 - .channel_offset = -0x80, 290 - .timer_bit = 0, 291 - .clockevent_rating = 200, 288 + static struct resource mtu2_resources[] = { 289 + DEFINE_RES_MEM(0xfffe4000, 0x400), 290 + DEFINE_RES_IRQ_NAMED(146, "tgi0a"), 291 + DEFINE_RES_IRQ_NAMED(153, "tgi1a"), 292 292 }; 293 293 294 - static struct resource mtu2_0_resources[] = { 295 - [0] = { 296 - .start = 0xfffe4300, 297 - .end = 0xfffe4326, 298 - .flags = IORESOURCE_MEM, 299 - }, 300 - [1] = { 301 - .start = 146, 302 - .flags = IORESOURCE_IRQ, 303 - }, 304 - }; 305 - 306 - static struct platform_device mtu2_0_device = { 307 - .name = "sh_mtu2", 308 - .id = 0, 309 - .dev = { 310 - .platform_data = &mtu2_0_platform_data, 311 - }, 312 - .resource = mtu2_0_resources, 313 - .num_resources = ARRAY_SIZE(mtu2_0_resources), 314 - }; 315 - 316 - static struct sh_timer_config mtu2_1_platform_data = { 317 - .channel_offset = -0x100, 318 - .timer_bit = 1, 319 - .clockevent_rating = 200, 320 - }; 321 - 322 - static struct resource mtu2_1_resources[] = { 323 - [0] = { 324 - .start = 0xfffe4380, 325 - .end = 0xfffe4390, 326 - .flags = IORESOURCE_MEM, 327 - }, 328 - [1] = { 329 - .start = 153, 330 - .flags = IORESOURCE_IRQ, 331 - }, 332 - }; 333 - 334 - static struct platform_device mtu2_1_device = { 335 - .name = "sh_mtu2", 336 - .id = 1, 337 - .dev = { 338 - .platform_data = &mtu2_1_platform_data, 339 - }, 340 - .resource = mtu2_1_resources, 341 - .num_resources = ARRAY_SIZE(mtu2_1_resources), 294 + static struct platform_device mtu2_device = { 295 + .name = "sh-mtu2", 296 + .id = -1, 297 + .resource = mtu2_resources, 298 + .num_resources = ARRAY_SIZE(mtu2_resources), 342 299 }; 343 300 344 301 static struct resource rtc_resources[] = { ··· 324 367 &scif2_device, 325 368 &scif3_device, 326 369 &cmt_device, 327 - &mtu2_0_device, 328 - &mtu2_1_device, 370 + &mtu2_device, 329 371 &rtc_device, 330 372 }; 331 373 ··· 346 390 &scif2_device, 347 391 &scif3_device, 348 392 &cmt_device, 349 - &mtu2_0_device, 350 - &mtu2_1_device, 393 + &mtu2_device, 351 394 }; 352 395 353 396 #define STBCR3 0xfffe0408
+12 -86
arch/sh/kernel/cpu/sh2a/setup-sh7206.c
··· 237 237 .num_resources = ARRAY_SIZE(cmt_resources), 238 238 }; 239 239 240 - static struct sh_timer_config mtu2_0_platform_data = { 241 - .channel_offset = -0x80, 242 - .timer_bit = 0, 243 - .clockevent_rating = 200, 240 + static struct resource mtu2_resources[] = { 241 + DEFINE_RES_MEM(0xfffe4000, 0x400), 242 + DEFINE_RES_IRQ_NAMED(156, "tgi0a"), 243 + DEFINE_RES_IRQ_NAMED(164, "tgi1a"), 244 + DEFINE_RES_IRQ_NAMED(180, "tgi2a"), 244 245 }; 245 246 246 - static struct resource mtu2_0_resources[] = { 247 - [0] = { 248 - .start = 0xfffe4300, 249 - .end = 0xfffe4326, 250 - .flags = IORESOURCE_MEM, 251 - }, 252 - [1] = { 253 - .start = 156, 254 - .flags = IORESOURCE_IRQ, 255 - }, 256 - }; 257 - 258 - static struct platform_device mtu2_0_device = { 259 - .name = "sh_mtu2", 260 - .id = 0, 261 - .dev = { 262 - .platform_data = &mtu2_0_platform_data, 263 - }, 264 - .resource = mtu2_0_resources, 265 - .num_resources = ARRAY_SIZE(mtu2_0_resources), 266 - }; 267 - 268 - static struct sh_timer_config mtu2_1_platform_data = { 269 - .channel_offset = -0x100, 270 - .timer_bit = 1, 271 - .clockevent_rating = 200, 272 - }; 273 - 274 - static struct resource mtu2_1_resources[] = { 275 - [0] = { 276 - .start = 0xfffe4380, 277 - .end = 0xfffe4390, 278 - .flags = IORESOURCE_MEM, 279 - }, 280 - [1] = { 281 - .start = 164, 282 - .flags = IORESOURCE_IRQ, 283 - }, 284 - }; 285 - 286 - static struct platform_device mtu2_1_device = { 287 - .name = "sh_mtu2", 288 - .id = 1, 289 - .dev = { 290 - .platform_data = &mtu2_1_platform_data, 291 - }, 292 - .resource = mtu2_1_resources, 293 - .num_resources = ARRAY_SIZE(mtu2_1_resources), 294 - }; 295 - 296 - static struct sh_timer_config mtu2_2_platform_data = { 297 - .channel_offset = 0x80, 298 - .timer_bit = 2, 299 - .clockevent_rating = 200, 300 - }; 301 - 302 - static struct resource mtu2_2_resources[] = { 303 - [0] = { 304 - .start = 0xfffe4000, 305 - .end = 0xfffe400a, 306 - .flags = IORESOURCE_MEM, 307 - }, 308 - [1] = { 309 - .start = 180, 310 - .flags = IORESOURCE_IRQ, 311 - }, 312 - }; 313 - 314 - static struct platform_device mtu2_2_device = { 315 - .name = "sh_mtu2", 316 - .id = 2, 317 - .dev = { 318 - .platform_data = &mtu2_2_platform_data, 319 - }, 320 - .resource = mtu2_2_resources, 321 - .num_resources = ARRAY_SIZE(mtu2_2_resources), 247 + static struct platform_device mtu2_device = { 248 + .name = "sh-mtu2s", 249 + .id = -1, 250 + .resource = mtu2_resources, 251 + .num_resources = ARRAY_SIZE(mtu2_resources), 322 252 }; 323 253 324 254 static struct platform_device *sh7206_devices[] __initdata = { ··· 257 327 &scif2_device, 258 328 &scif3_device, 259 329 &cmt_device, 260 - &mtu2_0_device, 261 - &mtu2_1_device, 262 - &mtu2_2_device, 330 + &mtu2_device, 263 331 }; 264 332 265 333 static int __init sh7206_devices_setup(void) ··· 278 350 &scif2_device, 279 351 &scif3_device, 280 352 &cmt_device, 281 - &mtu2_0_device, 282 - &mtu2_1_device, 283 - &mtu2_2_device, 353 + &mtu2_device, 284 354 }; 285 355 286 356 #define STBCR3 0xfffe0408
+11 -60
arch/sh/kernel/cpu/sh2a/setup-sh7264.c
··· 453 453 .num_resources = ARRAY_SIZE(cmt_resources), 454 454 }; 455 455 456 - static struct sh_timer_config mtu2_0_platform_data = { 457 - .name = "MTU2_0", 458 - .channel_offset = -0x80, 459 - .timer_bit = 0, 460 - .clockevent_rating = 200, 456 + static struct resource mtu2_resources[] = { 457 + DEFINE_RES_MEM(0xfffe4000, 0x400), 458 + DEFINE_RES_IRQ_NAMED(179, "tgi0a"), 459 + DEFINE_RES_IRQ_NAMED(186, "tgi1a"), 461 460 }; 462 461 463 - static struct resource mtu2_0_resources[] = { 464 - [0] = { 465 - .name = "MTU2_0", 466 - .start = 0xfffe4300, 467 - .end = 0xfffe4326, 468 - .flags = IORESOURCE_MEM, 469 - }, 470 - [1] = { 471 - .start = 179, 472 - .flags = IORESOURCE_IRQ, 473 - }, 474 - }; 475 - 476 - static struct platform_device mtu2_0_device = { 477 - .name = "sh_mtu2", 478 - .id = 0, 479 - .dev = { 480 - .platform_data = &mtu2_0_platform_data, 481 - }, 482 - .resource = mtu2_0_resources, 483 - .num_resources = ARRAY_SIZE(mtu2_0_resources), 484 - }; 485 - 486 - static struct sh_timer_config mtu2_1_platform_data = { 487 - .name = "MTU2_1", 488 - .channel_offset = -0x100, 489 - .timer_bit = 1, 490 - .clockevent_rating = 200, 491 - }; 492 - 493 - static struct resource mtu2_1_resources[] = { 494 - [0] = { 495 - .name = "MTU2_1", 496 - .start = 0xfffe4380, 497 - .end = 0xfffe4390, 498 - .flags = IORESOURCE_MEM, 499 - }, 500 - [1] = { 501 - .start = 186, 502 - .flags = IORESOURCE_IRQ, 503 - }, 504 - }; 505 - 506 - static struct platform_device mtu2_1_device = { 507 - .name = "sh_mtu2", 508 - .id = 1, 509 - .dev = { 510 - .platform_data = &mtu2_1_platform_data, 511 - }, 512 - .resource = mtu2_1_resources, 513 - .num_resources = ARRAY_SIZE(mtu2_1_resources), 462 + static struct platform_device mtu2_device = { 463 + .name = "sh-mtu2", 464 + .id = -1, 465 + .resource = mtu2_resources, 466 + .num_resources = ARRAY_SIZE(mtu2_resources), 514 467 }; 515 468 516 469 static struct resource rtc_resources[] = { ··· 533 580 &scif6_device, 534 581 &scif7_device, 535 582 &cmt_device, 536 - &mtu2_0_device, 537 - &mtu2_1_device, 583 + &mtu2_device, 538 584 &rtc_device, 539 585 &r8a66597_usb_host_device, 540 586 }; ··· 560 608 &scif6_device, 561 609 &scif7_device, 562 610 &cmt_device, 563 - &mtu2_0_device, 564 - &mtu2_1_device, 611 + &mtu2_device, 565 612 }; 566 613 567 614 void __init plat_early_device_setup(void)
+11 -56
arch/sh/kernel/cpu/sh2a/setup-sh7269.c
··· 475 475 .num_resources = ARRAY_SIZE(cmt_resources), 476 476 }; 477 477 478 - static struct sh_timer_config mtu2_0_platform_data = { 479 - .channel_offset = -0x80, 480 - .timer_bit = 0, 481 - .clockevent_rating = 200, 478 + static struct resource mtu2_resources[] = { 479 + DEFINE_RES_MEM(0xfffe4000, 0x400), 480 + DEFINE_RES_IRQ_NAMED(192, "tgi0a"), 481 + DEFINE_RES_IRQ_NAMED(203, "tgi1a"), 482 482 }; 483 483 484 - static struct resource mtu2_0_resources[] = { 485 - [0] = { 486 - .start = 0xfffe4300, 487 - .end = 0xfffe4326, 488 - .flags = IORESOURCE_MEM, 489 - }, 490 - [1] = { 491 - .start = 192, 492 - .flags = IORESOURCE_IRQ, 493 - }, 494 - }; 495 - 496 - static struct platform_device mtu2_0_device = { 497 - .name = "sh_mtu2", 498 - .id = 0, 499 - .dev = { 500 - .platform_data = &mtu2_0_platform_data, 501 - }, 502 - .resource = mtu2_0_resources, 503 - .num_resources = ARRAY_SIZE(mtu2_0_resources), 504 - }; 505 - 506 - static struct sh_timer_config mtu2_1_platform_data = { 507 - .channel_offset = -0x100, 508 - .timer_bit = 1, 509 - .clockevent_rating = 200, 510 - }; 511 - 512 - static struct resource mtu2_1_resources[] = { 513 - [0] = { 514 - .start = 0xfffe4380, 515 - .end = 0xfffe4390, 516 - .flags = IORESOURCE_MEM, 517 - }, 518 - [1] = { 519 - .start = 203, 520 - .flags = IORESOURCE_IRQ, 521 - }, 522 - }; 523 - 524 - static struct platform_device mtu2_1_device = { 525 - .name = "sh_mtu2", 526 - .id = 1, 527 - .dev = { 528 - .platform_data = &mtu2_1_platform_data, 529 - }, 530 - .resource = mtu2_1_resources, 531 - .num_resources = ARRAY_SIZE(mtu2_1_resources), 484 + static struct platform_device mtu2_device = { 485 + .name = "sh-mtu2", 486 + .id = -1, 487 + .resource = mtu2_resources, 488 + .num_resources = ARRAY_SIZE(mtu2_resources), 532 489 }; 533 490 534 491 static struct resource rtc_resources[] = { ··· 549 592 &scif6_device, 550 593 &scif7_device, 551 594 &cmt_device, 552 - &mtu2_0_device, 553 - &mtu2_1_device, 595 + &mtu2_device, 554 596 &rtc_device, 555 597 &r8a66597_usb_host_device, 556 598 }; ··· 576 620 &scif6_device, 577 621 &scif7_device, 578 622 &cmt_device, 579 - &mtu2_0_device, 580 - &mtu2_1_device, 623 + &mtu2_device, 581 624 }; 582 625 583 626 void __init plat_early_device_setup(void)