Sean Anderson | a7c81fc | 2020-06-24 06:41:25 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> |
| 3 | |
| 4 | if TARGET_SIPEED_MAIX |
| 5 | |
| 6 | config SYS_BOARD |
| 7 | default "maix" |
| 8 | |
| 9 | config SYS_VENDOR |
| 10 | default "sipeed" |
| 11 | |
| 12 | config SYS_CPU |
| 13 | default "generic" |
| 14 | |
| 15 | config SYS_CONFIG_NAME |
| 16 | default "sipeed-maix" |
| 17 | |
Simon Glass | 9846390 | 2022-10-20 18:22:39 -0600 | [diff] [blame] | 18 | config TEXT_BASE |
Sean Anderson | a7c81fc | 2020-06-24 06:41:25 -0400 | [diff] [blame] | 19 | default 0x80000000 |
| 20 | |
| 21 | config DEFAULT_DEVICE_TREE |
| 22 | default "k210-maix-bit" |
| 23 | |
| 24 | config NR_CPUS |
| 25 | default 2 |
| 26 | |
| 27 | config NR_DRAM_BANKS |
| 28 | default 3 |
| 29 | |
| 30 | config BOARD_SPECIFIC_OPTIONS |
| 31 | def_bool y |
| 32 | select GENERIC_RISCV |
| 33 | select RISCV_PRIV_1_9 |
| 34 | imply SMP |
| 35 | imply DM_SERIAL |
| 36 | imply SIFIVE_SERIAL |
Bin Meng | 9675d92 | 2023-06-21 23:11:46 +0800 | [diff] [blame] | 37 | imply RISCV_ACLINT |
Sean Anderson | a7c81fc | 2020-06-24 06:41:25 -0400 | [diff] [blame] | 38 | imply POWER_DOMAIN |
| 39 | imply SIMPLE_PM_BUS |
Sean Anderson | a7c81fc | 2020-06-24 06:41:25 -0400 | [diff] [blame] | 40 | imply CLK_K210 |
| 41 | imply DM_RESET |
| 42 | imply RESET_SYSCON |
| 43 | imply SYSRESET |
| 44 | imply SYSRESET_SYSCON |
Sean Anderson | 0eabb2f | 2020-09-14 11:02:06 -0400 | [diff] [blame] | 45 | imply PINCTRL |
| 46 | imply PINCONF |
| 47 | imply PINCTRL_K210 |
| 48 | imply DM_GPIO |
| 49 | imply DWAPB_GPIO |
| 50 | imply SIFIVE_GPIO |
| 51 | imply CMD_GPIO |
| 52 | imply LED |
| 53 | imply LED_GPIO |
Sean Anderson | 8f78e52 | 2020-12-22 18:57:18 -0500 | [diff] [blame] | 54 | imply SPI |
| 55 | imply DESIGNWARE_SPI |
| 56 | imply SPI_FLASH_GIGADEVICE |
| 57 | imply SPI_FLASH_WINBOND |
| 58 | imply DM_MTD |
| 59 | imply SPI_FLASH_MTD |
| 60 | imply CMD_MTD |
| 61 | imply ENV_IS_IN_SPI_FLASH |
| 62 | imply MMC |
| 63 | imply MMC_BROKEN_CD |
| 64 | imply MMC_SPI |
| 65 | imply CMD_MMC |
| 66 | imply DOS_PARTITION |
| 67 | imply EFI_PARTITION |
| 68 | imply CMD_PART |
| 69 | imply CMD_FS_GENERIC |
Sean Anderson | e3282b1 | 2021-03-10 21:02:22 -0500 | [diff] [blame] | 70 | imply WDT |
| 71 | imply DESIGNWARE_WATCHDOG |
Sean Anderson | a7c81fc | 2020-06-24 06:41:25 -0400 | [diff] [blame] | 72 | endif |