]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commitdiff
ARM: mach-shmobile: SH7372 has 6 SCIFA and 1 SCIFB ports
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Sun, 23 May 2010 16:39:17 +0000 (16:39 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Sun, 23 May 2010 23:54:25 +0000 (08:54 +0900)
The current SH7372 setup code registers 7 SCIF ports, which is wrong.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/setup-sh7372.c

index d6b15648d8b0b4f4e702b32c1f604c0d99079c71..d1a8095a19eb9a1e89adc87f67155fee4ae73790 100644 (file)
@@ -36,7 +36,7 @@
 static struct plat_sci_port scif0_platform_data = {
        .mapbase        = 0xe6c40000,
        .flags          = UPF_BOOT_AUTOCONF,
-       .type           = PORT_SCIF,
+       .type           = PORT_SCIFA,
        .irqs           = { evt2irq(0x0c00), evt2irq(0x0c00),
                            evt2irq(0x0c00), evt2irq(0x0c00) },
 };
@@ -53,7 +53,7 @@ static struct platform_device scif0_device = {
 static struct plat_sci_port scif1_platform_data = {
        .mapbase        = 0xe6c50000,
        .flags          = UPF_BOOT_AUTOCONF,
-       .type           = PORT_SCIF,
+       .type           = PORT_SCIFA,
        .irqs           = { evt2irq(0x0c20), evt2irq(0x0c20),
                            evt2irq(0x0c20), evt2irq(0x0c20) },
 };
@@ -70,7 +70,7 @@ static struct platform_device scif1_device = {
 static struct plat_sci_port scif2_platform_data = {
        .mapbase        = 0xe6c60000,
        .flags          = UPF_BOOT_AUTOCONF,
-       .type           = PORT_SCIF,
+       .type           = PORT_SCIFA,
        .irqs           = { evt2irq(0x0c40), evt2irq(0x0c40),
                            evt2irq(0x0c40), evt2irq(0x0c40) },
 };
@@ -87,7 +87,7 @@ static struct platform_device scif2_device = {
 static struct plat_sci_port scif3_platform_data = {
        .mapbase        = 0xe6c70000,
        .flags          = UPF_BOOT_AUTOCONF,
-       .type           = PORT_SCIF,
+       .type           = PORT_SCIFA,
        .irqs           = { evt2irq(0x0c60), evt2irq(0x0c60),
                            evt2irq(0x0c60), evt2irq(0x0c60) },
 };
@@ -104,7 +104,7 @@ static struct platform_device scif3_device = {
 static struct plat_sci_port scif4_platform_data = {
        .mapbase        = 0xe6c80000,
        .flags          = UPF_BOOT_AUTOCONF,
-       .type           = PORT_SCIF,
+       .type           = PORT_SCIFA,
        .irqs           = { evt2irq(0x0d20), evt2irq(0x0d20),
                            evt2irq(0x0d20), evt2irq(0x0d20) },
 };
@@ -121,7 +121,7 @@ static struct platform_device scif4_device = {
 static struct plat_sci_port scif5_platform_data = {
        .mapbase        = 0xe6cb0000,
        .flags          = UPF_BOOT_AUTOCONF,
-       .type           = PORT_SCIF,
+       .type           = PORT_SCIFA,
        .irqs           = { evt2irq(0x0d40), evt2irq(0x0d40),
                            evt2irq(0x0d40), evt2irq(0x0d40) },
 };
@@ -138,7 +138,7 @@ static struct platform_device scif5_device = {
 static struct plat_sci_port scif6_platform_data = {
        .mapbase        = 0xe6c30000,
        .flags          = UPF_BOOT_AUTOCONF,
-       .type           = PORT_SCIF,
+       .type           = PORT_SCIFB,
        .irqs           = { evt2irq(0x0d60), evt2irq(0x0d60),
                            evt2irq(0x0d60), evt2irq(0x0d60) },
 };