From 6f84c91c74245a53ec1ab5a8ec325ee9d2bd1487 Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Fri, 24 Mar 2017 13:56:14 +0000 Subject: dev-arm: Add a VirtIO MMIO device to VExpress_GEM5_V1 Add an ARM-specific VirtIO MMIO device to the VExpress_GEM5_V1 platform. Change-Id: Id1e75398e039aad9d637f46f653cda9084d3d2fe Signed-off-by: Andreas Sandberg Reviewed-by: Sudhanshu Jha Reviewed-by: Nikos Nikoleris Reviewed-by: Rekai Gonzalez Alberquilla Reviewed-on: https://gem5-review.googlesource.com/2327 --- system/arm/dt/platforms/vexpress_gem5_v1.dtsi | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'system') diff --git a/system/arm/dt/platforms/vexpress_gem5_v1.dtsi b/system/arm/dt/platforms/vexpress_gem5_v1.dtsi index d7d77fb6f..442ce796e 100644 --- a/system/arm/dt/platforms/vexpress_gem5_v1.dtsi +++ b/system/arm/dt/platforms/vexpress_gem5_v1.dtsi @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2016 ARM Limited + * Copyright (c) 2015-2017 ARM Limited * All rights reserved * * Redistribution and use in source and binary forms, with or without @@ -140,6 +140,18 @@ #gpio-cells = <2>; }; + vio@1c130000 { + compatible = "virtio,mmio"; + reg = <0 0x1c130000 0x0 0x1000>; + interrupts = <0 42 4>; + }; + + vio@1c140000 { + compatible = "virtio,mmio"; + reg = <0 0x1c140000 0x0 0x1000>; + interrupts = <0 43 4>; + }; + dcc { compatible = "arm,vexpress,config-bus"; arm,vexpress,config-bridge = <&v2m_sysreg>; -- cgit v1.2.3