ARM: S3C24XX: update uart addresses in s3c2416-dt auxdata
authorHeiko Stuebner <heiko@sntech.de>
Tue, 18 Jun 2013 17:40:18 +0000 (02:40 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 18 Jun 2013 17:40:18 +0000 (02:40 +0900)
Commit 9ee51f01eee8 (tty: serial/samsung: make register definitions
global) removed the S3C2410_PA_UARTX defines that the newly merged
s3c2416 dt support still expected.

So update mach-s3c2416-dt.c to use the S3C24XX_PA_UART constant until
we have support for the common clock framework the the s3c2416-dt.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c24xx/mach-s3c2416-dt.c

index f5c9072e1e3571633e3b09b0c6ae3b6d0551286c..f50454a34f72d09fd28b01f1cd347a1e5468eb6a 100644 (file)
  * data from the device tree.
  */
 static const struct of_dev_auxdata s3c2416_auxdata_lookup[] __initconst = {
-       OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C2410_PA_UART0,
+       OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C24XX_PA_UART,
                                "s3c2440-uart.0", NULL),
-       OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C2410_PA_UART1,
+       OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C24XX_PA_UART + 0x4000,
                                "s3c2440-uart.1", NULL),
-       OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C2410_PA_UART2,
+       OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C24XX_PA_UART + 0x8000,
                                "s3c2440-uart.2", NULL),
-       OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C2443_PA_UART3,
+       OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C24XX_PA_UART + 0xC000,
                                "s3c2440-uart.3", NULL),
        OF_DEV_AUXDATA("samsung,s3c6410-sdhci", S3C_PA_HSMMC0,
                                "s3c-sdhci.0", NULL),