Create device VIRT with _HID LINA0005 for the virtio_mmio device. This is a probably bus device which for the models contains the block device holding the rootfs.
This binding will need revisted when simple-bus/amba-bus is implented.
Signed-off-by: Graeme Gregory graeme.gregory@linaro.org --- arch/arm64/boot/asl/foundation-v8.acpi/dsdt.asl | 13 +++++++++++++ 1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/asl/foundation-v8.acpi/dsdt.asl b/arch/arm64/boot/asl/foundation-v8.acpi/dsdt.asl index 82136ea..d1a9716 100644 --- a/arch/arm64/boot/asl/foundation-v8.acpi/dsdt.asl +++ b/arch/arm64/boot/asl/foundation-v8.acpi/dsdt.asl @@ -230,5 +230,18 @@ DefinitionBlock ( Return (RBUF) } } + + Device (VIRT) { + Name (_HID, "LINA0005") + Name (_UID, 0) + + Method (_CRS, 0x0, Serialized) { + Name (RBUF, ResourceTemplate() { + Memory32Fixed (ReadWrite, 0x1c130000, 0x1000) + Interrupt (ResourceConsumer, Edge, ActiveBoth, Exclusive, , , ) {0x4A} + }) + Return (RBUF) + } + } } }