Browse Source

ARM: S3C24XX: Add support UART3 for S3C2443 and S3C2416

Both S3C2443 and S3C2416 support 4 UART channels, this patch adds support
for the missing uart channel.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Abhilash Kesavan 14 years ago
parent
commit
13d27f05d7
2 changed files with 14 additions and 0 deletions
  1. 7 0
      arch/arm/mach-s3c2416/mach-smdk2416.c
  2. 7 0
      arch/arm/mach-s3c2443/mach-smdk2443.c

+ 7 - 0
arch/arm/mach-s3c2416/mach-smdk2416.c

@@ -111,6 +111,13 @@ static struct s3c2410_uartcfg smdk2416_uartcfgs[] __initdata = {
 		.ucon	     = UCON,
 		.ulcon	     = ULCON | 0x50,
 		.ufcon	     = UFCON,
+	},
+	[3] = {
+		.hwport	     = 3,
+		.flags	     = 0,
+		.ucon	     = UCON,
+		.ulcon	     = ULCON,
+		.ufcon	     = UFCON,
 	}
 };
 

+ 7 - 0
arch/arm/mach-s3c2443/mach-smdk2443.c

@@ -99,6 +99,13 @@ static struct s3c2410_uartcfg smdk2443_uartcfgs[] __initdata = {
 		.ucon	     = 0x3c5,
 		.ulcon	     = 0x43,
 		.ufcon	     = 0x51,
+	},
+	[3] = {
+		.hwport	     = 3,
+		.flags	     = 0,
+		.ucon	     = 0x3c5,
+		.ulcon	     = 0x03,
+		.ufcon	     = 0x51,
 	}
 };