1if ARCH_MEDIATEK
2
3config SYS_SOC
4	default "mediatek"
5
6config SYS_VENDOR
7	default "mediatek"
8
9config MT8512
10	bool "MediaTek MT8512 SoC"
11	default n
12
13choice
14	prompt "MediaTek board select"
15
16config TARGET_MT7622
17	bool "MediaTek MT7622 SoC"
18	select ARM64
19	help
20	  The MediaTek MT7622 is a ARM64-based SoC with a dual-core Cortex-A53.
21	  including UART, SPI, USB3.0, SD and MMC cards, NAND, SNFI, PWM, PCIe,
22	  Gigabit Ethernet, I2C, built-in Wi-Fi, and PCIe.
23
24config TARGET_MT7623
25	bool "MediaTek MT7623 SoC"
26	select CPU_V7A
27	help
28	  The MediaTek MT7623 is a ARM-based SoC with a quad-core Cortex-A7
29	  including NEON and GPU, Mali-450 graphics, several DDR3 options,
30	  crypto engine, built-in Wi-Fi / Bluetooth combo chip, JPEG decoder,
31	  video interfaces supporting HDMI and MIPI, and video codec support.
32	  Peripherals include Gigabit Ethernet, switch, USB3.0 and OTG, PCIe,
33	  I2S, PCM, S/PDIF, UART, SPI, I2C, IR TX/RX, and PWM.
34
35config TARGET_MT7629
36	bool "MediaTek MT7629 SoC"
37	select CPU_V7A
38	select SPL
39	select BINMAN
40	help
41	  The MediaTek MT7629 is a ARM-based SoC with a dual-core Cortex-A7
42	  including DDR3, crypto engine, 3x3 11n/ac Wi-Fi, Gigabit Ethernet,
43	  switch, USB3.0, PCIe, UART, SPI, I2C and PWM.
44
45config TARGET_MT8512
46        bool "MediaTek MT8512 M1 Board"
47        select ARM64
48	select MT8512
49        help
50          The MediaTek MT8512 is a ARM64-based SoC with a dual-core Cortex-A53.
51          including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
52          IR RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth digital
53          and several LPDDR3 and LPDDR4 options.
54
55config TARGET_MT8516
56	bool "MediaTek MT8516 SoC"
57	select ARM64
58	help
59	  The MediaTek MT8516 is a ARM64-based SoC with a quad-core Cortex-A35.
60	  including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
61	  Ethernet, IR TX/RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth combo
62	  chip and several DDR3 and DDR4 options.
63
64config TARGET_MT8518
65	bool "MediaTek MT8518 SoC"
66	select ARM64
67	help
68	  The MediaTek MT8518 is a ARM64-based SoC with a quad-core Cortex-A53.
69	  including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
70	  Ethernet, IR TX/RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth combo
71	  chip and several DDR3 and DDR4 options.
72
73endchoice
74
75source "board/mediatek/mt7622/Kconfig"
76source "board/mediatek/mt7623/Kconfig"
77source "board/mediatek/mt7629/Kconfig"
78source "board/mediatek/mt8512/Kconfig"
79source "board/mediatek/mt8518/Kconfig"
80source "board/mediatek/pumpkin/Kconfig"
81
82endif
83