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" |
| 32 | select SPL_SERIAL_SUPPORT |
| 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" |
| 42 | depends on SPL_SERIAL_SUPPORT |
| 43 | default n |
| 44 | help |
| 45 | Select this if the UART2 of your board is connected to GPIO 16/17 |
| 46 | (shared with SPIS) rather than the usual GPIO 20/21. |
| 47 | |
| 48 | source "board/gardena/smart-gateway-mt7688/Kconfig" |
| 49 | source "board/mediatek/mt7628/Kconfig" |
| 50 | source "board/seeed/linkit-smart-7688/Kconfig" |
| 51 | source "board/vocore/vocore2/Kconfig" |
| 52 | |
| 53 | endif |