Stefano Stabellini | bbd6eb2 | 2012-09-24 16:40:52 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * Xen Virtual Machine for unprivileged guests |
| 3 | * |
| 4 | * Based on ARM Ltd. Versatile Express CoreTile Express (single CPU) |
| 5 | * Cortex-A15 MPCore (V2P-CA15) |
| 6 | * |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | / { |
| 12 | model = "XENVM-4.2"; |
| 13 | compatible = "xen,xenvm-4.2", "xen,xenvm"; |
| 14 | interrupt-parent = <&gic>; |
| 15 | #address-cells = <2>; |
| 16 | #size-cells = <2>; |
| 17 | |
| 18 | chosen { |
| 19 | /* this field is going to be adjusted by the hypervisor */ |
| 20 | bootargs = "console=hvc0 root=/dev/xvda"; |
| 21 | }; |
| 22 | |
| 23 | cpus { |
| 24 | #address-cells = <1>; |
| 25 | #size-cells = <0>; |
| 26 | |
| 27 | cpu@0 { |
| 28 | device_type = "cpu"; |
| 29 | compatible = "arm,cortex-a15"; |
| 30 | reg = <0>; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | memory@80000000 { |
| 35 | device_type = "memory"; |
| 36 | /* this field is going to be adjusted by the hypervisor */ |
| 37 | reg = <0 0x80000000 0 0x08000000>; |
| 38 | }; |
| 39 | |
| 40 | gic: interrupt-controller@2c001000 { |
| 41 | compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; |
| 42 | #interrupt-cells = <3>; |
| 43 | #address-cells = <0>; |
| 44 | interrupt-controller; |
| 45 | reg = <0 0x2c001000 0 0x1000>, |
| 46 | <0 0x2c002000 0 0x100>; |
| 47 | }; |
| 48 | |
| 49 | timer { |
| 50 | compatible = "arm,armv7-timer"; |
| 51 | interrupts = <1 13 0xf08>, |
| 52 | <1 14 0xf08>, |
| 53 | <1 11 0xf08>, |
| 54 | <1 10 0xf08>; |
| 55 | }; |
| 56 | |
| 57 | hypervisor { |
| 58 | compatible = "xen,xen-4.2", "xen,xen"; |
| 59 | /* this field is going to be adjusted by the hypervisor */ |
| 60 | reg = <0 0xb0000000 0 0x20000>; |
| 61 | /* this field is going to be adjusted by the hypervisor */ |
| 62 | interrupts = <1 15 0xf08>; |
| 63 | }; |
| 64 | |
| 65 | motherboard { |
| 66 | arm,v2m-memory-map = "rs1"; |
| 67 | }; |
| 68 | }; |