blob: 398c7c6a94862a228c3ab3be9a440e0f3a1aee08 [file] [log] [blame]
developer18ec8d62020-11-12 16:35:52 +08001
2if SOC_MT7620
3
4config DEBUG_UART_BOARD_INIT
5 default y
6
7choice
8 prompt "Board select"
9
developer3f661952020-11-12 16:35:56 +080010config 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
18config 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
developer18ec8d62020-11-12 16:35:52 +080025endchoice
26
27choice
28 prompt "CPU frequency select"
29 default CPU_FREQ_580MHZ
30
31config CPU_FREQ_480MHZ
32 bool "480MHz"
33
34config CPU_FREQ_500MHZ
35 bool "500MHz"
36
37config CPU_FREQ_520MHZ
38 bool "520MHz"
39
40config CPU_FREQ_540MHZ
41 bool "540MHz"
42
43config CPU_FREQ_560MHZ
44 bool "560MHz"
45
46config CPU_FREQ_580MHZ
47 bool "580MHz"
48
49config CPU_FREQ_600MHZ
50 bool "600MHz"
51
52config CPU_FREQ_620MHZ
53 bool "620MHz"
54
55endchoice
56
57config 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 Roquea24e1cf2021-09-10 10:21:06 +020069config SYS_CONFIG_NAME
Guillaume La Roquea24e1cf2021-09-10 10:21:06 +020070 default "mt7620" if BOARD_MT7620_RFB || BOARD_MT7620_MT7530_RFB
71
72config SYS_BOARD
73 string "Board name"
74 default "mt7620" if BOARD_MT7620_RFB || BOARD_MT7620_MT7530_RFB
developer3f661952020-11-12 16:35:56 +080075
developer18ec8d62020-11-12 16:35:52 +080076endif