riscv: Add Sipeed Maix support
The Sipeed Maix series is a collection of boards built around the RISC-V
Kendryte K210 processor. This processor contains several peripherals to
accelerate neural network processing and other "ai" tasks. This includes a
"KPU" neural network processor, an audio processor supporting beamforming
reception, and a digital video port supporting capture and output at VGA
resolution. Other peripherals include 8M of sram (accessible with and
without caching); remappable pins, including 40 GPIOs; AES, FFT, and SHA256
accelerators; a DMA controller; and I2C, I2S, and SPI controllers. Maix
peripherals vary, but include spi flash; on-board usb-serial bridges; ports
for cameras, displays, and sd cards; and ESP32 chips. Currently, only the
Sipeed Maix Bit V2.0 (bitm) is supported, but the boards are fairly
similar.
Documentation for Maix boards is located at
<http://dl.sipeed.com/MAIX/HDK/>. Documentation for the Kendryte K210 is
located at <https://kendryte.com/downloads/>. However, hardware details are
rather lacking, so most technical reference has been taken from the
standalone sdk located at
<https://github.com/kendryte/kendryte-standalone-sdk>.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
2020-06-24 10:41:25 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
# Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
|
|
|
|
|
|
|
|
if TARGET_SIPEED_MAIX
|
|
|
|
|
|
|
|
config SYS_BOARD
|
|
|
|
default "maix"
|
|
|
|
|
|
|
|
config SYS_VENDOR
|
|
|
|
default "sipeed"
|
|
|
|
|
|
|
|
config SYS_CPU
|
|
|
|
default "generic"
|
|
|
|
|
|
|
|
config SYS_CONFIG_NAME
|
|
|
|
default "sipeed-maix"
|
|
|
|
|
2022-10-21 00:22:39 +00:00
|
|
|
config TEXT_BASE
|
riscv: Add Sipeed Maix support
The Sipeed Maix series is a collection of boards built around the RISC-V
Kendryte K210 processor. This processor contains several peripherals to
accelerate neural network processing and other "ai" tasks. This includes a
"KPU" neural network processor, an audio processor supporting beamforming
reception, and a digital video port supporting capture and output at VGA
resolution. Other peripherals include 8M of sram (accessible with and
without caching); remappable pins, including 40 GPIOs; AES, FFT, and SHA256
accelerators; a DMA controller; and I2C, I2S, and SPI controllers. Maix
peripherals vary, but include spi flash; on-board usb-serial bridges; ports
for cameras, displays, and sd cards; and ESP32 chips. Currently, only the
Sipeed Maix Bit V2.0 (bitm) is supported, but the boards are fairly
similar.
Documentation for Maix boards is located at
<http://dl.sipeed.com/MAIX/HDK/>. Documentation for the Kendryte K210 is
located at <https://kendryte.com/downloads/>. However, hardware details are
rather lacking, so most technical reference has been taken from the
standalone sdk located at
<https://github.com/kendryte/kendryte-standalone-sdk>.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
2020-06-24 10:41:25 +00:00
|
|
|
default 0x80000000
|
|
|
|
|
|
|
|
config DEFAULT_DEVICE_TREE
|
|
|
|
default "k210-maix-bit"
|
|
|
|
|
|
|
|
config NR_CPUS
|
|
|
|
default 2
|
|
|
|
|
|
|
|
config NR_DRAM_BANKS
|
|
|
|
default 3
|
|
|
|
|
|
|
|
config BOARD_SPECIFIC_OPTIONS
|
|
|
|
def_bool y
|
|
|
|
select GENERIC_RISCV
|
|
|
|
select RISCV_PRIV_1_9
|
|
|
|
imply SMP
|
|
|
|
imply DM_SERIAL
|
|
|
|
imply SIFIVE_SERIAL
|
2023-06-21 15:11:46 +00:00
|
|
|
imply RISCV_ACLINT
|
riscv: Add Sipeed Maix support
The Sipeed Maix series is a collection of boards built around the RISC-V
Kendryte K210 processor. This processor contains several peripherals to
accelerate neural network processing and other "ai" tasks. This includes a
"KPU" neural network processor, an audio processor supporting beamforming
reception, and a digital video port supporting capture and output at VGA
resolution. Other peripherals include 8M of sram (accessible with and
without caching); remappable pins, including 40 GPIOs; AES, FFT, and SHA256
accelerators; a DMA controller; and I2C, I2S, and SPI controllers. Maix
peripherals vary, but include spi flash; on-board usb-serial bridges; ports
for cameras, displays, and sd cards; and ESP32 chips. Currently, only the
Sipeed Maix Bit V2.0 (bitm) is supported, but the boards are fairly
similar.
Documentation for Maix boards is located at
<http://dl.sipeed.com/MAIX/HDK/>. Documentation for the Kendryte K210 is
located at <https://kendryte.com/downloads/>. However, hardware details are
rather lacking, so most technical reference has been taken from the
standalone sdk located at
<https://github.com/kendryte/kendryte-standalone-sdk>.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
2020-06-24 10:41:25 +00:00
|
|
|
imply POWER_DOMAIN
|
|
|
|
imply SIMPLE_PM_BUS
|
|
|
|
imply CLK_K210
|
|
|
|
imply DM_RESET
|
|
|
|
imply RESET_SYSCON
|
|
|
|
imply SYSRESET
|
|
|
|
imply SYSRESET_SYSCON
|
2020-09-14 15:02:06 +00:00
|
|
|
imply PINCTRL
|
|
|
|
imply PINCONF
|
|
|
|
imply PINCTRL_K210
|
|
|
|
imply DM_GPIO
|
|
|
|
imply DWAPB_GPIO
|
|
|
|
imply SIFIVE_GPIO
|
|
|
|
imply CMD_GPIO
|
|
|
|
imply LED
|
|
|
|
imply LED_GPIO
|
2020-12-22 23:57:18 +00:00
|
|
|
imply SPI
|
|
|
|
imply DESIGNWARE_SPI
|
|
|
|
imply SPI_FLASH_GIGADEVICE
|
|
|
|
imply SPI_FLASH_WINBOND
|
|
|
|
imply DM_MTD
|
|
|
|
imply SPI_FLASH_MTD
|
|
|
|
imply CMD_MTD
|
|
|
|
imply ENV_IS_IN_SPI_FLASH
|
|
|
|
imply MMC
|
|
|
|
imply MMC_BROKEN_CD
|
|
|
|
imply MMC_SPI
|
|
|
|
imply CMD_MMC
|
|
|
|
imply DOS_PARTITION
|
|
|
|
imply EFI_PARTITION
|
|
|
|
imply CMD_PART
|
|
|
|
imply CMD_FS_GENERIC
|
2021-03-11 02:02:22 +00:00
|
|
|
imply WDT
|
|
|
|
imply DESIGNWARE_WATCHDOG
|
riscv: Add Sipeed Maix support
The Sipeed Maix series is a collection of boards built around the RISC-V
Kendryte K210 processor. This processor contains several peripherals to
accelerate neural network processing and other "ai" tasks. This includes a
"KPU" neural network processor, an audio processor supporting beamforming
reception, and a digital video port supporting capture and output at VGA
resolution. Other peripherals include 8M of sram (accessible with and
without caching); remappable pins, including 40 GPIOs; AES, FFT, and SHA256
accelerators; a DMA controller; and I2C, I2S, and SPI controllers. Maix
peripherals vary, but include spi flash; on-board usb-serial bridges; ports
for cameras, displays, and sd cards; and ESP32 chips. Currently, only the
Sipeed Maix Bit V2.0 (bitm) is supported, but the boards are fairly
similar.
Documentation for Maix boards is located at
<http://dl.sipeed.com/MAIX/HDK/>. Documentation for the Kendryte K210 is
located at <https://kendryte.com/downloads/>. However, hardware details are
rather lacking, so most technical reference has been taken from the
standalone sdk located at
<https://github.com/kendryte/kendryte-standalone-sdk>.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
2020-06-24 10:41:25 +00:00
|
|
|
endif
|