summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-aarch64/devicetree.cb
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-06-20 12:08:33 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-06-22 21:04:31 +0000
commite3929efd1e328280e36c4b14a4a1b7e26b259836 (patch)
treed0650ce00fc296968ee4a7591e6bdbbfeab9d6ea /src/mainboard/emulation/qemu-aarch64/devicetree.cb
parent58fe703e088be0af934cc0bf31fc60f87fcfde76 (diff)
mb/qemu/aarch64: Add PCI support
Run with "-device pci-bridge,chassis_nr=1" argument to add a bridge and see that it gets found and picked up by the resource allocator. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: Iad5d87731066a4009d2c4930a01bc15543d9447a Reviewed-on: https://review.coreboot.org/c/coreboot/+/75925 Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/emulation/qemu-aarch64/devicetree.cb')
-rw-r--r--src/mainboard/emulation/qemu-aarch64/devicetree.cb4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-aarch64/devicetree.cb b/src/mainboard/emulation/qemu-aarch64/devicetree.cb
index d887837a52..d6c76e1d46 100644
--- a/src/mainboard/emulation/qemu-aarch64/devicetree.cb
+++ b/src/mainboard/emulation/qemu-aarch64/devicetree.cb
@@ -2,4 +2,8 @@
chip mainboard/emulation/qemu-aarch64
device cpu_cluster 0 on end
+
+ device domain 0 on ops qemu_aarch64_pci_domain_ops
+ device pci 00.0 on end
+ end
end