forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RPI5 board support. Signed-off-by: Grygorii Strashko <[email protected]>
- Loading branch information
Grygorii Strashko
committed
Apr 18, 2024
1 parent
f5f1f44
commit a821b6e
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* Copyright (C) 2024 EPAM Systems. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/delete-node/ &sram0; | ||
|
||
#include <mem.h> | ||
|
||
/ { | ||
#address-cells = <2>; | ||
#size-cells = <1>; | ||
/* | ||
* This node may differs on different setups, please check | ||
* following line in Xen boot log to set it right: | ||
* (XEN) Grant table range: 0x00000002800000-0x00000002840000 | ||
* Also, add extended region 1: | ||
* (XEN) d0: extended region 1: 0x40000000->0x5fe00000 | ||
* | ||
* Xen passes actual values for setup in domain device tree, but Zephyr | ||
* is not capable to parse and handle it in runtime. | ||
*/ | ||
hypervisor: hypervisor@2800000 { | ||
compatible = "xen,xen"; | ||
reg = <0x00 0x2800000 0x40000>, <0x00 0x40000000 0x1fe00000>; | ||
interrupts = <GIC_PPI 0x0f IRQ_TYPE_EDGE IRQ_DEFAULT_PRIORITY>; | ||
interrupt-parent = <&gic>; | ||
status = "okay"; | ||
}; | ||
|
||
/* | ||
* This node may differs on different setups, because Xen picks | ||
* region for Domain-0 for every specific configuration. You can | ||
* start Xen for your platform and check following log: | ||
* (XEN) Allocating 1:1 mappings totalling 512MB for dom0: | ||
* (XEN) BANK[0] 0x00000060000000-0x00000080000000 (512MB) | ||
* (XEN) Loading zImage from 0000000000080000 to 0000000060000000-0000000060038004 | ||
* | ||
* Xen passes actual values for setup in domain device tree, but Zephyr | ||
* is not capable to parse and handle it in runtime. | ||
*/ | ||
sram0: memory@60000000 { | ||
compatible = "mmio-sram"; | ||
reg = <0x00 0x60000000 DT_SIZE_M(16)>; | ||
}; | ||
}; | ||
|
||
&uart0 { | ||
status = "disabled"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters