blob: 6f6d714f20eadd249d6bb8233f5a1a4d27bbe62d (
plain)
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
|
menu "Ultrarisc DP1000 Soc Drivers Configuration"
menuconfig BSP_USING_PLIC
bool "Using PLIC"
default y
if BSP_USING_PLIC
config PLIC_BASE_ADDR
hex "plic base mmio addr"
default 0x9000000
config PLIC_NDEV
hex "plic supported irqs"
default 160
endif
menuconfig BSP_USING_UART0
bool "Using UART0"
select RT_USING_SERIAL
default y
if BSP_USING_UART0
config UART0_IRQ_BASE
int "uart0 irq number"
default 18
config UART0_REFERENCE_CLOCK
int "uart0 clock"
default 62500000
config UART0_DEFAULT_BAUDRATE
int "uart0 baudrate"
default 115200
config UART0_BASE_ADDR
hex "uart0 base mmio addr"
default 0x20310000
config UART0_REG_SHIFT
int "uart0 reg shift"
default 2
endif
menuconfig BSP_USING_DW_SPI
bool "Using Dw apb ssi SPI"
select RT_USING_SPI
default n
if BSP_USING_DW_SPI
config DW_SPI_IRQ_BASE
int "spi irq number"
default 19
config DW_SPI_BASE_ADDR
hex "dw spi base mmio addr"
default 0x20320000
config DW_SPI_MAX_FREQ
int "dw max spi freq"
default 62500000
endif
menuconfig BSP_USING_MMC
bool "Using MMC"
select BSP_USING_SPI
select RT_USING_SPI_MSD
select RT_USING_DFS_ELMFAT
default n
endmenu
|