Kconfig 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. if SOC_MT7620
  2. config DEBUG_UART_BOARD_INIT
  3. default y
  4. choice
  5. prompt "Board select"
  6. config BOARD_MT7620_RFB
  7. bool "MediaTek MT7620 RFB"
  8. help
  9. The reference design of MT7620A (WS2120). The board has 64 MiB DDR2,
  10. 8 MiB SPI-NOR flash, 1 built-in 6 port switch (two GE PHYs and five
  11. FE PHYs,one port can be configured to use either FE PHY or GE PHY),
  12. 1 UART, 1 USB host, 1 SDXC, 1 PCIe socket and JTAG pins.
  13. config BOARD_MT7620_MT7530_RFB
  14. bool "MediaTek MT7620-MT7530 RFB"
  15. help
  16. The reference design of MT7620DA (MTKC712). The board has 64 MiB
  17. intergrated DDR2 KGD, 16 MiB SPI-NOR flash, an external 5-port giga
  18. switch MT7530 and 1 UART.
  19. endchoice
  20. choice
  21. prompt "CPU frequency select"
  22. default CPU_FREQ_580MHZ
  23. config CPU_FREQ_480MHZ
  24. bool "480MHz"
  25. config CPU_FREQ_500MHZ
  26. bool "500MHz"
  27. config CPU_FREQ_520MHZ
  28. bool "520MHz"
  29. config CPU_FREQ_540MHZ
  30. bool "540MHz"
  31. config CPU_FREQ_560MHZ
  32. bool "560MHz"
  33. config CPU_FREQ_580MHZ
  34. bool "580MHz"
  35. config CPU_FREQ_600MHZ
  36. bool "600MHz"
  37. config CPU_FREQ_620MHZ
  38. bool "620MHz"
  39. endchoice
  40. config CPU_FREQ_MULTI
  41. int
  42. range 0 7
  43. default 0 if CPU_FREQ_480MHZ
  44. default 1 if CPU_FREQ_500MHZ
  45. default 2 if CPU_FREQ_520MHZ
  46. default 3 if CPU_FREQ_540MHZ
  47. default 4 if CPU_FREQ_560MHZ
  48. default 5 if CPU_FREQ_580MHZ
  49. default 6 if CPU_FREQ_600MHZ
  50. default 7 if CPU_FREQ_620MHZ
  51. source "board/mediatek/mt7620/Kconfig"
  52. endif