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:
parent
d881e794ba
commit
a8b44fd1d1
4 changed files with 11 additions and 3 deletions
|
@ -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>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
8
dts/bindings/cpu/zephyr,native-sim-cpu.yaml
Normal file
8
dts/bindings/cpu/zephyr,native-sim-cpu.yaml
Normal 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
|
|
@ -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>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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>;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue