blob: 8971e2d2b0f10592639c0403364fee690b59adfc [file] [log] [blame]
developerf4a079c2018-11-15 10:07:52 +08001if ARCH_MEDIATEK
2
3config SYS_SOC
4 default "mediatek"
5
6config SYS_VENDOR
7 default "mediatek"
8
developerb3c8f172019-12-31 11:29:19 +08009config MT8512
10 bool "MediaTek MT8512 SoC"
developerb3c8f172019-12-31 11:29:19 +080011
developerf4a079c2018-11-15 10:07:52 +080012choice
13 prompt "MediaTek board select"
14
developerb73d7952020-01-10 16:30:26 +080015config TARGET_MT7622
16 bool "MediaTek MT7622 SoC"
17 select ARM64
18 help
19 The MediaTek MT7622 is a ARM64-based SoC with a dual-core Cortex-A53.
20 including UART, SPI, USB3.0, SD and MMC cards, NAND, SNFI, PWM, PCIe,
21 Gigabit Ethernet, I2C, built-in Wi-Fi, and PCIe.
22
developered71a402018-11-15 10:07:53 +080023config TARGET_MT7623
24 bool "MediaTek MT7623 SoC"
25 select CPU_V7A
developered71a402018-11-15 10:07:53 +080026 help
27 The MediaTek MT7623 is a ARM-based SoC with a quad-core Cortex-A7
28 including NEON and GPU, Mali-450 graphics, several DDR3 options,
29 crypto engine, built-in Wi-Fi / Bluetooth combo chip, JPEG decoder,
30 video interfaces supporting HDMI and MIPI, and video codec support.
31 Peripherals include Gigabit Ethernet, switch, USB3.0 and OTG, PCIe,
32 I2S, PCM, S/PDIF, UART, SPI, I2C, IR TX/RX, and PWM.
33
developerf4a079c2018-11-15 10:07:52 +080034config TARGET_MT7629
35 bool "MediaTek MT7629 SoC"
36 select CPU_V7A
37 select SPL
developerf4a079c2018-11-15 10:07:52 +080038 help
39 The MediaTek MT7629 is a ARM-based SoC with a dual-core Cortex-A7
40 including DDR3, crypto engine, 3x3 11n/ac Wi-Fi, Gigabit Ethernet,
41 switch, USB3.0, PCIe, UART, SPI, I2C and PWM.
42
developerff9f2d42022-09-09 19:59:11 +080043config TARGET_MT7981
44 bool "MediaTek MT7981 SoC"
45 select ARM64
46 select CPU
47 help
48 The MediaTek MT7981 is a ARM64-based SoC with a dual-core Cortex-A53.
49 including UART, SPI, USB, NAND, SNFI, PWM, Gigabit Ethernet, I2C,
50 built-in Wi-Fi, and PCIe.
51
developere021c152022-09-09 19:59:09 +080052config TARGET_MT7986
53 bool "MediaTek MT7986 SoC"
54 select ARM64
55 select CPU
56 help
57 The MediaTek MT7986 is a ARM64-based SoC with a quad-core Cortex-A53.
58 including UART, SPI, SPI flash, USB3.0, MMC, NAND, SNFI, PWM, PCIe,
59 Gigabit Ethernet, I2C, built-in 4x4 Wi-Fi, and PCIe.
60
developerf596c1a2023-07-19 17:17:49 +080061config TARGET_MT7988
62 bool "MediaTek MT7988 SoC"
63 select ARM64
64 select CPU
65 help
66 The MediaTek MT7988 is a ARM64-based SoC with a quad-core Cortex-A73.
67 including UART, SPI, SPI flash, USB3.0, MMC, NAND, SNFI, PWM, PCIe,
68 10 Gigabit Ethernet , I2C, and PCIe.
69
Fabien Parent4640e2a2021-02-15 19:21:11 +010070config TARGET_MT8183
71 bool "MediaTek MT8183 SoC"
72 select ARM64
73 help
74 The MediaTek MT8183 is a ARM64-based SoC with a quad-core Cortex-A73 and
75 a quad-core Cortex-A53. It is including UART, SPI, USB3.0 dual role,
76 SD and MMC cards, UFS, PWM, I2C, I2S, S/PDIF, and several LPDDR3
77 and LPDDR4 options.
78
developerb3c8f172019-12-31 11:29:19 +080079config TARGET_MT8512
80 bool "MediaTek MT8512 M1 Board"
81 select ARM64
82 select MT8512
83 help
developerca7d22a2020-09-04 13:35:22 +080084 The MediaTek MT8512 is a ARM64-based SoC with a dual-core Cortex-A53.
developerb3c8f172019-12-31 11:29:19 +080085 including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
developerca7d22a2020-09-04 13:35:22 +080086 IR RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth digital
87 and several LPDDR3 and LPDDR4 options.
developerb3c8f172019-12-31 11:29:19 +080088
Fabien Parentb6530b42019-03-24 16:46:38 +010089config TARGET_MT8516
90 bool "MediaTek MT8516 SoC"
91 select ARM64
Fabien Parentb6530b42019-03-24 16:46:38 +010092 help
93 The MediaTek MT8516 is a ARM64-based SoC with a quad-core Cortex-A35.
94 including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
95 Ethernet, IR TX/RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth combo
96 chip and several DDR3 and DDR4 options.
97
developer9445eda2019-11-07 19:28:40 +080098config TARGET_MT8518
99 bool "MediaTek MT8518 SoC"
100 select ARM64
101 help
102 The MediaTek MT8518 is a ARM64-based SoC with a quad-core Cortex-A53.
103 including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
104 Ethernet, IR TX/RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth combo
105 chip and several DDR3 and DDR4 options.
106
developerf4a079c2018-11-15 10:07:52 +0800107endchoice
108
Guillaume La Roquea24e1cf2021-09-10 10:21:06 +0200109config SYS_BOARD
110 string "Board name"
111 default "mt7622" if TARGET_MT7622
112 default "mt7623" if TARGET_MT7623
113 default "mt7629" if TARGET_MT7629
developerff9f2d42022-09-09 19:59:11 +0800114 default "mt7981" if TARGET_MT7981
developere021c152022-09-09 19:59:09 +0800115 default "mt7986" if TARGET_MT7986
developerf596c1a2023-07-19 17:17:49 +0800116 default "mt7988" if TARGET_MT7988
Guillaume La Roquea24e1cf2021-09-10 10:21:06 +0200117 default "mt8183" if TARGET_MT8183
118 default "mt8512" if TARGET_MT8512
119 default "mt8516" if TARGET_MT8516
120 default "mt8518" if TARGET_MT8518
121 default ""
122 help
123 This option contains information about board name.
124 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
125 be used.
126
127config SYS_CONFIG_NAME
128 string "Board configuration name"
129 default "mt7622" if TARGET_MT7622
130 default "mt7623" if TARGET_MT7623
131 default "mt7629" if TARGET_MT7629
developerff9f2d42022-09-09 19:59:11 +0800132 default "mt7981" if TARGET_MT7981
developere021c152022-09-09 19:59:09 +0800133 default "mt7986" if TARGET_MT7986
developerf596c1a2023-07-19 17:17:49 +0800134 default "mt7988" if TARGET_MT7988
Guillaume La Roquea24e1cf2021-09-10 10:21:06 +0200135 default "mt8183" if TARGET_MT8183
136 default "mt8512" if TARGET_MT8512
137 default "mt8516" if TARGET_MT8516
138 default "mt8518" if TARGET_MT8518
139 default ""
140 help
141 This option contains information about board configuration name.
142 Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
143 will be used for board configuration.
144
145config MTK_BROM_HEADER_INFO
146 string
147 default "media=nor" if TARGET_MT8518 || TARGET_MT8512 || TARGET_MT7629 || TARGET_MT7622
148 default "media=emmc" if TARGET_MT8516 || TARGET_MT8365 || TARGET_MT8183
developerf596c1a2023-07-19 17:17:49 +0800149 default "media=snand;nandinfo=2k+64" if TARGET_MT7981 || TARGET_MT7986 || TARGET_MT7988
Guillaume La Roquea24e1cf2021-09-10 10:21:06 +0200150 default "lk=1" if TARGET_MT7623
developerf4a079c2018-11-15 10:07:52 +0800151
152endif