mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-03 20:34:58 +08:00
ARM: mach-shmobile: SH7372 has 6 SCIFA and 1 SCIFB ports
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>
This commit is contained in:
parent
d1d4b10cda
commit
eb6e8605ee
@ -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) },
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user