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	help
40	  The MediaTek MT7629 is a ARM-based SoC with a dual-core Cortex-A7
41	  including DDR3, crypto engine, 3x3 11n/ac Wi-Fi, Gigabit Ethernet,
42	  switch, USB3.0, PCIe, UART, SPI, I2C and PWM.
43
44config TARGET_MT8183
45	bool "MediaTek MT8183 SoC"
46	select ARM64
47	help
48	  The MediaTek MT8183 is a ARM64-based SoC with a quad-core Cortex-A73 and
49	  a quad-core Cortex-A53. It is including UART, SPI, USB3.0 dual role,
50	  SD and MMC cards, UFS, PWM, I2C, I2S, S/PDIF, and several LPDDR3
51	  and LPDDR4 options.
52
53config TARGET_MT8512
54        bool "MediaTek MT8512 M1 Board"
55        select ARM64
56	select MT8512
57        help
58          The MediaTek MT8512 is a ARM64-based SoC with a dual-core Cortex-A53.
59          including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
60          IR RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth digital
61          and several LPDDR3 and LPDDR4 options.
62
63config TARGET_MT8516
64	bool "MediaTek MT8516 SoC"
65	select ARM64
66	help
67	  The MediaTek MT8516 is a ARM64-based SoC with a quad-core Cortex-A35.
68	  including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
69	  Ethernet, IR TX/RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth combo
70	  chip and several DDR3 and DDR4 options.
71
72config TARGET_MT8518
73	bool "MediaTek MT8518 SoC"
74	select ARM64
75	help
76	  The MediaTek MT8518 is a ARM64-based SoC with a quad-core Cortex-A53.
77	  including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
78	  Ethernet, IR TX/RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth combo
79	  chip and several DDR3 and DDR4 options.
80
81endchoice
82
83source "board/mediatek/mt7622/Kconfig"
84source "board/mediatek/mt7623/Kconfig"
85source "board/mediatek/mt7629/Kconfig"
86source "board/mediatek/mt8183/Kconfig"
87source "board/mediatek/mt8512/Kconfig"
88source "board/mediatek/mt8516/Kconfig"
89source "board/mediatek/mt8518/Kconfig"
90
91endif
92