dts/riscv/efinix: add the efinix,vexriscv-sapphire
compatible string
This commit adds the `efinix,vexriscv-sapphire` compatible string. This helps identify the core type from the final devicetree alone. The VexRiscv core configuration is specific to the Efinix Sapphire SoC. Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
This commit is contained in:
parent
0458ac064c
commit
e08a77c8fe
9
dts/bindings/cpu/efinix,vexriscv-sapphire.yaml
Normal file
9
dts/bindings/cpu/efinix,vexriscv-sapphire.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Copyright (c) 2024 Antmicro <www.antmicro.com>
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: VexRiscv core with the configuration as used in the Efinix Sapphire SoC
|
||||
|
||||
compatible: "efinix,vexriscv-sapphire"
|
||||
|
||||
include: riscv,cpus.yaml
|
|
@ -27,7 +27,7 @@
|
|||
#size-cells = <0>;
|
||||
cpu@0 {
|
||||
clock-frequency = <100000000>;
|
||||
compatible = "riscv";
|
||||
compatible = "efinix,vexriscv-sapphire", "riscv";
|
||||
device_type = "cpu";
|
||||
reg = <0>;
|
||||
riscv,isa = "rv32ima_zicsr_zifencei";
|
||||
|
|
Loading…
Reference in a new issue