2018-11-15 02:07:52 +00:00
|
|
|
if ARCH_MEDIATEK
|
|
|
|
|
|
|
|
config SYS_SOC
|
|
|
|
default "mediatek"
|
|
|
|
|
|
|
|
config SYS_VENDOR
|
|
|
|
default "mediatek"
|
|
|
|
|
2019-12-31 03:29:19 +00:00
|
|
|
config MT8512
|
|
|
|
bool "MediaTek MT8512 SoC"
|
|
|
|
|
2018-11-15 02:07:52 +00:00
|
|
|
choice
|
|
|
|
prompt "MediaTek board select"
|
|
|
|
|
2020-01-10 08:30:26 +00:00
|
|
|
config TARGET_MT7622
|
|
|
|
bool "MediaTek MT7622 SoC"
|
|
|
|
select ARM64
|
|
|
|
help
|
|
|
|
The MediaTek MT7622 is a ARM64-based SoC with a dual-core Cortex-A53.
|
|
|
|
including UART, SPI, USB3.0, SD and MMC cards, NAND, SNFI, PWM, PCIe,
|
|
|
|
Gigabit Ethernet, I2C, built-in Wi-Fi, and PCIe.
|
|
|
|
|
2018-11-15 02:07:53 +00:00
|
|
|
config TARGET_MT7623
|
|
|
|
bool "MediaTek MT7623 SoC"
|
|
|
|
select CPU_V7A
|
|
|
|
help
|
|
|
|
The MediaTek MT7623 is a ARM-based SoC with a quad-core Cortex-A7
|
|
|
|
including NEON and GPU, Mali-450 graphics, several DDR3 options,
|
|
|
|
crypto engine, built-in Wi-Fi / Bluetooth combo chip, JPEG decoder,
|
|
|
|
video interfaces supporting HDMI and MIPI, and video codec support.
|
|
|
|
Peripherals include Gigabit Ethernet, switch, USB3.0 and OTG, PCIe,
|
|
|
|
I2S, PCM, S/PDIF, UART, SPI, I2C, IR TX/RX, and PWM.
|
|
|
|
|
2018-11-15 02:07:52 +00:00
|
|
|
config TARGET_MT7629
|
|
|
|
bool "MediaTek MT7629 SoC"
|
|
|
|
select CPU_V7A
|
|
|
|
select SPL
|
|
|
|
help
|
|
|
|
The MediaTek MT7629 is a ARM-based SoC with a dual-core Cortex-A7
|
|
|
|
including DDR3, crypto engine, 3x3 11n/ac Wi-Fi, Gigabit Ethernet,
|
|
|
|
switch, USB3.0, PCIe, UART, SPI, I2C and PWM.
|
|
|
|
|
2022-09-09 11:59:11 +00:00
|
|
|
config TARGET_MT7981
|
|
|
|
bool "MediaTek MT7981 SoC"
|
|
|
|
select ARM64
|
|
|
|
select CPU
|
|
|
|
help
|
|
|
|
The MediaTek MT7981 is a ARM64-based SoC with a dual-core Cortex-A53.
|
|
|
|
including UART, SPI, USB, NAND, SNFI, PWM, Gigabit Ethernet, I2C,
|
|
|
|
built-in Wi-Fi, and PCIe.
|
|
|
|
|
2022-09-09 11:59:09 +00:00
|
|
|
config TARGET_MT7986
|
|
|
|
bool "MediaTek MT7986 SoC"
|
|
|
|
select ARM64
|
|
|
|
select CPU
|
|
|
|
help
|
|
|
|
The MediaTek MT7986 is a ARM64-based SoC with a quad-core Cortex-A53.
|
|
|
|
including UART, SPI, SPI flash, USB3.0, MMC, NAND, SNFI, PWM, PCIe,
|
|
|
|
Gigabit Ethernet, I2C, built-in 4x4 Wi-Fi, and PCIe.
|
|
|
|
|
2023-07-19 09:17:49 +00:00
|
|
|
config TARGET_MT7988
|
|
|
|
bool "MediaTek MT7988 SoC"
|
|
|
|
select ARM64
|
|
|
|
select CPU
|
|
|
|
help
|
|
|
|
The MediaTek MT7988 is a ARM64-based SoC with a quad-core Cortex-A73.
|
|
|
|
including UART, SPI, SPI flash, USB3.0, MMC, NAND, SNFI, PWM, PCIe,
|
|
|
|
10 Gigabit Ethernet , I2C, and PCIe.
|
|
|
|
|
2021-02-15 18:21:11 +00:00
|
|
|
config TARGET_MT8183
|
|
|
|
bool "MediaTek MT8183 SoC"
|
|
|
|
select ARM64
|
|
|
|
help
|
|
|
|
The MediaTek MT8183 is a ARM64-based SoC with a quad-core Cortex-A73 and
|
|
|
|
a quad-core Cortex-A53. It is including UART, SPI, USB3.0 dual role,
|
|
|
|
SD and MMC cards, UFS, PWM, I2C, I2S, S/PDIF, and several LPDDR3
|
|
|
|
and LPDDR4 options.
|
|
|
|
|
2023-12-04 10:48:55 +00:00
|
|
|
config TARGET_MT8365
|
|
|
|
bool "MediaTek MT8365 SoC"
|
|
|
|
select ARM64
|
|
|
|
help
|
|
|
|
The MediaTek MT8365 is a ARM64-based SoC with a quad-core Cortex-A53.
|
|
|
|
It is including UART, SPI, USB2.0 dual role, SD and MMC cards, NAND, PWM,
|
|
|
|
I2C, I2S, S/PDIF, and several LPDDR3 and LPDDR4 options.
|
|
|
|
|
2019-12-31 03:29:19 +00:00
|
|
|
config TARGET_MT8512
|
|
|
|
bool "MediaTek MT8512 M1 Board"
|
|
|
|
select ARM64
|
|
|
|
select MT8512
|
|
|
|
help
|
2020-09-04 05:35:22 +00:00
|
|
|
The MediaTek MT8512 is a ARM64-based SoC with a dual-core Cortex-A53.
|
2019-12-31 03:29:19 +00:00
|
|
|
including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
|
2020-09-04 05:35:22 +00:00
|
|
|
IR RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth digital
|
|
|
|
and several LPDDR3 and LPDDR4 options.
|
2019-12-31 03:29:19 +00:00
|
|
|
|
2019-03-24 15:46:38 +00:00
|
|
|
config TARGET_MT8516
|
|
|
|
bool "MediaTek MT8516 SoC"
|
|
|
|
select ARM64
|
|
|
|
help
|
|
|
|
The MediaTek MT8516 is a ARM64-based SoC with a quad-core Cortex-A35.
|
|
|
|
including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
|
|
|
|
Ethernet, IR TX/RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth combo
|
|
|
|
chip and several DDR3 and DDR4 options.
|
|
|
|
|
2019-11-07 11:28:40 +00:00
|
|
|
config TARGET_MT8518
|
|
|
|
bool "MediaTek MT8518 SoC"
|
|
|
|
select ARM64
|
|
|
|
help
|
|
|
|
The MediaTek MT8518 is a ARM64-based SoC with a quad-core Cortex-A53.
|
|
|
|
including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
|
|
|
|
Ethernet, IR TX/RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth combo
|
|
|
|
chip and several DDR3 and DDR4 options.
|
|
|
|
|
2018-11-15 02:07:52 +00:00
|
|
|
endchoice
|
|
|
|
|
2021-09-10 08:21:06 +00:00
|
|
|
config SYS_BOARD
|
|
|
|
string "Board name"
|
|
|
|
default "mt7622" if TARGET_MT7622
|
|
|
|
default "mt7623" if TARGET_MT7623
|
|
|
|
default "mt7629" if TARGET_MT7629
|
2022-09-09 11:59:11 +00:00
|
|
|
default "mt7981" if TARGET_MT7981
|
2022-09-09 11:59:09 +00:00
|
|
|
default "mt7986" if TARGET_MT7986
|
2023-07-19 09:17:49 +00:00
|
|
|
default "mt7988" if TARGET_MT7988
|
2021-09-10 08:21:06 +00:00
|
|
|
default "mt8183" if TARGET_MT8183
|
|
|
|
default "mt8512" if TARGET_MT8512
|
|
|
|
default "mt8516" if TARGET_MT8516
|
|
|
|
default "mt8518" if TARGET_MT8518
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
This option contains information about board name.
|
|
|
|
Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
|
|
|
|
be used.
|
|
|
|
|
|
|
|
config SYS_CONFIG_NAME
|
|
|
|
string "Board configuration name"
|
|
|
|
default "mt7622" if TARGET_MT7622
|
|
|
|
default "mt7623" if TARGET_MT7623
|
|
|
|
default "mt7629" if TARGET_MT7629
|
2022-09-09 11:59:11 +00:00
|
|
|
default "mt7981" if TARGET_MT7981
|
2022-09-09 11:59:09 +00:00
|
|
|
default "mt7986" if TARGET_MT7986
|
2023-07-19 09:17:49 +00:00
|
|
|
default "mt7988" if TARGET_MT7988
|
2021-09-10 08:21:06 +00:00
|
|
|
default "mt8183" if TARGET_MT8183
|
2023-12-04 10:48:55 +00:00
|
|
|
default "mt8365" if TARGET_MT8365
|
2021-09-10 08:21:06 +00:00
|
|
|
default "mt8512" if TARGET_MT8512
|
|
|
|
default "mt8516" if TARGET_MT8516
|
|
|
|
default "mt8518" if TARGET_MT8518
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
This option contains information about board configuration name.
|
|
|
|
Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
|
|
|
|
will be used for board configuration.
|
|
|
|
|
|
|
|
config MTK_BROM_HEADER_INFO
|
|
|
|
string
|
|
|
|
default "media=nor" if TARGET_MT8518 || TARGET_MT8512 || TARGET_MT7629 || TARGET_MT7622
|
|
|
|
default "media=emmc" if TARGET_MT8516 || TARGET_MT8365 || TARGET_MT8183
|
2023-07-19 09:17:49 +00:00
|
|
|
default "media=snand;nandinfo=2k+64" if TARGET_MT7981 || TARGET_MT7986 || TARGET_MT7988
|
2021-09-10 08:21:06 +00:00
|
|
|
default "lk=1" if TARGET_MT7623
|
2018-11-15 02:07:52 +00:00
|
|
|
|
|
|
|
endif
|