intel_adsp: ace20_lnl: Change LNL core count to 5
The ACE 2.0 LNL platform has 5 HIFI4 cores. Change number
of cores to enable 5th core on the platform.
Signed-off-by: Jaroslaw Stelter <Jaroslaw.Stelter@intel.com>
diff --git a/dts/xtensa/intel/intel_adsp_ace20_lnl.dtsi b/dts/xtensa/intel/intel_adsp_ace20_lnl.dtsi
index 964c5be..b5f57ac 100644
--- a/dts/xtensa/intel/intel_adsp_ace20_lnl.dtsi
+++ b/dts/xtensa/intel/intel_adsp_ace20_lnl.dtsi
@@ -42,6 +42,13 @@
cpu-power-states = <&d0i3 &d3>;
};
+ cpu4: cpu@4 {
+ device_type = "cpu";
+ compatible = "cdns,tensilica-xtensa-lx7";
+ reg = <4>;
+ cpu-power-states = <&d0i3 &d3>;
+ };
+
};
power-states {
diff --git a/kernel/Kconfig b/kernel/Kconfig
index 797a98b..b7c6864 100644
--- a/kernel/Kconfig
+++ b/kernel/Kconfig
@@ -874,7 +874,7 @@
config MP_NUM_CPUS
int "Number of CPUs/cores"
default MP_MAX_NUM_CPUS
- range 1 4
+ range 1 5
help
Number of multiprocessing-capable cores available to the
multicpu API and SMP features.
@@ -882,7 +882,7 @@
config MP_MAX_NUM_CPUS
int "Maximum number of CPUs/cores"
default 1
- range 1 4
+ range 1 5
help
Maximum number of multiprocessing-capable cores available to the
multicpu API and SMP features.
diff --git a/soc/xtensa/intel_adsp/ace/Kconfig.defconfig.ace20_lnl b/soc/xtensa/intel_adsp/ace/Kconfig.defconfig.ace20_lnl
index 35f3581..2dc9365 100644
--- a/soc/xtensa/intel_adsp/ace/Kconfig.defconfig.ace20_lnl
+++ b/soc/xtensa/intel_adsp/ace/Kconfig.defconfig.ace20_lnl
@@ -9,6 +9,6 @@
default "intel_ace20_lnl"
config MP_MAX_NUM_CPUS
- default 4
+ default 5
endif