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 | }; |
Stefano Stabellini | d37a6e1 | 2013-04-24 19:10:51 +0000 | [diff] [blame] | 32 | |
| 33 | cpu@1 { |
| 34 | device_type = "cpu"; |
| 35 | compatible = "arm,cortex-a15"; |
| 36 | reg = <1>; |
| 37 | }; |
| 38 | }; |
| 39 | |
| 40 | psci { |
| 41 | compatible = "arm,psci"; |
| 42 | method = "hvc"; |
| 43 | cpu_off = <1>; |
| 44 | cpu_on = <2>; |
Stefano Stabellini | bbd6eb2 | 2012-09-24 16:40:52 +0000 | [diff] [blame] | 45 | }; |
| 46 | |
| 47 | memory@80000000 { |
| 48 | device_type = "memory"; |
| 49 | /* this field is going to be adjusted by the hypervisor */ |
| 50 | reg = <0 0x80000000 0 0x08000000>; |
| 51 | }; |
| 52 | |
| 53 | gic: interrupt-controller@2c001000 { |
| 54 | compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; |
| 55 | #interrupt-cells = <3>; |
| 56 | #address-cells = <0>; |
| 57 | interrupt-controller; |
| 58 | reg = <0 0x2c001000 0 0x1000>, |
| 59 | <0 0x2c002000 0 0x100>; |
| 60 | }; |
| 61 | |
| 62 | timer { |
| 63 | compatible = "arm,armv7-timer"; |
| 64 | interrupts = <1 13 0xf08>, |
| 65 | <1 14 0xf08>, |
| 66 | <1 11 0xf08>, |
| 67 | <1 10 0xf08>; |
| 68 | }; |
| 69 | |
| 70 | hypervisor { |
| 71 | compatible = "xen,xen-4.2", "xen,xen"; |
| 72 | /* this field is going to be adjusted by the hypervisor */ |
| 73 | reg = <0 0xb0000000 0 0x20000>; |
| 74 | /* this field is going to be adjusted by the hypervisor */ |
| 75 | interrupts = <1 15 0xf08>; |
| 76 | }; |
| 77 | |
| 78 | motherboard { |
| 79 | arm,v2m-memory-map = "rs1"; |
| 80 | }; |
| 81 | }; |