developer | 18ec8d6 | 2020-11-12 16:35:52 +0800 | [diff] [blame] | 1 | |
| 2 | if SOC_MT7620 |
| 3 | |
| 4 | config DEBUG_UART_BOARD_INIT |
| 5 | default y |
| 6 | |
| 7 | choice |
| 8 | prompt "Board select" |
| 9 | |
developer | 3f66195 | 2020-11-12 16:35:56 +0800 | [diff] [blame] | 10 | config BOARD_MT7620_RFB |
| 11 | bool "MediaTek MT7620 RFB" |
| 12 | help |
| 13 | The reference design of MT7620A (WS2120). The board has 64 MiB DDR2, |
| 14 | 8 MiB SPI-NOR flash, 1 built-in 6 port switch (two GE PHYs and five |
| 15 | FE PHYs,one port can be configured to use either FE PHY or GE PHY), |
| 16 | 1 UART, 1 USB host, 1 SDXC, 1 PCIe socket and JTAG pins. |
| 17 | |
| 18 | config BOARD_MT7620_MT7530_RFB |
| 19 | bool "MediaTek MT7620-MT7530 RFB" |
| 20 | help |
| 21 | The reference design of MT7620DA (MTKC712). The board has 64 MiB |
| 22 | intergrated DDR2 KGD, 16 MiB SPI-NOR flash, an external 5-port giga |
| 23 | switch MT7530 and 1 UART. |
| 24 | |
developer | 18ec8d6 | 2020-11-12 16:35:52 +0800 | [diff] [blame] | 25 | endchoice |
| 26 | |
| 27 | choice |
| 28 | prompt "CPU frequency select" |
| 29 | default CPU_FREQ_580MHZ |
| 30 | |
| 31 | config CPU_FREQ_480MHZ |
| 32 | bool "480MHz" |
| 33 | |
| 34 | config CPU_FREQ_500MHZ |
| 35 | bool "500MHz" |
| 36 | |
| 37 | config CPU_FREQ_520MHZ |
| 38 | bool "520MHz" |
| 39 | |
| 40 | config CPU_FREQ_540MHZ |
| 41 | bool "540MHz" |
| 42 | |
| 43 | config CPU_FREQ_560MHZ |
| 44 | bool "560MHz" |
| 45 | |
| 46 | config CPU_FREQ_580MHZ |
| 47 | bool "580MHz" |
| 48 | |
| 49 | config CPU_FREQ_600MHZ |
| 50 | bool "600MHz" |
| 51 | |
| 52 | config CPU_FREQ_620MHZ |
| 53 | bool "620MHz" |
| 54 | |
| 55 | endchoice |
| 56 | |
| 57 | config CPU_FREQ_MULTI |
| 58 | int |
| 59 | range 0 7 |
| 60 | default 0 if CPU_FREQ_480MHZ |
| 61 | default 1 if CPU_FREQ_500MHZ |
| 62 | default 2 if CPU_FREQ_520MHZ |
| 63 | default 3 if CPU_FREQ_540MHZ |
| 64 | default 4 if CPU_FREQ_560MHZ |
| 65 | default 5 if CPU_FREQ_580MHZ |
| 66 | default 6 if CPU_FREQ_600MHZ |
| 67 | default 7 if CPU_FREQ_620MHZ |
| 68 | |
Guillaume La Roque | a24e1cf | 2021-09-10 10:21:06 +0200 | [diff] [blame^] | 69 | config SYS_CONFIG_NAME |
| 70 | string "Board configuration name" |
| 71 | default "mt7620" if BOARD_MT7620_RFB || BOARD_MT7620_MT7530_RFB |
| 72 | |
| 73 | config SYS_BOARD |
| 74 | string "Board name" |
| 75 | default "mt7620" if BOARD_MT7620_RFB || BOARD_MT7620_MT7530_RFB |
developer | 3f66195 | 2020-11-12 16:35:56 +0800 | [diff] [blame] | 76 | |
developer | 18ec8d6 | 2020-11-12 16:35:52 +0800 | [diff] [blame] | 77 | endif |