summaryrefslogtreecommitdiffstats
path: root/bsps/arm/raspberrypi/include/bsp
diff options
context:
space:
mode:
authorG S Niteesh <gsnb.gn@gmail.com>2020-02-10 00:51:44 +0530
committerChristian Mauderer <oss@c-mauderer.de>2020-02-16 16:55:20 +0100
commitf53473fa67b453813e43340fb654385b621c07c8 (patch)
treea38fd88c4fab35d295a497a82b64247d61f0ec0a /bsps/arm/raspberrypi/include/bsp
parentlibchip/ns16550: Allow user calculate baud divisor (diff)
downloadrtems-f53473fa67b453813e43340fb654385b621c07c8.tar.bz2
bsp/raspberrypi: Mini UART driver
This patch adds driver for Mini UART present in Raspberry Pi 3 and above, this UART is currently used as the primary UART in these models. The Mini UART is similar to ns16550, this driver is built upon libchip/ns16550.
Diffstat (limited to 'bsps/arm/raspberrypi/include/bsp')
-rw-r--r--bsps/arm/raspberrypi/include/bsp/usart.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsps/arm/raspberrypi/include/bsp/usart.h b/bsps/arm/raspberrypi/include/bsp/usart.h
index abbf53626c..6af1844b3c 100644
--- a/bsps/arm/raspberrypi/include/bsp/usart.h
+++ b/bsps/arm/raspberrypi/include/bsp/usart.h
@@ -33,6 +33,7 @@ extern "C" {
#endif /* __cplusplus */
#define PL011_DEFAULT_BAUD 115000
+#define MINI_UART_DEFAULT_BAUD 115200
#define BCM2835_PL011_BASE (RPI_PERIPHERAL_BASE + 0x201000)
#ifdef __cplusplus