diff options
author | Stephen Warren <swarren@wwwdotorg.org> | 2016-03-18 21:41:38 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-27 09:12:52 -0400 |
commit | 3917c26909e4021c73073672865ec456eb51d640 (patch) | |
tree | 80cdf6b549ce0af90fc66d43cee1a8a10c83e455 /include/dm | |
parent | 92667e89fc5906531a7a1ff247e1ffec61b55b13 (diff) | |
download | u-boot-imx-3917c26909e4021c73073672865ec456eb51d640.zip u-boot-imx-3917c26909e4021c73073672865ec456eb51d640.tar.gz u-boot-imx-3917c26909e4021c73073672865ec456eb51d640.tar.bz2 |
serial: add BCM283x mini UART driver
The RPi3 typically uses the regular UART for high-speed communication with
the Bluetooth device, leaving us the mini UART to use for the serial
console. Add support for this UART so we can use it.
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'include/dm')
-rw-r--r-- | include/dm/platform_data/serial_bcm283x_mu.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/dm/platform_data/serial_bcm283x_mu.h b/include/dm/platform_data/serial_bcm283x_mu.h new file mode 100644 index 0000000..57ae6ad --- /dev/null +++ b/include/dm/platform_data/serial_bcm283x_mu.h @@ -0,0 +1,24 @@ +/* + * (C) Copyright 2016 Stephen Warren <swarren@wwwdotorg.org> + * + * Derived from pl01x code: + * Copyright (c) 2014 Google, Inc + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __serial_bcm283x_mu_h +#define __serial_bcm283x_mu_h + +/* + *Information about a serial port + * + * @base: Register base address + */ +struct bcm283x_mu_serial_platdata { + unsigned long base; + unsigned int clock; + bool skip_init; +}; + +#endif |