dts: zephyr,native-posix-cpu changed to zephyr,native-sim-cpu

The old binding remains until 4.4 but is deprecated.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2025-03-03 10:54:29 +01:00 committed by Benjamin Cabé
commit a8b44fd1d1
4 changed files with 11 additions and 3 deletions

View file

@ -54,7 +54,7 @@
#size-cells = <0>; #size-cells = <0>;
cpu0: cpu@0 { cpu0: cpu@0 {
compatible = "zephyr,native-posix-cpu"; compatible = "zephyr,native-sim-cpu";
reg = <0>; reg = <0>;
}; };
}; };

View file

@ -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

View file

@ -52,7 +52,7 @@
#size-cells = <0>; #size-cells = <0>;
cpu0: cpu@0 { cpu0: cpu@0 {
compatible = "zephyr,native-posix-cpu"; compatible = "zephyr,native-sim-cpu";
reg = <0>; reg = <0>;
}; };
}; };

View file

@ -6,7 +6,7 @@
/ { / {
cpus { cpus {
cpu1: cpu@1 { cpu1: cpu@1 {
compatible = "zephyr,native-posix-cpu"; compatible = "zephyr,native-sim-cpu";
reg = <1>; reg = <1>;
cpu-power-states = <&state2>; cpu-power-states = <&state2>;
}; };