diff options
author | Warner Losh <imp@FreeBSD.org> | 2014-01-23 18:09:10 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2014-01-23 18:09:10 +0000 |
commit | df10106a87c56e0aae8ec637419a71176f1c4060 (patch) | |
tree | 073da92cacd55c355c212bd9255ea34d3a917084 /sys/dev/uart | |
parent | a8eb96d593764b8df83b0faf1651eb4dc15727b1 (diff) | |
download | src-df10106a87c56e0aae8ec637419a71176f1c4060.tar.gz src-df10106a87c56e0aae8ec637419a71176f1c4060.zip |
Add Atmel serial drivers.
Notes
Notes:
svn path=/head/; revision=261083
Diffstat (limited to 'sys/dev/uart')
-rw-r--r-- | sys/dev/uart/uart.h | 1 | ||||
-rw-r--r-- | sys/dev/uart/uart_bus_fdt.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/uart/uart.h b/sys/dev/uart/uart.h index 4874488550a3..0bceddeabe35 100644 --- a/sys/dev/uart/uart.h +++ b/sys/dev/uart/uart.h @@ -76,6 +76,7 @@ extern struct uart_class uart_pl011_class __attribute__((weak)); extern struct uart_class uart_cdnc_class __attribute__((weak)); extern struct uart_class uart_ti8250_class __attribute__((weak)); extern struct uart_class uart_vybrid_class __attribute__((weak)); +extern struct uart_class at91_usart_class __attribute__((weak)); #ifdef FDT struct ofw_compat_data; diff --git a/sys/dev/uart/uart_bus_fdt.c b/sys/dev/uart/uart_bus_fdt.c index a98c50af4e10..3630b9c557ec 100644 --- a/sys/dev/uart/uart_bus_fdt.c +++ b/sys/dev/uart/uart_bus_fdt.c @@ -71,6 +71,8 @@ static driver_t uart_fdt_driver = { */ static struct ofw_compat_data compat_data[] = { {"arm,pl011", (uintptr_t)&uart_pl011_class}, + {"atmel,at91rm9200-usart",(uintptr_t)&at91_usart_class}, + {"atmel,at91sam9260-usart",(uintptr_t)&at91_usart_class}, {"cadence,uart", (uintptr_t)&uart_cdnc_class}, {"exynos", (uintptr_t)&uart_s3c2410_class}, {"fsl,imx6q-uart", (uintptr_t)&uart_imx_class}, |