10b11dbf7SMasahiro Yamada# 20b11dbf7SMasahiro Yamada# Serial device configuration 30b11dbf7SMasahiro Yamada# 40b11dbf7SMasahiro Yamada 50b11dbf7SMasahiro Yamadamenu "Serial drivers" 60b11dbf7SMasahiro Yamada 7f40574e2SPhilipp Tomsichconfig BAUDRATE 8f40574e2SPhilipp Tomsich int "Default baudrate" 9f40574e2SPhilipp Tomsich default 115200 10f40574e2SPhilipp Tomsich help 11f40574e2SPhilipp Tomsich Select a default baudrate, where "default" has a driver-specific 12f40574e2SPhilipp Tomsich meaning of either setting the baudrate for the early debug UART 13f40574e2SPhilipp Tomsich in the SPL stage (most drivers) or for choosing a default baudrate 14f40574e2SPhilipp Tomsich in the absence of an environment setting (serial_mxc.c). 15f40574e2SPhilipp Tomsich 168c458588SHans de Goedeconfig REQUIRE_SERIAL_CONSOLE 178c458588SHans de Goede bool "Require a serial port for console" 188c458588SHans de Goede # Running without a serial console is not supported by the 198c458588SHans de Goede # non-dm serial code 208c458588SHans de Goede depends on DM_SERIAL 218c458588SHans de Goede default y 228c458588SHans de Goede help 238c458588SHans de Goede Require a serial port for the console, and panic if none is found 248c458588SHans de Goede during serial port initialization (default y). Set this to n on 258c458588SHans de Goede boards which have no debug serial port whatsoever. 268c458588SHans de Goede 2792c55b68SSimon Glassconfig SERIAL_PRESENT 2892c55b68SSimon Glass bool "Provide a serial driver" 2992c55b68SSimon Glass depends on DM_SERIAL 3092c55b68SSimon Glass default y 3192c55b68SSimon Glass help 3292c55b68SSimon Glass In very space-constrained devices even the full UART driver is too 3392c55b68SSimon Glass large. In this case the debug UART can still be used in some cases. 3492c55b68SSimon Glass This option enables the full UART in U-Boot, so if is it disabled, 3592c55b68SSimon Glass the full UART driver will be omitted, thus saving space. 3692c55b68SSimon Glass 3792c55b68SSimon Glassconfig SPL_SERIAL_PRESENT 3892c55b68SSimon Glass bool "Provide a serial driver in SPL" 3992c55b68SSimon Glass depends on DM_SERIAL 4092c55b68SSimon Glass default y 4192c55b68SSimon Glass help 4292c55b68SSimon Glass In very space-constrained devices even the full UART driver is too 4392c55b68SSimon Glass large. In this case the debug UART can still be used in some cases. 4492c55b68SSimon Glass This option enables the full UART in SPL, so if is it disabled, 4592c55b68SSimon Glass the full UART driver will be omitted, thus saving space. 4692c55b68SSimon Glass 47da333ae7SMasahiro Yamadaconfig DM_SERIAL 48da333ae7SMasahiro Yamada bool "Enable Driver Model for serial drivers" 49da333ae7SMasahiro Yamada depends on DM 50da333ae7SMasahiro Yamada help 51f94a1bedSSimon Glass Enable driver model for serial. This replaces 52f94a1bedSSimon Glass drivers/serial/serial.c with the serial uclass, which 53f94a1bedSSimon Glass implements serial_putc() etc. The uclass interface is 54f94a1bedSSimon Glass defined in include/serial.h. 55ff247b7aSMasahiro Yamada 56*891f7ae6SSimon Glassconfig SPL_DM_SERIAL 57*891f7ae6SSimon Glass bool "Enable Driver Model for serial drivers" 58*891f7ae6SSimon Glass depends on DM_SERIAL 59*891f7ae6SSimon Glass default y if SPL && DM_SERIAL 60*891f7ae6SSimon Glass help 61*891f7ae6SSimon Glass Enable driver model for serial in SPL. This replaces 62*891f7ae6SSimon Glass drivers/serial/serial.c with the serial uclass, which 63*891f7ae6SSimon Glass implements serial_putc() etc. The uclass interface is 64*891f7ae6SSimon Glass defined in include/serial.h. 65*891f7ae6SSimon Glass 66*891f7ae6SSimon Glassconfig TPL_DM_SERIAL 67*891f7ae6SSimon Glass bool "Enable Driver Model for serial drivers" 68*891f7ae6SSimon Glass depends on DM_SERIAL 69*891f7ae6SSimon Glass default y if TPL && DM_SERIAL 70*891f7ae6SSimon Glass help 71*891f7ae6SSimon Glass Enable driver model for serial in TPL. This replaces 72*891f7ae6SSimon Glass drivers/serial/serial.c with the serial uclass, which 73*891f7ae6SSimon Glass implements serial_putc() etc. The uclass interface is 74*891f7ae6SSimon Glass defined in include/serial.h. 75*891f7ae6SSimon Glass 762f964aa7SSimon Glassconfig DEBUG_UART 772f964aa7SSimon Glass bool "Enable an early debug UART for debugging" 782f964aa7SSimon Glass help 792f964aa7SSimon Glass The debug UART is intended for use very early in U-Boot to debug 802f964aa7SSimon Glass problems when an ICE or other debug mechanism is not available. 812f964aa7SSimon Glass 822f964aa7SSimon Glass To use it you should: 832f964aa7SSimon Glass - Make sure your UART supports this interface 842f964aa7SSimon Glass - Enable CONFIG_DEBUG_UART 852f964aa7SSimon Glass - Enable the CONFIG for your UART to tell it to provide this interface 862f964aa7SSimon Glass (e.g. CONFIG_DEBUG_UART_NS16550) 872f964aa7SSimon Glass - Define the required settings as needed (see below) 882f964aa7SSimon Glass - Call debug_uart_init() before use 892f964aa7SSimon Glass - Call debug_uart_putc() to output a character 902f964aa7SSimon Glass 912f964aa7SSimon Glass Depending on your platform it may be possible to use this UART before 922f964aa7SSimon Glass a stack is available. 932f964aa7SSimon Glass 942f964aa7SSimon Glass If your UART does not support this interface you can probably add 952f964aa7SSimon Glass support quite easily. Remember that you cannot use driver model and 962f964aa7SSimon Glass it is preferred to use no stack. 972f964aa7SSimon Glass 982f964aa7SSimon Glass You must not use this UART once driver model is working and the 992f964aa7SSimon Glass serial drivers are up and running (done in serial_init()). Otherwise 1002f964aa7SSimon Glass the drivers may conflict and you will get strange output. 1012f964aa7SSimon Glass 10221d00436SSimon Glasschoice 10321d00436SSimon Glass prompt "Select which UART will provide the debug UART" 10421d00436SSimon Glass depends on DEBUG_UART 105b1e361b6SThomas Chou default DEBUG_UART_NS16550 10621d00436SSimon Glass 107220e8021SThomas Chouconfig DEBUG_UART_ALTERA_JTAGUART 108220e8021SThomas Chou bool "Altera JTAG UART" 109220e8021SThomas Chou help 110220e8021SThomas Chou Select this to enable a debug UART using the altera_jtag_uart driver. 111220e8021SThomas Chou You will need to provide parameters to make this work. The driver will 112220e8021SThomas Chou be available until the real driver model serial is running. 113220e8021SThomas Chou 114da2f838dSThomas Chouconfig DEBUG_UART_ALTERA_UART 115da2f838dSThomas Chou bool "Altera UART" 116da2f838dSThomas Chou help 117da2f838dSThomas Chou Select this to enable a debug UART using the altera_uart driver. 118da2f838dSThomas Chou You will need to provide parameters to make this work. The driver will 119da2f838dSThomas Chou be available until the real driver model serial is running. 120da2f838dSThomas Chou 12160b49761SWills Wangconfig DEBUG_UART_AR933X 12260b49761SWills Wang bool "QCA/Atheros ar933x" 12360b49761SWills Wang depends on AR933X_UART 12460b49761SWills Wang help 12560b49761SWills Wang Select this to enable a debug UART using the ar933x uart driver. 12660b49761SWills Wang You will need to provide parameters to make this work. The 12760b49761SWills Wang driver will be available until the real driver model serial is 12860b49761SWills Wang running. 12960b49761SWills Wang 130998cf3c2SWenyou Yangconfig DEBUG_UART_ATMEL 131998cf3c2SWenyou Yang bool "Atmel USART" 132998cf3c2SWenyou Yang help 133998cf3c2SWenyou Yang Select this to enable a debug UART using the atmel usart driver. You 134998cf3c2SWenyou Yang will need to provide parameters to make this work. The driver will 135998cf3c2SWenyou Yang be available until the real driver-model serial is running. 136998cf3c2SWenyou Yang 13721d00436SSimon Glassconfig DEBUG_UART_NS16550 13821d00436SSimon Glass bool "ns16550" 13921d00436SSimon Glass help 14021d00436SSimon Glass Select this to enable a debug UART using the ns16550 driver. You 14121d00436SSimon Glass will need to provide parameters to make this work. The driver will 14221d00436SSimon Glass be available until the real driver model serial is running. 14321d00436SSimon Glass 144275854baSSimon Glassconfig DEBUG_EFI_CONSOLE 145275854baSSimon Glass bool "EFI" 146275854baSSimon Glass depends on EFI_APP 147275854baSSimon Glass help 148275854baSSimon Glass Select this to enable a debug console which calls back to EFI to 149275854baSSimon Glass output to the console. This can be useful for early debugging of 150275854baSSimon Glass U-Boot when running on top of EFI (Extensive Firmware Interface). 151275854baSSimon Glass This is a type of BIOS used by PCs. 152275854baSSimon Glass 153bf6e7022SSimon Glassconfig DEBUG_UART_S5P 154bf6e7022SSimon Glass bool "Samsung S5P" 155bf6e7022SSimon Glass help 156bf6e7022SSimon Glass Select this to enable a debug UART using the serial_s5p driver. You 157bf6e7022SSimon Glass will need to provide parameters to make this work. The driver will 158bf6e7022SSimon Glass be available until the real driver-model serial is running. 159bf6e7022SSimon Glass 160bfcef28aSBeniamino Galvaniconfig DEBUG_UART_MESON 161bfcef28aSBeniamino Galvani bool "Amlogic Meson" 162bfcef28aSBeniamino Galvani depends on MESON_SERIAL 163bfcef28aSBeniamino Galvani help 164bfcef28aSBeniamino Galvani Select this to enable a debug UART using the serial_meson driver. You 165bfcef28aSBeniamino Galvani will need to provide parameters to make this work. The driver will 166bfcef28aSBeniamino Galvani be available until the real driver-model serial is running. 167bfcef28aSBeniamino Galvani 1684166ba3bSMichal Simekconfig DEBUG_UART_UARTLITE 1694166ba3bSMichal Simek bool "Xilinx Uartlite" 1704166ba3bSMichal Simek help 1714166ba3bSMichal Simek Select this to enable a debug UART using the serial_uartlite driver. 1724166ba3bSMichal Simek You will need to provide parameters to make this work. The driver will 1734166ba3bSMichal Simek be available until the real driver-model serial is running. 1744166ba3bSMichal Simek 175966bfa73SMichal Simekconfig DEBUG_UART_ARM_DCC 176966bfa73SMichal Simek bool "ARM DCC" 177966bfa73SMichal Simek help 178966bfa73SMichal Simek Select this to enable a debug UART using the ARM JTAG DCC port. 179966bfa73SMichal Simek The DCC port can be used for very early debugging and doesn't require 180966bfa73SMichal Simek any additional setting like address/baudrate/clock. On systems without 181966bfa73SMichal Simek any serial interface this is the easiest way how to get console. 182966bfa73SMichal Simek Every ARM core has own DCC port which is the part of debug interface. 183966bfa73SMichal Simek This port is available at least on ARMv6, ARMv7, ARMv8 and XScale 184966bfa73SMichal Simek architectures. 185966bfa73SMichal Simek 1866985d496SStefan Roeseconfig DEBUG_MVEBU_A3700_UART 1876985d496SStefan Roese bool "Marvell Armada 3700" 1886985d496SStefan Roese help 1896985d496SStefan Roese Select this to enable a debug UART using the serial_mvebu driver. You 1906985d496SStefan Roese will need to provide parameters to make this work. The driver will 1916985d496SStefan Roese be available until the real driver-model serial is running. 1926985d496SStefan Roese 193c54c0a4cSSimon Glassconfig DEBUG_UART_ZYNQ 194c54c0a4cSSimon Glass bool "Xilinx Zynq" 195c54c0a4cSSimon Glass help 1966bf87dacSMichal Simek Select this to enable a debug UART using the serial_zynq driver. You 197c54c0a4cSSimon Glass will need to provide parameters to make this work. The driver will 198c54c0a4cSSimon Glass be available until the real driver-model serial is running. 199c54c0a4cSSimon Glass 200e43ce3fcSFrancois Retiefconfig DEBUG_UART_APBUART 201e43ce3fcSFrancois Retief depends on LEON3 202e43ce3fcSFrancois Retief bool "Gaisler APBUART" 203e43ce3fcSFrancois Retief help 204e43ce3fcSFrancois Retief Select this to enable a debug UART using the serial_leon3 driver. You 205e43ce3fcSFrancois Retief will need to provide parameters to make this work. The driver will 206e43ce3fcSFrancois Retief be available until the real driver model serial is running. 207e43ce3fcSFrancois Retief 20819de8150SSergey Temerkhanovconfig DEBUG_UART_PL010 20919de8150SSergey Temerkhanov bool "pl010" 21019de8150SSergey Temerkhanov help 21119de8150SSergey Temerkhanov Select this to enable a debug UART using the pl01x driver with the 21219de8150SSergey Temerkhanov PL010 UART type. You will need to provide parameters to make this 21319de8150SSergey Temerkhanov work. The driver will be available until the real driver model 21419de8150SSergey Temerkhanov serial is running. 21519de8150SSergey Temerkhanov 21619de8150SSergey Temerkhanovconfig DEBUG_UART_PL011 21719de8150SSergey Temerkhanov bool "pl011" 21819de8150SSergey Temerkhanov help 21919de8150SSergey Temerkhanov Select this to enable a debug UART using the pl01x driver with the 22019de8150SSergey Temerkhanov PL011 UART type. You will need to provide parameters to make this 22119de8150SSergey Temerkhanov work. The driver will be available until the real driver model 22219de8150SSergey Temerkhanov serial is running. 22319de8150SSergey Temerkhanov 2249e160ee8SPaul Thackerconfig DEBUG_UART_PIC32 2259e160ee8SPaul Thacker bool "Microchip PIC32" 2269e160ee8SPaul Thacker depends on PIC32_SERIAL 2279e160ee8SPaul Thacker help 2289e160ee8SPaul Thacker Select this to enable a debug UART using the serial_pic32 driver. You 2299e160ee8SPaul Thacker will need to provide parameters to make this work. The driver will 2309e160ee8SPaul Thacker be available until the real driver model serial is running. 2319e160ee8SPaul Thacker 232d5cf3297SMasahiro Yamadaconfig DEBUG_UART_UNIPHIER 233d5cf3297SMasahiro Yamada bool "UniPhier on-chip UART" 234d5cf3297SMasahiro Yamada depends on ARCH_UNIPHIER 235d5cf3297SMasahiro Yamada help 236d5cf3297SMasahiro Yamada Select this to enable a debug UART using the UniPhier on-chip UART. 237d5cf3297SMasahiro Yamada You will need to provide DEBUG_UART_BASE to make this work. The 238d5cf3297SMasahiro Yamada driver will be available until the real driver-model serial is 239d5cf3297SMasahiro Yamada running. 240d5cf3297SMasahiro Yamada 24121d00436SSimon Glassendchoice 24221d00436SSimon Glass 2432f964aa7SSimon Glassconfig DEBUG_UART_BASE 2442f964aa7SSimon Glass hex "Base address of UART" 2452f964aa7SSimon Glass depends on DEBUG_UART 2462f964aa7SSimon Glass help 2472f964aa7SSimon Glass This is the base address of your UART for memory-mapped UARTs. 2482f964aa7SSimon Glass 2492f964aa7SSimon Glass A default should be provided by your board, but if not you will need 2502f964aa7SSimon Glass to use the correct value here. 2512f964aa7SSimon Glass 2522f964aa7SSimon Glassconfig DEBUG_UART_CLOCK 2532f964aa7SSimon Glass int "UART input clock" 2542f964aa7SSimon Glass depends on DEBUG_UART 2552f964aa7SSimon Glass help 2562f964aa7SSimon Glass The UART input clock determines the speed of the internal UART 2572f964aa7SSimon Glass circuitry. The baud rate is derived from this by dividing the input 2582f964aa7SSimon Glass clock down. 2592f964aa7SSimon Glass 2602f964aa7SSimon Glass A default should be provided by your board, but if not you will need 2612f964aa7SSimon Glass to use the correct value here. 2622f964aa7SSimon Glass 263dd0b0122SSimon Glassconfig DEBUG_UART_SHIFT 264dd0b0122SSimon Glass int "UART register shift" 265dd0b0122SSimon Glass depends on DEBUG_UART 266dd0b0122SSimon Glass default 0 if DEBUG_UART 267dd0b0122SSimon Glass help 268dd0b0122SSimon Glass Some UARTs (notably ns16550) support different register layouts 269dd0b0122SSimon Glass where the registers are spaced either as bytes, words or some other 270dd0b0122SSimon Glass value. Use this value to specify the shift to use, where 0=byte 271dd0b0122SSimon Glass registers, 2=32-bit word registers, etc. 272dd0b0122SSimon Glass 2730e977bc1SSimon Glassconfig DEBUG_UART_BOARD_INIT 2740e977bc1SSimon Glass bool "Enable board-specific debug UART init" 2750e977bc1SSimon Glass depends on DEBUG_UART 2760e977bc1SSimon Glass help 2770e977bc1SSimon Glass Some boards need to set things up before the debug UART can be used. 2780e977bc1SSimon Glass On these boards a call to debug_uart_init() is insufficient. When 2790e977bc1SSimon Glass this option is enabled, the function board_debug_uart_init() will 2800e977bc1SSimon Glass be called when debug_uart_init() is called. You can put any code 2810e977bc1SSimon Glass here that is needed to set up the UART ready for use, such as set 2820e977bc1SSimon Glass pin multiplexing or enable clocks. 2830e977bc1SSimon Glass 284c7fefcb9SSimon Glassconfig DEBUG_UART_ANNOUNCE 285c7fefcb9SSimon Glass bool "Show a message when the debug UART starts up" 286c7fefcb9SSimon Glass depends on DEBUG_UART 287c7fefcb9SSimon Glass help 288c7fefcb9SSimon Glass Enable this option to show a message when the debug UART is ready 289c7fefcb9SSimon Glass for use. You will see a message like "<debug_uart> " as soon as 290c7fefcb9SSimon Glass U-Boot has the UART ready for use (i.e. your code calls 291c7fefcb9SSimon Glass debug_uart_init()). This can be useful just as a check that 292c7fefcb9SSimon Glass everything is working. 293c7fefcb9SSimon Glass 29419de8150SSergey Temerkhanovconfig DEBUG_UART_SKIP_INIT 29519de8150SSergey Temerkhanov bool "Skip UART initialization" 29619de8150SSergey Temerkhanov help 29719de8150SSergey Temerkhanov Select this if the UART you want to use for debug output is already 29819de8150SSergey Temerkhanov initialized by the time U-Boot starts its execution. 29919de8150SSergey Temerkhanov 300220e8021SThomas Chouconfig ALTERA_JTAG_UART 301220e8021SThomas Chou bool "Altera JTAG UART support" 302220e8021SThomas Chou depends on DM_SERIAL 303220e8021SThomas Chou help 304220e8021SThomas Chou Select this to enable an JTAG UART for Altera devices.The JTAG UART 305220e8021SThomas Chou core implements a method to communicate serial character streams 306220e8021SThomas Chou between a host PC and a Qsys system on an Altera FPGA. Please find 307220e8021SThomas Chou details on the "Embedded Peripherals IP User Guide" of Altera. 308220e8021SThomas Chou 309220e8021SThomas Chouconfig ALTERA_JTAG_UART_BYPASS 310220e8021SThomas Chou bool "Bypass output when no connection" 311220e8021SThomas Chou depends on ALTERA_JTAG_UART 312220e8021SThomas Chou help 313220e8021SThomas Chou Bypass console output and keep going even if there is no JTAG 314220e8021SThomas Chou terminal connection with the host. The console output will resume 315220e8021SThomas Chou once the JTAG terminal is connected. Without the bypass, the console 316220e8021SThomas Chou output will wait forever until a JTAG terminal is connected. If you 317220e8021SThomas Chou not are sure, say Y. 318220e8021SThomas Chou 319da2f838dSThomas Chouconfig ALTERA_UART 320da2f838dSThomas Chou bool "Altera UART support" 321da2f838dSThomas Chou depends on DM_SERIAL 322da2f838dSThomas Chou help 323da2f838dSThomas Chou Select this to enable an UART for Altera devices. Please find 324da2f838dSThomas Chou details on the "Embedded Peripherals IP User Guide" of Altera. 325da2f838dSThomas Chou 32660b49761SWills Wangconfig AR933X_UART 32760b49761SWills Wang bool "QCA/Atheros ar933x UART support" 32860b49761SWills Wang depends on DM_SERIAL && SOC_AR933X 32960b49761SWills Wang help 33060b49761SWills Wang Select this to enable UART support for QCA/Atheros ar933x 33160b49761SWills Wang devices. This driver uses driver model and requires a device 33260b49761SWills Wang tree binding to operate, please refer to the document at 33360b49761SWills Wang doc/device-tree-bindings/serial/qca,ar9330-uart.txt. 33460b49761SWills Wang 3356ec739aaSWenyou Yangconfig ATMEL_USART 3366ec739aaSWenyou Yang bool "Atmel USART support" 3376ec739aaSWenyou Yang help 3386ec739aaSWenyou Yang Select this to enable USART support for Atmel SoCs. It can be 3396ec739aaSWenyou Yang configured in the device tree, and input clock frequency can 3406ec739aaSWenyou Yang be got from the clk node. 3416ec739aaSWenyou Yang 3425ed07cf5SBin Mengconfig FSL_LPUART 3435ed07cf5SBin Meng bool "Freescale LPUART support" 3445ed07cf5SBin Meng help 3455ed07cf5SBin Meng Select this to enable a Low Power UART for Freescale VF610 and 3465ed07cf5SBin Meng QorIQ Layerscape devices. 3475ed07cf5SBin Meng 3486985d496SStefan Roeseconfig MVEBU_A3700_UART 3496985d496SStefan Roese bool "UART support for Armada 3700" 3506985d496SStefan Roese default n 3516985d496SStefan Roese help 3526985d496SStefan Roese Choose this option to add support for UART driver on the Marvell 3536985d496SStefan Roese Armada 3700 SoC. The base address is configured via DT. 3546985d496SStefan Roese 3558829e662SJagan Tekiconfig MXC_UART 3568829e662SJagan Teki bool "IMX serial port support" 35798d62e61SPatrick Bruenn depends on MX5 || MX6 3588829e662SJagan Teki help 3598829e662SJagan Teki If you have a machine based on a Motorola IMX CPU you 3608829e662SJagan Teki can enable its onboard serial port by enabling this option. 3618829e662SJagan Teki 3629e160ee8SPaul Thackerconfig PIC32_SERIAL 3639e160ee8SPaul Thacker bool "Support for Microchip PIC32 on-chip UART" 3649e160ee8SPaul Thacker depends on DM_SERIAL && MACH_PIC32 3659e160ee8SPaul Thacker default y 3669e160ee8SPaul Thacker help 3679e160ee8SPaul Thacker Support for the UART found on Microchip PIC32 SoC's. 3689e160ee8SPaul Thacker 3699e39003eSThomas Chouconfig SYS_NS16550 3709e39003eSThomas Chou bool "NS16550 UART or compatible" 3719e39003eSThomas Chou help 3729e39003eSThomas Chou Support NS16550 UART or compatible. This can be enabled in the 3739e39003eSThomas Chou device tree with the correct input clock frequency. If the input 3749e39003eSThomas Chou clock frequency is not defined in the device tree, the macro 3759e39003eSThomas Chou CONFIG_SYS_NS16550_CLK defined in a legacy board header file will 3769e39003eSThomas Chou be used. It can be a constant or a function to get clock, eg, 3779e39003eSThomas Chou get_serial_clock(). 3789e39003eSThomas Chou 3792fc24d53SSimon Glassconfig ROCKCHIP_SERIAL 3802fc24d53SSimon Glass bool "Rockchip on-chip UART support" 3812fc24d53SSimon Glass depends on DM_SERIAL && SPL_OF_PLATDATA 3822fc24d53SSimon Glass help 3832fc24d53SSimon Glass Select this to enable a debug UART for Rockchip devices when using 3847f73ca48STom Rini CONFIG_SPL_OF_PLATDATA (i.e. a compiled-in device tree replacemenmt). 3852fc24d53SSimon Glass This uses the ns16550 driver, converting the platdata from of-platdata 3862fc24d53SSimon Glass to the ns16550 format. 3872fc24d53SSimon Glass 388af282245SSimon Glassconfig SANDBOX_SERIAL 389af282245SSimon Glass bool "Sandbox UART support" 3902ea65f3eSMasahiro Yamada depends on SANDBOX 391af282245SSimon Glass help 392af282245SSimon Glass Select this to enable a seral UART for sandbox. This is required to 393af282245SSimon Glass operate correctly, otherwise you will see no serial output from 394af282245SSimon Glass sandbox. The emulated UART will display to the console and console 395af282245SSimon Glass input will be fed into the UART. This allows you to interact with 396af282245SSimon Glass U-Boot. 397af282245SSimon Glass 398af282245SSimon Glass The operation of the console is controlled by the -t command-line 399af282245SSimon Glass flag. In raw mode, U-Boot sees all characters from the terminal 400af282245SSimon Glass before they are processed, including Ctrl-C. In cooked mode, Ctrl-C 401af282245SSimon Glass is processed by the terminal, and terminates U-Boot. Valid options 402af282245SSimon Glass are: 403af282245SSimon Glass 404af282245SSimon Glass -t raw-with-sigs Raw mode, Ctrl-C will terminate U-Boot 405af282245SSimon Glass -t raw Raw mode, Ctrl-C is processed by U-Boot 406af282245SSimon Glass -t cooked Cooked mode, Ctrl-C terminates 407af282245SSimon Glass 408ff247b7aSMasahiro Yamadaconfig UNIPHIER_SERIAL 409b6ef3a3fSMasahiro Yamada bool "Support for UniPhier on-chip UART" 4102ea65f3eSMasahiro Yamada depends on ARCH_UNIPHIER 41185dc2fe1SMasahiro Yamada default y 412ff247b7aSMasahiro Yamada help 413b6ef3a3fSMasahiro Yamada If you have a UniPhier based board and want to use the on-chip 414b6ef3a3fSMasahiro Yamada serial ports, say Y to this option. If unsure, say N. 415dcfe4a54SSimon Glass 41654e24d33SMichal Simekconfig XILINX_UARTLITE 41754e24d33SMichal Simek bool "Xilinx Uarlite support" 41880cce262SRicardo Ribalda Delgado depends on DM_SERIAL && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || 4xx) 41954e24d33SMichal Simek help 42054e24d33SMichal Simek If you have a Xilinx based board and want to use the uartlite 42154e24d33SMichal Simek serial ports, say Y to this option. If unsure, say N. 42254e24d33SMichal Simek 423bfcef28aSBeniamino Galvaniconfig MESON_SERIAL 424bfcef28aSBeniamino Galvani bool "Support for Amlogic Meson UART" 425bfcef28aSBeniamino Galvani depends on DM_SERIAL && ARCH_MESON 426bfcef28aSBeniamino Galvani help 427bfcef28aSBeniamino Galvani If you have an Amlogic Meson based board and want to use the on-chip 428bfcef28aSBeniamino Galvani serial ports, say Y to this option. If unsure, say N. 429bfcef28aSBeniamino Galvani 430142a20c3SMateusz Kulikowskiconfig MSM_SERIAL 431142a20c3SMateusz Kulikowski bool "Qualcomm on-chip UART" 432142a20c3SMateusz Kulikowski depends on DM_SERIAL 433142a20c3SMateusz Kulikowski help 434142a20c3SMateusz Kulikowski Support Data Mover UART used on Qualcomm Snapdragon SoCs. 435142a20c3SMateusz Kulikowski It should support all Qualcomm devices with UARTDM version 1.4, 436142a20c3SMateusz Kulikowski for example APQ8016 and MSM8916. 437142a20c3SMateusz Kulikowski Single baudrate is supported in current implementation (115200). 4386985d496SStefan Roese 439d804a5e1SMarcel Ziswilerconfig PXA_SERIAL 440d804a5e1SMarcel Ziswiler bool "PXA serial port support" 441d804a5e1SMarcel Ziswiler help 442d804a5e1SMarcel Ziswiler If you have a machine based on a Marvell XScale PXA2xx CPU you 443d804a5e1SMarcel Ziswiler can enable its onboard serial ports by enabling this option. 444d804a5e1SMarcel Ziswiler 445214a17e6SPatrice Chotardconfig STI_ASC_SERIAL 446214a17e6SPatrice Chotard bool "STMicroelectronics on-chip UART" 447214a17e6SPatrice Chotard depends on DM_SERIAL && ARCH_STI 448214a17e6SPatrice Chotard help 449214a17e6SPatrice Chotard Select this to enable Asynchronous Serial Controller available 450214a17e6SPatrice Chotard on STiH410 SoC. This is a basic implementation, it supports 451214a17e6SPatrice Chotard following baudrate 9600, 19200, 38400, 57600 and 115200. 452214a17e6SPatrice Chotard 4530b11dbf7SMasahiro Yamadaendmenu 454