Kconfig 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. menu "Ultrarisc DP1000 Soc Drivers Configuration"
  2. menuconfig BSP_USING_PLIC
  3. bool "Using PLIC"
  4. default y
  5. if BSP_USING_PLIC
  6. config PLIC_BASE_ADDR
  7. hex "plic base mmio addr"
  8. default 0x9000000
  9. config PLIC_NDEV
  10. hex "plic supported irqs"
  11. default 160
  12. endif
  13. menuconfig BSP_USING_UART0
  14. bool "Using UART0"
  15. select RT_USING_SERIAL
  16. default y
  17. if BSP_USING_UART0
  18. config UART0_IRQ_BASE
  19. int "uart0 irq number"
  20. default 18
  21. config UART0_REFERENCE_CLOCK
  22. int "uart0 clock"
  23. default 62500000
  24. config UART0_DEFAULT_BAUDRATE
  25. int "uart0 baudrate"
  26. default 115200
  27. config UART0_BASE_ADDR
  28. hex "uart0 base mmio addr"
  29. default 0x20310000
  30. config UART0_REG_SHIFT
  31. int "uart0 reg shift"
  32. default 2
  33. endif
  34. menuconfig BSP_USING_DW_SPI
  35. bool "Using Dw apb ssi SPI"
  36. select RT_USING_SPI
  37. default n
  38. if BSP_USING_DW_SPI
  39. config DW_SPI_IRQ_BASE
  40. int "spi irq number"
  41. default 19
  42. config DW_SPI_BASE_ADDR
  43. hex "dw spi base mmio addr"
  44. default 0x20320000
  45. config DW_SPI_MAX_FREQ
  46. int "dw max spi freq"
  47. default 62500000
  48. endif
  49. menuconfig BSP_USING_MMC
  50. bool "Using MMC"
  51. select BSP_USING_SPI
  52. select RT_USING_SPI_MSD
  53. select RT_USING_DFS_ELMFAT
  54. default n
  55. endmenu