|
@@ -125,3 +125,43 @@ config UART_ACTS_PORT_1_PRIORITY
|
|
|
help
|
|
|
Port 1 device driver initialization priority.
|
|
|
|
|
|
+# ---------- Port 2 ----------
|
|
|
+
|
|
|
+menuconfig UART_ACTS_PORT_2
|
|
|
+ bool "Enable Actions SoC UART Port 2"
|
|
|
+ default n
|
|
|
+ depends on UART_ACTS
|
|
|
+ help
|
|
|
+ This tells the driver to configure the UART port at boot, depending on
|
|
|
+ the additional configure options below.
|
|
|
+
|
|
|
+config UART_ACTS_PORT_2_NAME
|
|
|
+ string "Port 2 Device Name"
|
|
|
+ default "UART_2"
|
|
|
+ depends on UART_ACTS_PORT_2
|
|
|
+ help
|
|
|
+ This is the device name for UART, and is included in the device
|
|
|
+ struct.
|
|
|
+
|
|
|
+config UART_ACTS_PORT_2_BAUD_RATE
|
|
|
+ int "Port 2 Baud Rate"
|
|
|
+ default 115200
|
|
|
+ depends on UART_ACTS_PORT_2
|
|
|
+ help
|
|
|
+ The baud rate for UART port to be set to at boot.
|
|
|
+
|
|
|
+ Leave at 0 to skip initialization.
|
|
|
+
|
|
|
+config UART_ACTS_PORT_2_IRQ_PRIORITY
|
|
|
+ int "Port 2 Interrupt Priority"
|
|
|
+ default 1
|
|
|
+ depends on UART_ACTS_PORT_2
|
|
|
+ help
|
|
|
+ Port 2 Interrupt Priority
|
|
|
+
|
|
|
+config UART_ACTS_PORT_2_PRIORITY
|
|
|
+ int "Port 2 Init priority"
|
|
|
+ default 20
|
|
|
+ depends on UART_ACTS_PORT_2
|
|
|
+ help
|
|
|
+ Port 2 device driver initialization priority.
|