dts: bindings: xen: add xen,xen.yaml file

Add yaml file for 'xen,xen', because without it an appropriate
'CONFIG_DT_HAS_XEN_XEN_ENABLED' isn't generated.

It will be used for checking Xen support on current setup, instead of
checking if it is BOARD/SOC "xenvm" (which is not correct for Domain-0
configurations).

Remove xen,xen-4.15.yaml at all, because it isn't necessary to have
yaml for some specific Xen version.

Signed-off-by: Mykola Kvach <mykola_kvach@epam.com>
Signed-off-by: Dmytro Firsov <dmytro_firsov@epam.com>
This commit is contained in:
Mykola Kvach 2023-03-15 13:33:30 +02:00 committed by Fabio Baltieri
commit 66dfe7b99a
2 changed files with 4 additions and 4 deletions

View file

@ -18,8 +18,8 @@
#include <zephyr/dt-bindings/interrupt-controller/arm-gic.h> #include <zephyr/dt-bindings/interrupt-controller/arm-gic.h>
/ { / {
model = "XENVM-4.15"; model = "XENVM";
compatible = "xen,xenvm-4.15", "xen,xenvm"; compatible = "xen,xenvm";
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
#address-cells = <0x02>; #address-cells = <0x02>;
#size-cells = <0x02>; #size-cells = <0x02>;
@ -68,7 +68,7 @@
}; };
hypervisor: hypervisor@38000000 { hypervisor: hypervisor@38000000 {
compatible = "xen,xen-4.15", "xen,xen"; compatible = "xen,xen";
reg = <0x00 0x38000000 0x00 0x1000000>; reg = <0x00 0x38000000 0x00 0x1000000>;
interrupts = <GIC_PPI 0x0f IRQ_TYPE_EDGE IRQ_DEFAULT_PRIORITY>; interrupts = <GIC_PPI 0x0f IRQ_TYPE_EDGE IRQ_DEFAULT_PRIORITY>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;

View file

@ -1,6 +1,6 @@
description: Xen Platform Control Registers description: Xen Platform Control Registers
compatible: "xen,xen-4.15" compatible: "xen,xen"
include: base.yaml include: base.yaml