developer | 37e34ba | 2020-11-12 16:35:23 +0800 | [diff] [blame] | 1 | |
| 2 | if SOC_MT7628 |
| 3 | |
| 4 | choice |
| 5 | prompt "Board select" |
| 6 | |
| 7 | config BOARD_GARDENA_SMART_GATEWAY_MT7688 |
| 8 | bool "GARDENA smart Gateway" |
| 9 | select BOARD_LATE_INIT |
| 10 | help |
| 11 | GARDENA smart Gateway boards have a MT7688 SoC with 128 MiB of RAM |
| 12 | and 8 MiB of flash (SPI NOR) and additional SPI NAND storage. |
| 13 | |
| 14 | config BOARD_LINKIT_SMART_7688 |
| 15 | bool "LinkIt Smart 7688" |
| 16 | help |
| 17 | Seeed LinkIt Smart 7688 boards have a MT7688 SoC with 128 MiB of RAM |
| 18 | and 32 MiB of flash (SPI). |
| 19 | Between its different peripherals there's an integrated switch with 4 |
| 20 | ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and |
| 21 | a MT7688 (PCIe). |
| 22 | |
| 23 | config BOARD_MT7628_RFB |
| 24 | bool "MediaTek MT7628 RFB" |
| 25 | help |
| 26 | The reference design of MT7628. The board has 128 MiB DDR2, 8 MiB |
| 27 | SPI-NOR flash, 1 built-in switch with 5 ports, 1 UART, 1 USB host, |
| 28 | 1 SDXC, 1 PCIe socket and JTAG pins. |
| 29 | |
| 30 | config BOARD_VOCORE2 |
| 31 | bool "VoCore2" |
Simon Glass | f4d6039 | 2021-08-08 12:20:12 -0600 | [diff] [blame] | 32 | select SPL_SERIAL |
developer | 37e34ba | 2020-11-12 16:35:23 +0800 | [diff] [blame] | 33 | select SPL_UART2_SPIS_PINMUX |
| 34 | help |
| 35 | VoCore VoCore2 board has a MT7628 SoC with 128 MiB of RAM |
| 36 | and 16 MiB of flash (SPI). |
| 37 | |
| 38 | endchoice |
| 39 | |
| 40 | config SPL_UART2_SPIS_PINMUX |
| 41 | bool "Use alternative pinmux for UART2 in SPL stage" |
Simon Glass | f4d6039 | 2021-08-08 12:20:12 -0600 | [diff] [blame] | 42 | depends on SPL_SERIAL |
developer | 37e34ba | 2020-11-12 16:35:23 +0800 | [diff] [blame] | 43 | help |
| 44 | Select this if the UART2 of your board is connected to GPIO 16/17 |
| 45 | (shared with SPIS) rather than the usual GPIO 20/21. |
| 46 | |
Guillaume La Roque | a24e1cf | 2021-09-10 10:21:06 +0200 | [diff] [blame] | 47 | config SYS_BOARD |
| 48 | string "Board name" |
| 49 | default "mt7628" if BOARD_MT7628_RFB |
| 50 | |
| 51 | config SYS_CONFIG_NAME |
| 52 | string "Board configuration name" |
| 53 | default "mt7628" if BOARD_MT7628_RFB |
| 54 | |
developer | 37e34ba | 2020-11-12 16:35:23 +0800 | [diff] [blame] | 55 | source "board/gardena/smart-gateway-mt7688/Kconfig" |
developer | 37e34ba | 2020-11-12 16:35:23 +0800 | [diff] [blame] | 56 | source "board/seeed/linkit-smart-7688/Kconfig" |
| 57 | source "board/vocore/vocore2/Kconfig" |
| 58 | |
| 59 | endif |