ARM: S3C24XX: Add support UART3 for S3C2443 and S3C2416
authorAbhilash Kesavan <a.kesavan@samsung.com>
Thu, 16 Sep 2010 04:17:30 +0000 (09:47 +0530)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 6 Jan 2011 09:43:32 +0000 (18:43 +0900)
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>
arch/arm/mach-s3c2416/mach-smdk2416.c
arch/arm/mach-s3c2443/mach-smdk2443.c

index ad2497c4cf3a8c95500c801ac559318d5d656b18..3f83177246c787e847b1bb52a90c54694e7bc282 100644 (file)
@@ -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,
        }
 };
 
index d3b2922517e0cb83a8ac26175c0d94b9d1d5ecfd..514275e43ca023f38fb089bab171c58789b0e7e2 100644 (file)
@@ -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,
        }
 };