diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2009-05-19 09:12:22 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-06-17 06:06:25 -0400 |
commit | 742cd5867b2ef7ce865d7ab67574c4e3aa1fb155 (patch) | |
tree | b167001ac5f1c165ff29b4cacd16db94f50c7b77 /arch/mips/txx9/rbtx4927 | |
parent | e8635b484f644c7873e6091f15330c49396f2cbc (diff) |
MIPS: TXx9: Add ACLC support
Add platform support for ACLC of TXx9 SoCs.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/txx9/rbtx4927')
-rw-r--r-- | arch/mips/txx9/rbtx4927/setup.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/mips/txx9/rbtx4927/setup.c b/arch/mips/txx9/rbtx4927/setup.c index 332cdbc7fcef..ee468eaee4f7 100644 --- a/arch/mips/txx9/rbtx4927/setup.c +++ b/arch/mips/txx9/rbtx4927/setup.c | |||
@@ -337,10 +337,14 @@ static void __init rbtx4927_device_init(void) | |||
337 | rbtx4927_ne_init(); | 337 | rbtx4927_ne_init(); |
338 | tx4927_wdt_init(); | 338 | tx4927_wdt_init(); |
339 | rbtx4927_mtd_init(); | 339 | rbtx4927_mtd_init(); |
340 | if (TX4927_REV_PCODE() == 0x4927) | 340 | if (TX4927_REV_PCODE() == 0x4927) { |
341 | tx4927_dmac_init(2); | 341 | tx4927_dmac_init(2); |
342 | else | 342 | tx4927_aclc_init(0, 1); |
343 | } else { | ||
343 | tx4938_dmac_init(0, 2); | 344 | tx4938_dmac_init(0, 2); |
345 | tx4938_aclc_init(); | ||
346 | } | ||
347 | platform_device_register_simple("txx9aclc-generic", -1, NULL, 0); | ||
344 | txx9_iocled_init(RBTX4927_LED_ADDR - IO_BASE, -1, 3, 1, "green", NULL); | 348 | txx9_iocled_init(RBTX4927_LED_ADDR - IO_BASE, -1, 3, 1, "green", NULL); |
345 | rbtx4927_gpioled_init(); | 349 | rbtx4927_gpioled_init(); |
346 | } | 350 | } |