14 #include <linux/kernel.h>
27 static struct resource ath79_uart_resources[] = {
35 #define AR71XX_UART_FLAGS (UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_IOREMAP)
51 .resource = ath79_uart_resources,
52 .num_resources =
ARRAY_SIZE(ath79_uart_resources),
54 .platform_data = ath79_uart_data
58 static struct resource ar933x_uart_resources[] = {
73 .name =
"ar933x-uart",
75 .resource = ar933x_uart_resources,
76 .num_resources =
ARRAY_SIZE(ar933x_uart_resources),
78 .platform_data = &ar933x_uart_data,
88 panic(
"unable to get UART clock, err=%ld", PTR_ERR(clk));
90 if (soc_is_ar71xx() ||
96 }
else if (soc_is_ar933x()) {