forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soc/intel_adsp: add support for Intel Jasper Lake
Add a variant of Intel cAVS2.0 used in Jasper Lake based products. Signed-off-by: Kai Vehmanen <[email protected]>
- Loading branch information
1 parent
a505148
commit ec7451b
Showing
9 changed files
with
196 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
# Xtensa board configuration | ||
|
||
# Copyright (c) 2020 Intel Corporation | ||
# Copyright (c) 2020,2022 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config BOARD_INTEL_ADSP_CAVS20 | ||
bool "Intel ADSP CAVS 2.0" | ||
bool "Intel ADSP CAVS 2.0 for Ice Lake" | ||
depends on SOC_SERIES_INTEL_CAVS_V20 | ||
|
||
config BOARD_INTEL_ADSP_CAVS20_JSL | ||
bool "Intel ADSP CAVS 2.0 for Jasper Lake" | ||
depends on SOC_SERIES_INTEL_CAVS_V20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Copyright (c) 2020 Intel Corporation | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include <intel/intel_cavs20_jsl.dtsi> | ||
|
||
/ { | ||
model = "intel_adsp_cavs20_jsl"; | ||
compatible = "intel"; | ||
|
||
chosen { | ||
zephyr,sram = &sram0; | ||
}; | ||
}; |
11 changes: 11 additions & 0 deletions
11
boards/xtensa/intel_adsp_cavs20/intel_adsp_cavs20_jsl.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
identifier: intel_adsp_cavs20_jsl | ||
name: cAVS 2.0 Audio DSP for Intel Jasper Lake (converged Audio Voice and Speech) | ||
type: mcu | ||
arch: xtensa | ||
toolchain: | ||
- xcc | ||
- zephyr | ||
testing: | ||
ignore_tags: | ||
- net | ||
- bluetooth |
21 changes: 21 additions & 0 deletions
21
boards/xtensa/intel_adsp_cavs20/intel_adsp_cavs20_jsl_defconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
CONFIG_MAIN_STACK_SIZE=2048 | ||
|
||
CONFIG_SOC_SERIES_INTEL_CAVS_V20=y | ||
CONFIG_BOARD_INTEL_ADSP_CAVS20_JSL=y | ||
|
||
CONFIG_GEN_ISR_TABLES=y | ||
CONFIG_GEN_IRQ_VECTOR_TABLE=n | ||
|
||
CONFIG_XTENSA_RESET_VECTOR=y | ||
|
||
CONFIG_XTENSA_USE_CORE_CRT1=y | ||
|
||
CONFIG_MULTI_LEVEL_INTERRUPTS=y | ||
CONFIG_2ND_LEVEL_INTERRUPTS=y | ||
CONFIG_CAVS_ICTL=y | ||
|
||
CONFIG_BOOTLOADER_SRAM_SIZE=192 | ||
CONFIG_BUILD_OUTPUT_BIN=n | ||
CONFIG_CLEANUP_INTERMEDIATE_FILES=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
/* | ||
* Copyright (c) 2019 Intel Corporation | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include <xtensa/intel/intel_cavs.dtsi> | ||
#include <mem.h> | ||
|
||
/ { | ||
cpus { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
cpu0: cpu@0 { | ||
device_type = "cpu"; | ||
compatible = "cdns,tensilica-xtensa-lx4"; | ||
reg = <0>; | ||
}; | ||
|
||
cpu1: cpu@1 { | ||
device_type = "cpu"; | ||
compatible = "cdns,tensilica-xtensa-lx4"; | ||
reg = <1>; | ||
}; | ||
|
||
}; | ||
|
||
sram0: memory@be000000 { | ||
device_type = "memory"; | ||
compatible = "mmio-sram"; | ||
reg = <0xbe000000 DT_SIZE_K(1024)>; | ||
}; | ||
|
||
sram1: memory@be800000 { | ||
device_type = "memory"; | ||
compatible = "mmio-sram"; | ||
reg = <0xbe800000 DT_SIZE_K(64)>; | ||
}; | ||
|
||
soc { | ||
shim: shim@71f00 { | ||
compatible = "intel,cavs-shim"; | ||
reg = <0x71f00 0x100>; | ||
}; | ||
|
||
win: win@71a00 { | ||
compatible = "intel,cavs-win"; | ||
reg = <0x71a00 0x20>; | ||
}; | ||
|
||
l2lm: l2lm@71d00 { | ||
compatible = "intel,cavs-l2lm"; | ||
reg = <0x71d00 0x20>; | ||
}; | ||
|
||
core_intc: core_intc@0 { | ||
compatible = "cdns,xtensa-core-intc"; | ||
reg = <0x00 0x400>; | ||
interrupt-controller; | ||
#interrupt-cells = <3>; | ||
}; | ||
|
||
cavs_host_ipc: cavs_host_ipc@71e00 { | ||
compatible = "intel,cavs-host-ipc"; | ||
reg = <0x71e00 0x30>; | ||
interrupts = <7 0 0>; | ||
interrupt-parent = <&cavs0>; | ||
}; | ||
|
||
cavs0: cavs@78800 { | ||
compatible = "intel,cavs-intc"; | ||
reg = <0x78800 0x10>; | ||
interrupt-controller; | ||
#interrupt-cells = <3>; | ||
interrupts = <6 0 0>; | ||
interrupt-parent = <&core_intc>; | ||
label = "CAVS_0"; | ||
}; | ||
|
||
cavs1: cavs@78810 { | ||
compatible = "intel,cavs-intc"; | ||
reg = <0x78810 0x10>; | ||
interrupt-controller; | ||
#interrupt-cells = <3>; | ||
interrupts = <0xA 0 0>; | ||
interrupt-parent = <&core_intc>; | ||
label = "CAVS_1"; | ||
}; | ||
|
||
cavs2: cavs@78820 { | ||
compatible = "intel,cavs-intc"; | ||
reg = <0x78820 0x10>; | ||
interrupt-controller; | ||
#interrupt-cells = <3>; | ||
interrupts = <0XD 0 0>; | ||
interrupt-parent = <&core_intc>; | ||
label = "CAVS_2"; | ||
}; | ||
|
||
cavs3: cavs@78830 { | ||
compatible = "intel,cavs-intc"; | ||
reg = <0x78830 0x10>; | ||
interrupt-controller; | ||
#interrupt-cells = <3>; | ||
interrupts = <0x10 0 0>; | ||
interrupt-parent = <&core_intc>; | ||
label = "CAVS_3"; | ||
}; | ||
|
||
idc: idc@1200 { | ||
compatible = "intel,cavs-idc"; | ||
label = "CAVS_IDC"; | ||
reg = <0x1200 0x80>; | ||
interrupts = <8 0 0>; | ||
interrupt-parent = <&cavs0>; | ||
}; | ||
|
||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CONFIG_ICELAKE=y | ||
CONFIG_INTEL_DMIC=y | ||
CONFIG_INTEL_SSP=y | ||
CONFIG_LP_MEMORY_BANKS=1 | ||
CONFIG_HP_MEMORY_BANKS=16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters