diff options
author | Marcin Wojtas <mw@FreeBSD.org> | 2018-10-10 10:34:17 +0000 |
---|---|---|
committer | Marcin Wojtas <mw@FreeBSD.org> | 2018-10-10 10:34:17 +0000 |
commit | 0693b1d2a93c833c5f2479d33186299fd7e0c438 (patch) | |
tree | 4bb3fcb73127d0813dd1c0e68ccddcde015b6d69 /sys/dev | |
parent | a755b6f6cae3bafed264402bfa6c0d0417330828 (diff) | |
download | src-0693b1d2a93c833c5f2479d33186299fd7e0c438.tar.gz src-0693b1d2a93c833c5f2479d33186299fd7e0c438.zip |
Update Armada 38x UART device tree binding
Recent changes in Linux updated Marvell Armada 38x
UART compatible string. As a result the FreeBSD driver
(uart_dev_snps) does not probe. This commit fixes the
situation, however not applying any functional modification
to the driver methods.
Approved by: re (kib)
Obtained from: Semihalf
Notes
Notes:
svn path=/head/; revision=339280
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/uart/uart_dev_snps.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/uart/uart_dev_snps.c b/sys/dev/uart/uart_dev_snps.c index d8fc114824f8..f56b74407e8e 100644 --- a/sys/dev/uart/uart_dev_snps.c +++ b/sys/dev/uart/uart_dev_snps.c @@ -127,6 +127,7 @@ struct uart_class uart_snps_class = { static struct ofw_compat_data compat_data[] = { { "snps,dw-apb-uart", (uintptr_t)&uart_snps_class }, + { "marvell,armada-38x-uart", (uintptr_t)&uart_snps_class }, { NULL, (uintptr_t)NULL } }; UART_FDT_CLASS(compat_data); |