1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | config UART_STELLARIS
bool "Stellaris serial driver"
default n
select SERIAL_HAS_DRIVER
help
This option enables the Stellaris serial driver.
This specific driver can be used for the serial hardware
available at the Texas Instrument LM3S6965 platform.
# ---------- Port 0 ----------
menuconfig UART_STELLARIS_PORT_0
bool "Enable Stellaris UART Port 0"
default n
depends on UART_STELLARIS
help
This tells the driver to configure the UART port at boot, depending on
the additional configure options below.
config UART_STELLARIS_PORT_0_NAME
string "Port 0 Device Name"
default "UART_0"
depends on UART_STELLARIS_PORT_0
help
This is the device name for UART, and is included in the device
struct.
config UART_STELLARIS_PORT_0_BASE_ADDR
hex
prompt "Port 0 Base Address"
default 0x00000000
depends on UART_STELLARIS_PORT_0
help
The base address of UART port.
Leave this at 0x00000000 to skip initialization at boot.
config UART_STELLARIS_PORT_0_IRQ
int "Port 0 Interrupt Vector"
default 0
depends on UART_STELLARIS_PORT_0
help
The interrupt vector for UART port. This is used for interrupt driven
transfers.
config UART_STELLARIS_PORT_0_IRQ_PRI
int "Port 0 Interrupt Priority"
default 0
depends on UART_STELLARIS_PORT_0
help
The interrupt priority for UART port.
config UART_STELLARIS_PORT_0_BAUD_RATE
int "Port 0 Baud Rate"
default 0
depends on UART_STELLARIS_PORT_0
help
The baud rate for UART port to be set to at boot.
Leave at 0 to skip initialization.
config UART_STELLARIS_PORT_0_CLK_FREQ
int "Port 0 Clock Frequency"
default 0
depends on UART_STELLARIS_PORT_0
help
The clock frequency for UART port.
# ---------- Port 1 ----------
menuconfig UART_STELLARIS_PORT_1
bool "Enable Stellaris UART Port 1"
default n
depends on UART_STELLARIS
help
This tells the driver to configure the UART port at boot, depending on
the additional configure options below.
config UART_STELLARIS_PORT_1_NAME
string "Port 1 Device Name"
default "UART_1"
depends on UART_STELLARIS_PORT_1
help
This is the device name for UART, and is included in the device
struct.
config UART_STELLARIS_PORT_1_BASE_ADDR
hex
prompt "Port 1 Base Address"
default 0x00000000
depends on UART_STELLARIS_PORT_1
help
The base address of UART port.
Leave this at 0x00000000 to skip initialization at boot.
config UART_STELLARIS_PORT_1_IRQ
int "Port 1 Interrupt Vector"
default 0
depends on UART_STELLARIS_PORT_1
help
The interrupt vector for UART port. This is used for interrupt driven
transfers.
config UART_STELLARIS_PORT_1_IRQ_PRI
int "Port 1 Interrupt Priority"
default 0
depends on UART_STELLARIS_PORT_1
help
The interrupt priority for UART port.
config UART_STELLARIS_PORT_1_BAUD_RATE
int "Port 1 Baud Rate"
default 0
depends on UART_STELLARIS_PORT_1
help
The baud rate for UART port to be set to at boot.
Leave at 0 to skip initialization.
config UART_STELLARIS_PORT_1_CLK_FREQ
int "Port 1 Clock Frequency"
default 0
depends on UART_STELLARIS_PORT_1
help
The clock frequency for UART port.
# ---------- Port 2 ----------
menuconfig UART_STELLARIS_PORT_2
bool "Enable Stellaris UART Port 2"
default n
depends on UART_STELLARIS
help
This tells the driver to configure the UART port at boot, depending on
the additional configure options below.
config UART_STELLARIS_PORT_2_NAME
string "Port 2 Device Name"
default "UART_2"
depends on UART_STELLARIS_PORT_2
help
This is the device name for UART, and is included in the device
struct.
config UART_STELLARIS_PORT_2_BASE_ADDR
hex
prompt "Port 2 Base Address"
default 0x00000000
depends on UART_STELLARIS_PORT_2
help
The base address of UART port.
Leave this at 0x00000000 to skip initialization at boot.
config UART_STELLARIS_PORT_2_IRQ
int "Port 2 Interrupt Vector"
default 0
depends on UART_STELLARIS_PORT_2
help
The interrupt vector for UART port. This is used for interrupt driven
transfers.
config UART_STELLARIS_PORT_2_IRQ_PRI
int "Port 2 Interrupt Priority"
default 0
depends on UART_STELLARIS_PORT_2
help
The interrupt priority for UART port.
config UART_STELLARIS_PORT_2_BAUD_RATE
int "Port 2 Baud Rate"
default 0
depends on UART_STELLARIS_PORT_2
help
The baud rate for UART port to be set to at boot.
Leave at 0 to skip initialization.
config UART_STELLARIS_PORT_2_CLK_FREQ
int "Port 2 Clock Frequency"
default 0
depends on UART_STELLARIS_PORT_2
help
The clock frequency for UART port.
|