summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@amd.com>2025-07-22 13:03:44 +0200
committerLeo Yu-Chi Liang <ycliang@andestech.com>2025-08-14 14:32:00 +0800
commit441ac0814216a0b29df675aec03c6de5b45ffbd6 (patch)
tree1e0b09aef3eccd7865abd929c64fd8a4a216d442
parent5f5bba72c2f6f444cabff459ad3927fdc86dbdb3 (diff)
xilinx: mbv: Add missing mmu-type cpu property
OpenSBI expects mmu-type to be present in DT that's why add it. Without it OpenSBI disable CPU node which ends up in not working boot. Signed-off-by: Michal Simek <michal.simek@amd.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
-rw-r--r--arch/riscv/dts/xilinx-mbv32.dts3
-rw-r--r--arch/riscv/dts/xilinx-mbv64.dts3
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/riscv/dts/xilinx-mbv32.dts b/arch/riscv/dts/xilinx-mbv32.dts
index 4050ce2f051..96e42806244 100644
--- a/arch/riscv/dts/xilinx-mbv32.dts
+++ b/arch/riscv/dts/xilinx-mbv32.dts
@@ -2,7 +2,7 @@
/*
* dts file for AMD MicroBlaze V
*
- * (C) Copyright 2023, Advanced Micro Devices, Inc.
+ * (C) Copyright 2023 - 2025, Advanced Micro Devices, Inc.
*
* Michal Simek <michal.simek@amd.com>
*/
@@ -26,6 +26,7 @@
device_type = "cpu";
reg = <0>;
riscv,isa = "rv32imafdc";
+ mmu-type = "riscv,sv39";
i-cache-size = <32768>;
d-cache-size = <32768>;
clock-frequency = <100000000>;
diff --git a/arch/riscv/dts/xilinx-mbv64.dts b/arch/riscv/dts/xilinx-mbv64.dts
index 4d65d338ecb..5a989c1697e 100644
--- a/arch/riscv/dts/xilinx-mbv64.dts
+++ b/arch/riscv/dts/xilinx-mbv64.dts
@@ -2,7 +2,7 @@
/*
* dts file for AMD MicroBlaze V
*
- * (C) Copyright 2023 - 2024, Advanced Micro Devices, Inc.
+ * (C) Copyright 2023 - 2025, Advanced Micro Devices, Inc.
*
* Michal Simek <michal.simek@amd.com>
*/
@@ -26,6 +26,7 @@
device_type = "cpu";
reg = <0>;
riscv,isa = "rv64imafdc";
+ mmu-type = "riscv,sv39";
i-cache-size = <32768>;
d-cache-size = <32768>;
clock-frequency = <100000000>;