Skip to content

Commit

Permalink
dts/riscv/microchip: add missing cpu nodes compats in mpfs.dtsi
Browse files Browse the repository at this point in the history
The cores used in the `mpfs.dtsi` file are:
* 1x SiFive E51 (RV32)
* 4x SiFive U54 (RV64)

Signed-off-by: Filip Kokosinski <[email protected]>
  • Loading branch information
fkokosinski authored and carlescufi committed Jan 31, 2024
1 parent a3a4bf9 commit b5859ec
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions dts/bindings/cpu/sifive,u54.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2024 Antmicro <www.antmicro.com>
#
# SPDX-License-Identifier: Apache-2.0

description: SiFive U54 Standard Core CPU

compatible: "sifive,u54"

include: sifive-common.yaml
10 changes: 5 additions & 5 deletions dts/riscv/microchip/mpfs.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#size-cells = <0>;
cpu@0 {
clock-frequency = <0>;
compatible = "riscv";
compatible = "sifive,e51", "riscv";
device_type = "cpu";
reg = < 0x0 >;
riscv,isa = "rv64imac_zicsr_zifencei";
Expand All @@ -30,7 +30,7 @@

cpu@1 {
clock-frequency = <0>;
compatible = "riscv";
compatible = "sifive,u54", "riscv";
device_type = "cpu";
reg = < 0x1 >;
riscv,isa = "rv64gc";
Expand All @@ -44,7 +44,7 @@

cpu@2 {
clock-frequency = <0>;
compatible = "riscv";
compatible = "sifive,u54", "riscv";
device_type = "cpu";
reg = < 0x2 >;
riscv,isa = "rv64gc";
Expand All @@ -58,7 +58,7 @@

cpu@3 {
clock-frequency = <0>;
compatible = "riscv";
compatible = "sifive,u54", "riscv";
device_type = "cpu";
reg = < 0x3 >;
riscv,isa = "rv64gc";
Expand All @@ -72,7 +72,7 @@

cpu@4 {
clock-frequency = <0>;
compatible = "riscv";
compatible = "sifive,u54", "riscv";
device_type = "cpu";
reg = < 0x4 >;
riscv,isa = "rv64gc";
Expand Down

0 comments on commit b5859ec

Please sign in to comment.