This commit is contained in:
刘可亮
2024-10-30 16:50:31 +08:00
parent 0ef85b55da
commit 661e71562d
458 changed files with 46555 additions and 12133 deletions

View File

@@ -66,6 +66,12 @@ source "bsp/artinchip/drv/uart/Kconfig.dev"
# i2c device global option
#---------------------------
config AIC_USING_SOFT_I2C
bool "Using SOFT_I2C"
default n
select RT_USING_I2C_BITOPS
select AIC_I2C_DRV
config AIC_USING_I2C0
bool "Using I2C0"
default n
@@ -387,6 +393,12 @@ menu "SPI1 Parameter"
bool "Dynamic DMA channel SPI1"
default n
config AIC_QSPI1_BUS_SPI
bool "Work in SPI BUS Mode"
default n
select AIC_QSPI_DRV
depends on AIC_QSPI1_BUS_WIDTH_1
endmenu
config AIC_USING_QSPI2
@@ -422,6 +434,11 @@ menu "SPI2 Parameter"
bool "Dynamic DMA channel SPI2"
default n
config AIC_QSPI2_BUS_SPI
bool "Work in SPI BUS Mode"
default y
select AIC_QSPI_DRV
endmenu
config AIC_USING_QSPI3
@@ -457,6 +474,11 @@ menu "SPI3 Parameter"
bool "Dynamic DMA channel SPI3"
default n
config AIC_QSPI3_BUS_SPI
bool "Work in SPI BUS Mode"
default y
select AIC_QSPI_DRV
endmenu
source "bsp/artinchip/drv/qspi/Kconfig.dev"

View File

@@ -99,8 +99,8 @@
"head_ver": "0x00010001",
"loader": {
"file": "bootloader.bin",
"load address": "0x43E00000",
"entry point": "0x43E00100", // 256 byte aic header
"load address": "CONFIG_AIC_BOOTLOADER_LOAD_BASE",
"entry point": "CONFIG_AIC_BOOTLOADER_TEXT_BASE", // 256 byte aic header
},
"resource": {
"private": "ddr_init.bin",

View File

@@ -85,8 +85,8 @@
"head_ver": "0x00010001",
"loader": {
"file": "bootloader.bin",
"load address": "0x43E00000",
"entry point": "0x43E00100", // 256 byte aic header
"load address": "CONFIG_AIC_BOOTLOADER_LOAD_BASE",
"entry point": "CONFIG_AIC_BOOTLOADER_TEXT_BASE", // 256 byte aic header
},
"resource": {
"private": "ddr_init.bin",

View File

@@ -75,8 +75,8 @@
"head_ver": "0x00010001",
"loader": {
"file": "bootloader.bin",
"load address": "0x43E00000",
"entry point": "0x43E00100", // 256 byte aic header
"load address": "CONFIG_AIC_BOOTLOADER_LOAD_BASE",
"entry point": "CONFIG_AIC_BOOTLOADER_TEXT_BASE", // 256 byte aic header
},
"resource": {
"private": "ddr_init.bin",

View File

@@ -296,6 +296,16 @@ struct aic_pinmux aic_pinmux_config[] = {
#ifdef AIC_USING_GPAI7
{2, PIN_PULL_DIS, 3, "PA.7"},
#endif
#ifdef AIC_USING_AUDIO
#ifdef AIC_AUDIO_PLAYBACK
{4, PIN_PULL_DIS, 3, "PE.11"},
{1, PIN_PULL_DIS, 3, AIC_AUDIO_PA_ENABLE_GPIO},
#endif
#ifdef AIC_AUDIO_DMIC
{4, PIN_PULL_DIS, 3, "PF.14"},
{4, PIN_PULL_DIS, 3, "PF.15"},
#endif
#endif
#ifdef AIC_USING_RTP
{2, PIN_PULL_DIS, 3, "PA.8"},
{2, PIN_PULL_DIS, 3, "PA.9"},

View File

@@ -99,8 +99,8 @@
"head_ver": "0x00010001",
"loader": {
"file": "bootloader.bin",
"load address": "0x43E00000",
"entry point": "0x43E00100", // 256 byte aic header
"load address": "CONFIG_AIC_BOOTLOADER_LOAD_BASE",
"entry point": "CONFIG_AIC_BOOTLOADER_TEXT_BASE", // 256 byte aic header
},
"resource": {
"private": "ddr_init.bin",

View File

@@ -99,8 +99,8 @@
"head_ver": "0x00010001",
"loader": {
"file": "bootloader.bin",
"load address": "0x43E00000",
"entry point": "0x43E00100", // 256 byte aic header
"load address": "CONFIG_AIC_BOOTLOADER_LOAD_BASE",
"entry point": "CONFIG_AIC_BOOTLOADER_TEXT_BASE", // 256 byte aic header
},
"resource": {
"private": "ddr_init.bin",

View File

@@ -84,8 +84,8 @@
"head_ver": "0x00010001",
"loader": {
"file": "bootloader.bin",
"load address": "0x43E00000",
"entry point": "0x43E00100", // 256 byte aic header
"load address": "CONFIG_AIC_BOOTLOADER_LOAD_BASE",
"entry point": "CONFIG_AIC_BOOTLOADER_TEXT_BASE", // 256 byte aic header
},
"resource": {
"private": "ddr_init.bin",