1/*
2 * Copyright (C) 2023 EPAM Systems.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/delete-node/ &ram;
8/delete-node/ &scif2;
9
10/ {
11	/*
12	 * This node may differs on different setups, please check
13	 * following line in Xen boot log to set it right:
14	 * (XEN) Grant table range: 0x00000088080000-0x000000880c0000
15	 *
16	 * Xen passes actual values for setup in domain device tree, but Zephyr
17	 * is not capable to parse and handle it in runtime.
18	 */
19	hypervisor: hypervisor@88080000 {
20		compatible = "xen,xen";
21		reg = <0x0 0x88080000 0x0 0x40000>;
22		interrupts = <GIC_PPI 0x0 IRQ_TYPE_EDGE IRQ_DEFAULT_PRIORITY>;
23		interrupt-parent = <&gic>;
24		status = "okay";
25	};
26
27	/*
28	 * This node may differs on different setups, because Xen picks
29	 * region for Domain-0 for every specific configuration. You can
30	 * start Xen for your platform and check following log:
31	 * (XEN) Allocating 1:1 mappings for dom0:
32	 * (XEN) BANK[0] 0x00000060000000-0x00000070000000 (256MB)
33	 *
34	 * Xen passes actual values for setup in domain device tree, but Zephyr
35	 * is not capable to parse and handle it in runtime.
36	 */
37	ram: memory@60000000 {
38		device_type = "mmio-sram";
39		reg = <0x00 0x60000000 0x00 DT_SIZE_M(256)>;
40	};
41};
42