2023-03-08 12:53:36 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
if UART_PL011
|
|
|
|
|
|
|
|
config UART0_PL011
|
|
|
|
bool "UART0 PL011"
|
|
|
|
select UART0_SERIALDRIVER
|
|
|
|
default n
|
|
|
|
|
2024-01-11 07:15:45 +01:00
|
|
|
if UART0_PL011
|
|
|
|
|
|
|
|
config UART0_BASE
|
|
|
|
hex "UART0 base address"
|
|
|
|
|
|
|
|
config UART0_IRQ
|
|
|
|
int "PL011 UART0 IRQ number"
|
|
|
|
|
2024-04-30 03:31:56 +02:00
|
|
|
config UART0_CLK_FREQ
|
|
|
|
int "PL011 UART0 clock frequency"
|
|
|
|
default 24000000
|
|
|
|
|
2024-01-11 07:15:45 +01:00
|
|
|
endif # UART0_PL011
|
|
|
|
|
2023-03-08 12:53:36 +01:00
|
|
|
config UART1_PL011
|
|
|
|
bool "UART1 PL011"
|
|
|
|
select UART1_SERIALDRIVER
|
|
|
|
default n
|
|
|
|
|
2024-01-11 07:15:45 +01:00
|
|
|
if UART1_PL011
|
|
|
|
|
|
|
|
config UART1_BASE
|
|
|
|
hex "UART1 base address"
|
|
|
|
|
|
|
|
config UART1_IRQ
|
|
|
|
int "PL011 UART1 IRQ number"
|
|
|
|
|
2024-04-30 03:31:56 +02:00
|
|
|
config UART1_CLK_FREQ
|
|
|
|
int "PL011 UART1 clock frequency"
|
|
|
|
default 24000000
|
|
|
|
|
2024-01-11 07:15:45 +01:00
|
|
|
endif # UART1_PL011
|
|
|
|
|
2023-03-08 12:53:36 +01:00
|
|
|
config UART2_PL011
|
|
|
|
bool "UART2 PL011"
|
|
|
|
select UART2_SERIALDRIVER
|
|
|
|
default n
|
|
|
|
|
2024-01-11 07:15:45 +01:00
|
|
|
if UART2_PL011
|
|
|
|
|
|
|
|
config UART2_BASE
|
|
|
|
hex "UART2 base address"
|
|
|
|
|
|
|
|
config UART2_IRQ
|
|
|
|
int "PL011 UART2 IRQ number"
|
|
|
|
|
2024-04-30 03:31:56 +02:00
|
|
|
config UART2_CLK_FREQ
|
|
|
|
int "PL011 UART2 clock frequency"
|
|
|
|
default 24000000
|
|
|
|
|
2024-01-11 07:15:45 +01:00
|
|
|
endif # UART2_PL011
|
|
|
|
|
2023-03-08 12:53:36 +01:00
|
|
|
config UART3_PL011
|
|
|
|
bool "UART3 PL011"
|
|
|
|
select UART3_SERIALDRIVER
|
|
|
|
default n
|
|
|
|
|
2024-01-11 07:15:45 +01:00
|
|
|
if UART3_PL011
|
2023-03-08 12:53:36 +01:00
|
|
|
|
|
|
|
config UART3_BASE
|
|
|
|
hex "UART3 base address"
|
|
|
|
|
|
|
|
config UART3_IRQ
|
|
|
|
int "PL011 UART3 IRQ number"
|
2024-01-11 07:15:45 +01:00
|
|
|
|
2024-04-30 03:31:56 +02:00
|
|
|
config UART3_CLK_FREQ
|
|
|
|
int "PL011 UART3 clock frequency"
|
|
|
|
default 24000000
|
|
|
|
|
2024-01-11 07:15:45 +01:00
|
|
|
endif # UART3_PL011
|
2023-03-08 12:53:36 +01:00
|
|
|
|
2024-06-03 08:35:11 +02:00
|
|
|
config UART_PL011_PLATFORMIF
|
|
|
|
bool "PL011 platform interface"
|
|
|
|
default n
|
|
|
|
|
2023-03-08 12:53:36 +01:00
|
|
|
endif # UART_PL011
|