Skip to content

Commit 2a66f94

Browse files
dcpleungnashif
authored andcommitted
boards: up_squared: override CPU devicetree node to have 2 CPUs
The device tree file for up_squared includes the base dts file for Apollo Lake which only defines 1 CPU. UP Squared have different SKUs with different CPUs, and overall has a minimal of 2 CPUs. So amend the up_squared device tree overlay to have 2 CPU nodes. Signed-off-by: Daniel Leung <[email protected]>
1 parent 3e398cb commit 2a66f94

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

boards/x86/up_squared/up_squared.dts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,25 @@
2929
zephyr,uart-pipe = &uart1;
3030
zephyr,bt-mon-uart = &uart1;
3131
};
32+
33+
cpus {
34+
#address-cells = <1>;
35+
#size-cells = <0>;
36+
37+
cpu@0 {
38+
device_type = "cpu";
39+
compatible = "intel,apollo_lake";
40+
d-cache-line-size = <64>;
41+
reg = <0>;
42+
};
43+
44+
cpu@1 {
45+
device_type = "cpu";
46+
compatible = "intel,apollo_lake";
47+
d-cache-line-size = <64>;
48+
reg = <1>;
49+
};
50+
};
3251
};
3352

3453
&hpet {

0 commit comments

Comments
 (0)