From 02c60663550fdd5f5387b7fa311e587971fb1b91 Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Tue, 18 Sep 2012 09:57:47 +0000 Subject: [PATCH] --- yaml --- r: 330391 b: refs/heads/master c: c43cdfbc4cebdf1a7992432615bf5155b51b8cc0 h: refs/heads/master i: 330389: 02b9cbc93cb60570c43514dbc520cd98864b15ec 330387: 7867ec4b253489bfafe6094284bc525d7259d7f2 330383: 1847ada97b48dd8ff6d32fc1c038c121a907cc5f v: v3 --- [refs] | 2 +- .../devicetree/bindings/arm/xen.txt | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 trunk/Documentation/devicetree/bindings/arm/xen.txt diff --git a/[refs] b/[refs] index e61d9c72d09f..b79820ee8213 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 226f52e931ae6235d221629e6a8497fb111cfcd4 +refs/heads/master: c43cdfbc4cebdf1a7992432615bf5155b51b8cc0 diff --git a/trunk/Documentation/devicetree/bindings/arm/xen.txt b/trunk/Documentation/devicetree/bindings/arm/xen.txt new file mode 100644 index 000000000000..0f7b9c2109f8 --- /dev/null +++ b/trunk/Documentation/devicetree/bindings/arm/xen.txt @@ -0,0 +1,25 @@ +* Xen hypervisor device tree bindings + +Xen ARM virtual platforms shall have a top-level "hypervisor" node with +the following properties: + +- compatible: + compatible = "xen,xen-", "xen,xen"; + where is the version of the Xen ABI of the platform. + +- reg: specifies the base physical address and size of a region in + memory where the grant table should be mapped to, using an + HYPERVISOR_memory_op hypercall. The memory region is large enough to map + the whole grant table (it is larger or equal to gnttab_max_grant_frames()). + +- interrupts: the interrupt used by Xen to inject event notifications. + A GIC node is also required. + + +Example (assuming #address-cells = <2> and #size-cells = <2>): + +hypervisor { + compatible = "xen,xen-4.3", "xen,xen"; + reg = <0 0xb0000000 0 0x20000>; + interrupts = <1 15 0xf08>; +};