diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2021-10-23 17:58:02 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-31 15:46:44 +0300 |
commit | fb5746243707d6b84dea02490a86868c3d7f534d (patch) | |
tree | 42152600fb6ba702c4211d7065c4d5801087eb9d /arch/sandbox | |
parent | 40dbf03d7d2dd2b5516f797069e3ea830db6fecc (diff) | |
download | u-boot-fb5746243707d6b84dea02490a86868c3d7f534d.tar.xz |
test: Add tests for IOMMU uclass
Add a set of tests for the IOMMU uclass.
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/dts/test.dts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index e27d106466..8cd688e8d2 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -764,6 +764,11 @@ vss-microvolts = <0>; }; + iommu: iommu@0 { + compatible = "sandbox,iommu"; + #iommu-cells = <0>; + }; + irq: irq { compatible = "sandbox,irq"; interrupt-controller; @@ -1226,6 +1231,7 @@ usb_1: usb@1 { compatible = "sandbox,usb"; + iommus = <&iommu>; hub { compatible = "usb-hub"; usb,device-class = <9>; |