2016-06-16 02:51:03 +08:00
|
|
|
if SOC_NIOS2F_ZEPHYR
|
|
|
|
|
|
|
|
config SOC
|
|
|
|
string
|
|
|
|
default nios2f-zephyr
|
|
|
|
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
|
|
int
|
2016-06-22 04:59:36 +08:00
|
|
|
default 50000000
|
2016-06-16 02:51:03 +08:00
|
|
|
|
2017-12-13 09:08:33 +08:00
|
|
|
config ALTERA_AVALON_SYSID
|
|
|
|
def_bool y
|
|
|
|
|
2017-12-16 17:25:09 +08:00
|
|
|
if GPIO_ALTERA_NIOS2
|
|
|
|
|
|
|
|
config ALTERA_AVALON_PIO
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # GPIO_ALTERA_NIOS2
|
|
|
|
|
2016-07-15 04:41:34 +08:00
|
|
|
if UART_NS16550
|
|
|
|
|
|
|
|
config UART_NS16550_PCI
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
config UART_NS16550_PORT_0
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
if UART_NS16550_PORT_0
|
|
|
|
|
|
|
|
config UART_NS16550_PORT_0_NAME
|
|
|
|
default "UART_0"
|
|
|
|
config UART_NS16550_PORT_0_IRQ_PRI
|
|
|
|
default 3
|
|
|
|
config UART_NS16550_PORT_0_BAUD_RATE
|
|
|
|
default 115200
|
|
|
|
config UART_NS16550_PORT_0_OPTIONS
|
|
|
|
default 0
|
|
|
|
|
|
|
|
endif # UART_NS16550_PORT_0
|
|
|
|
|
|
|
|
endif # UART_NS16550
|
|
|
|
|
|
|
|
endif # SOC_NIOS2F_ZEPHYR
|