Skip to content

Commit 5bb98db

Browse files
Adrian-Sciepuracfriedt
authored andcommitted
boards: x86_64: add missing cpu nodes
Some x86_64 platforms have only one CPU node defined in their respective devicetree files, while setting `CONFIG_MP_MAX_NUM_CPUS` to two. This commit adds missing CPU nodes in said devicetree files. Signed-off-by: Adrian Ściepura <[email protected]>
1 parent 14d24b1 commit 5bb98db

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

boards/acrn/acrn/acrn.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717
model = "ACRN";
1818
compatible = "acrn";
1919

20+
cpus {
21+
cpu@1 {
22+
device_type = "cpu";
23+
compatible = "intel,x86_64";
24+
d-cache-line-size = <64>;
25+
reg = <1>;
26+
};
27+
};
28+
2029
aliases {
2130
uart-0 = &uart0;
2231
uart-1 = &uart1;

dts/x86/intel/bartlett_lake_s.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@
2020
d-cache-line-size = <64>;
2121
reg = <0>;
2222
};
23+
24+
cpu@1 {
25+
device_type = "cpu";
26+
compatible = "intel,bartlett-lake";
27+
d-cache-line-size = <64>;
28+
reg = <1>;
29+
};
2330
};
2431

2532
dram0: memory@0 {

dts/x86/intel/elkhart_lake.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@
2020
d-cache-line-size = <64>;
2121
reg = <0>;
2222
};
23+
24+
cpu@1 {
25+
device_type = "cpu";
26+
compatible = "intel,elkhart-lake", "intel,x86_64";
27+
d-cache-line-size = <64>;
28+
reg = <1>;
29+
};
2330
};
2431

2532
chosen {

0 commit comments

Comments
 (0)