Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boards/rpi_5: add rpi_5_scmi.overlay #37

Open
wants to merge 1 commit into
base: rpi5_dom0_dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions boards/rpi_5_scmi.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* Copyright (C) 2024 EPAM Systems.
*
* SPDX-License-Identifier: Apache-2.0
*/

/delete-node/ &sram0;

#include <mem.h>

/ {
#address-cells = <2>;
#size-cells = <1>;

sram0: memory@30000000 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering: should you describe the SCM/SCP here as well? I.e. provide shared memory for SCMI, add scmi node, etc

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our solution for Zephyr was not accepted. So current idea is to make Dom0 work without scmi - it should work the same way as before, without SCMI. So this patch just fixes the boot. The overlay can be extended later for SCMI.

Upstream PR for Zephyr SCMI is here zephyrproject-rtos/zephyr#78293

compatible = "mmio-sram";
reg = <0x00 0x30000000 DT_SIZE_M(128)>;
};
};