Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330403
b: refs/heads/master
c: bbd6eb2
h: refs/heads/master
i:
  330401: 26221b0
  330399: cab2a2a
v: v3
  • Loading branch information
Stefano Stabellini committed Sep 24, 2012
1 parent 2ac6ad0 commit 0438713
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 77bfb479c600b9e5873ff894be3ff6df2bd7cb47
refs/heads/master: bbd6eb29214e1a278e8575f57d64b88077bebf6d
68 changes: 68 additions & 0 deletions trunk/arch/arm/boot/dts/xenvm-4.2.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
/*
* Xen Virtual Machine for unprivileged guests
*
* Based on ARM Ltd. Versatile Express CoreTile Express (single CPU)
* Cortex-A15 MPCore (V2P-CA15)
*
*/

/dts-v1/;

/ {
model = "XENVM-4.2";
compatible = "xen,xenvm-4.2", "xen,xenvm";
interrupt-parent = <&gic>;
#address-cells = <2>;
#size-cells = <2>;

chosen {
/* this field is going to be adjusted by the hypervisor */
bootargs = "console=hvc0 root=/dev/xvda";
};

cpus {
#address-cells = <1>;
#size-cells = <0>;

cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a15";
reg = <0>;
};
};

memory@80000000 {
device_type = "memory";
/* this field is going to be adjusted by the hypervisor */
reg = <0 0x80000000 0 0x08000000>;
};

gic: interrupt-controller@2c001000 {
compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic";
#interrupt-cells = <3>;
#address-cells = <0>;
interrupt-controller;
reg = <0 0x2c001000 0 0x1000>,
<0 0x2c002000 0 0x100>;
};

timer {
compatible = "arm,armv7-timer";
interrupts = <1 13 0xf08>,
<1 14 0xf08>,
<1 11 0xf08>,
<1 10 0xf08>;
};

hypervisor {
compatible = "xen,xen-4.2", "xen,xen";
/* this field is going to be adjusted by the hypervisor */
reg = <0 0xb0000000 0 0x20000>;
/* this field is going to be adjusted by the hypervisor */
interrupts = <1 15 0xf08>;
};

motherboard {
arm,v2m-memory-map = "rs1";
};
};
3 changes: 2 additions & 1 deletion trunk/arch/arm/mach-vexpress/Makefile.boot
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ initrd_phys-y := 0x60800000
dtb-$(CONFIG_ARCH_VEXPRESS_DT) += vexpress-v2p-ca5s.dtb \
vexpress-v2p-ca9.dtb \
vexpress-v2p-ca15-tc1.dtb \
vexpress-v2p-ca15_a7.dtb
vexpress-v2p-ca15_a7.dtb \
xenvm-4.2.dtb
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-vexpress/v2m.c
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ static void __init v2m_dt_init(void)

const static char *v2m_dt_match[] __initconst = {
"arm,vexpress",
"xen,xenvm",
NULL,
};

Expand Down

0 comments on commit 0438713

Please sign in to comment.