diff --git a/boards/native/native_sim/native_sim.dts b/boards/native/native_sim/native_sim.dts index 0bccb217bef..d8f7cc49073 100644 --- a/boards/native/native_sim/native_sim.dts +++ b/boards/native/native_sim/native_sim.dts @@ -54,7 +54,7 @@ #size-cells = <0>; cpu0: cpu@0 { - compatible = "zephyr,native-posix-cpu"; + compatible = "zephyr,native-sim-cpu"; reg = <0>; }; }; diff --git a/dts/bindings/cpu/zephyr,native-sim-cpu.yaml b/dts/bindings/cpu/zephyr,native-sim-cpu.yaml new file mode 100644 index 00000000000..804bf61fb23 --- /dev/null +++ b/dts/bindings/cpu/zephyr,native-sim-cpu.yaml @@ -0,0 +1,8 @@ +# Copyright (c) 2021 Nordic Semiconductor ASA +# SPDX-License-Identifier: Apache-2.0 + +description: native_sim CPU + +compatible: "zephyr,native-sim-cpu" + +include: cpu.yaml diff --git a/tests/cmake/hwm/board_extend/oot_root/boards/native/native_sim_extend/native_sim_native_one.dts b/tests/cmake/hwm/board_extend/oot_root/boards/native/native_sim_extend/native_sim_native_one.dts index 04e5c661fc3..d12737469d2 100644 --- a/tests/cmake/hwm/board_extend/oot_root/boards/native/native_sim_extend/native_sim_native_one.dts +++ b/tests/cmake/hwm/board_extend/oot_root/boards/native/native_sim_extend/native_sim_native_one.dts @@ -52,7 +52,7 @@ #size-cells = <0>; cpu0: cpu@0 { - compatible = "zephyr,native-posix-cpu"; + compatible = "zephyr,native-sim-cpu"; reg = <0>; }; }; diff --git a/tests/subsys/pm/policy_api/app.overlay b/tests/subsys/pm/policy_api/app.overlay index 5f1324b5285..54b02e0b28e 100644 --- a/tests/subsys/pm/policy_api/app.overlay +++ b/tests/subsys/pm/policy_api/app.overlay @@ -6,7 +6,7 @@ / { cpus { cpu1: cpu@1 { - compatible = "zephyr,native-posix-cpu"; + compatible = "zephyr,native-sim-cpu"; reg = <1>; cpu-power-states = <&state2>; };