diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2023-01-21 22:27:57 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-27 22:47:58 +0300 |
commit | 08386da0c65c5669a447f763ab4cd91d9efc7cd1 (patch) | |
tree | 222d72a09c35031b7cee499ffda32240d5cdc506 /arch/sandbox/dts | |
parent | 1fc2329121e403a4d7dbffa4c4fda5a756043e4a (diff) | |
download | u-boot-08386da0c65c5669a447f763ab4cd91d9efc7cd1.tar.xz |
test: Add test for mapping IOMMUs for PCI devices
Test that we correctly probe an IOMMU that is mapped by an
"iommu-map" device tree property of a PCIe controller node.
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/dts')
-rw-r--r-- | arch/sandbox/dts/test.dts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 9d96e479ca..8c05927670 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -1036,6 +1036,8 @@ #size-cells = <2>; ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000 0x01000000 0 0x20000000 0x20000000 0 0x2000>; + iommu-map = <0x0010 &iommu 0 1>; + iommu-map-mask = <0xfffffff8>; pci@0,0 { compatible = "pci-generic"; reg = <0x0000 0 0 0 0>; |