blob: 29e207518138515008d2170f5c87eefa6c72d027 [file] [log] [blame]
David Brazdil7a462ec2019-08-15 12:27:47 +01001/*
2 * Copyright 2019 The Hafnium Authors.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * https://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17/dts-v1/;
David Brazdil0dbb41f2019-09-09 18:03:35 +010018/plugin/;
David Brazdil7a462ec2019-08-15 12:27:47 +010019
David Brazdil0dbb41f2019-09-09 18:03:35 +010020&{/} {
David Brazdil7a462ec2019-08-15 12:27:47 +010021 hypervisor {
David Brazdil74e9c3b2019-08-28 11:09:08 +010022 compatible = "hafnium,hafnium";
David Brazdil7a462ec2019-08-15 12:27:47 +010023 vm1 {
Andrew Scull72b43c02019-09-18 13:53:45 +010024 debug_name = "linux_test";
25 kernel_filename = "vmlinuz";
David Brazdile6f83222019-09-23 14:47:37 +010026 ramdisk_filename = "initrd.img";
David Brazdil7a462ec2019-08-15 12:27:47 +010027 };
28
29 vm2 {
30 debug_name = "socket0";
31 vcpu_count = <1>;
32 mem_size = <0x100000>;
33 kernel_filename = "socket0";
34 };
35 };
36};