diff options
author | Bin Meng | 2018-08-03 01:14:39 -0700 |
---|---|---|
committer | Simon Glass | 2018-08-08 12:49:31 +0100 |
commit | 2db7f2b722c6314b731d961d5796f97028601250 (patch) | |
tree | fee92b3ee1006bc667f2120abee7bfcd69188b27 /arch | |
parent | dd4808f9fab54b94df76447b7a7f383cd1b2f5d0 (diff) |
test: dm: pci: Test more than one device on the same bus
It's quite common to have more than one device on the same PCI bus.
This updates the test case to test such scenario.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/dts/test.dts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 137679abea9..237266d4baa 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -302,6 +302,13 @@ #size-cells = <2>; ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000 0x01000000 0 0x20000000 0x20000000 0 0x2000>; + pci@0,0 { + compatible = "pci-generic"; + reg = <0x0000 0 0 0 0>; + emul@0,0 { + compatible = "sandbox,swap-case"; + }; + }; pci@1f,0 { compatible = "pci-generic"; reg = <0xf800 0 0 0 0>; |