diff --git a/drivers/serial/Kconfig.cmsdk_apb b/drivers/serial/Kconfig.cmsdk_apb index 476469bc766806..8c14229b418fe4 100644 --- a/drivers/serial/Kconfig.cmsdk_apb +++ b/drivers/serial/Kconfig.cmsdk_apb @@ -32,25 +32,6 @@ config UART_CMSDK_APB_PORT0_NAME This is the device name for UART, and is included in the device struct. -if !HAS_DTS - -config UART_CMSDK_APB_PORT0_IRQ_PRI - int "UART Interrupt Priority (Interrupt support)" - default 2 - depends on UART_CMSDK_APB_PORT0 - depends on UART_INTERRUPT_DRIVEN - help - The interrupt priority for UART port. - -config UART_CMSDK_APB_PORT0_BAUD_RATE - int "Baud Rate" - range 9600 115200 - default 115200 - depends on UART_CMSDK_APB_PORT0 - help - The baud rate for UART port to be set to at boot. - -endif # !HAS_DTS # ---------- Port 1 ---------- config UART_CMSDK_APB_PORT1 @@ -67,25 +48,6 @@ config UART_CMSDK_APB_PORT1_NAME This is the device name for UART, and is included in the device struct. -if !HAS_DTS - -config UART_CMSDK_APB_PORT1_IRQ_PRI - int "UART Interrupt Priority (Interrupt support)" - default 2 - depends on UART_CMSDK_APB_PORT1 - depends on UART_INTERRUPT_DRIVEN - help - The interrupt priority for UART port. - -config UART_CMSDK_APB_PORT1_BAUD_RATE - int "Baud Rate" - range 9600 115200 - default 115200 - depends on UART_CMSDK_APB_PORT1 - help - The baud rate for UART port to be set to at boot. - -endif # !HAS_DTS # ---------- Port 2 ---------- config UART_CMSDK_APB_PORT2 @@ -102,25 +64,6 @@ config UART_CMSDK_APB_PORT2_NAME This is the device name for UART, and is included in the device struct. -if !HAS_DTS - -config UART_CMSDK_APB_PORT2_IRQ_PRI - int "UART Interrupt Priority (Interrupt support)" - default 2 - depends on UART_CMSDK_APB_PORT2 - depends on UART_INTERRUPT_DRIVEN - help - The interrupt priority for UART port. - -config UART_CMSDK_APB_PORT2_BAUD_RATE - int "Baud Rate" - range 9600 115200 - default 115200 - depends on UART_CMSDK_APB_PORT2 - help - The baud rate for UART port to be set to at boot. - -endif # !HAS_DTS # ---------- Port 3 ---------- config UART_CMSDK_APB_PORT3 @@ -137,25 +80,6 @@ config UART_CMSDK_APB_PORT3_NAME This is the device name for UART, and is included in the device struct. -if !HAS_DTS - -config UART_CMSDK_APB_PORT3_IRQ_PRI - int "UART Interrupt Priority (Interrupt support)" - default 2 - depends on UART_CMSDK_APB_PORT3 - depends on UART_INTERRUPT_DRIVEN - help - The interrupt priority for UART port. - -config UART_CMSDK_APB_PORT3_BAUD_RATE - int "Baud Rate" - range 9600 115200 - default 115200 - depends on UART_CMSDK_APB_PORT3 - help - The baud rate for UART port to be set to at boot. - -endif # !HAS_DTS # ---------- Port 4 ---------- config UART_CMSDK_APB_PORT4 @@ -172,23 +96,4 @@ config UART_CMSDK_APB_PORT4_NAME This is the device name for UART, and is included in the device struct. -if !HAS_DTS - -config UART_CMSDK_APB_PORT4_IRQ_PRI - int "UART Interrupt Priority (Interrupt support)" - default 2 - depends on UART_CMSDK_APB_PORT4 - depends on UART_INTERRUPT_DRIVEN - help - The interrupt priority for UART port. - -config UART_CMSDK_APB_PORT4_BAUD_RATE - int "Baud Rate" - range 9600 115200 - default 115200 - depends on UART_CMSDK_APB_PORT4 - help - The baud rate for UART port to be set to at boot. - -endif # !HAS_DTS endif # UART_CMSDK_APB diff --git a/drivers/serial/Kconfig.nrf5 b/drivers/serial/Kconfig.nrf5 index 04e49df3cfbf72..9ccfa8e091cdde 100644 --- a/drivers/serial/Kconfig.nrf5 +++ b/drivers/serial/Kconfig.nrf5 @@ -24,26 +24,6 @@ config UART_NRF5_NAME This is the device name for UART, and is included in the device struct. -if !HAS_DTS -config UART_NRF5_IRQ_PRI - int "UART Interrupt Priority (Interrupt support)" - range 0 1 if SOC_SERIES_NRF51X - range 0 5 if SOC_SERIES_NRF52X - default 1 - depends on UART_NRF5 - depends on UART_INTERRUPT_DRIVEN - help - The interrupt priority for UART port. - -config UART_NRF5_BAUD_RATE - int "Baud Rate" - range 1200 1000000 - default 115200 - depends on UART_NRF5 - help - The baud rate for UART port to be set to at boot. -endif - config UART_NRF5_CLK_FREQ int default 16000000