12 #include <linux/kernel.h>
13 #include <linux/types.h>
15 #include <linux/list.h>
21 #include <mach/hardware.h>
26 #define EXYNOS_UART_RESOURCE(_series, _nr) \
27 static struct resource exynos##_series##_uart##_nr##_resource[] = { \
28 [0] = DEFINE_RES_MEM(EXYNOS##_series##_PA_UART##_nr, EXYNOS##_series##_SZ_UART), \
29 [1] = DEFINE_RES_IRQ(EXYNOS##_series##_IRQ_UART##_nr), \
39 .resources = exynos4_uart0_resource,
40 .nr_resources =
ARRAY_SIZE(exynos4_uart0_resource),
43 .resources = exynos4_uart1_resource,
44 .nr_resources =
ARRAY_SIZE(exynos4_uart1_resource),
47 .resources = exynos4_uart2_resource,
48 .nr_resources =
ARRAY_SIZE(exynos4_uart2_resource),
51 .resources = exynos4_uart3_resource,
52 .nr_resources =
ARRAY_SIZE(exynos4_uart3_resource),
63 .resources = exynos5_uart0_resource,
64 .nr_resources =
ARRAY_SIZE(exynos5_uart0_resource),
67 .resources = exynos5_uart1_resource,
68 .nr_resources =
ARRAY_SIZE(exynos5_uart0_resource),
71 .resources = exynos5_uart2_resource,
72 .nr_resources =
ARRAY_SIZE(exynos5_uart2_resource),
75 .resources = exynos5_uart3_resource,
76 .nr_resources =
ARRAY_SIZE(exynos5_uart3_resource),