summaryrefslogtreecommitdiff
path: root/arch/sandbox/dts/test.dts
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2018-10-10 21:27:08 +0200
committerTom Rini <trini@konsulko.com>2018-10-20 15:23:38 -0400
commitb59349a0c0dc37aa4cc6d8ae0c0647c22a9b3918 (patch)
tree1913f840f73831fe79555392ebc2daa290f32c6e /arch/sandbox/dts/test.dts
parent92ed9865212bfad48e40f789e36845f69b4580f8 (diff)
test: Add PCI device entry without compat string and with DT node
Add PCI entry without compatible string and with a DT node only with reg = <...> property into the DT. This is needed for the tests to verify whether such a setup creates an U-Boot PCI device with the DT node associated with it in udevice.node. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/sandbox/dts/test.dts')
-rw-r--r--arch/sandbox/dts/test.dts6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 420b72f4db..57e0dd7663 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -403,7 +403,11 @@
ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000
0x01000000 0 0x40000000 0x40000000 0 0x2000>;
sandbox,dev-info = <0x08 0x00 0x1234 0x5678
- 0x0c 0x00 0x1234 0x5678>;
+ 0x0c 0x00 0x1234 0x5678
+ 0x10 0x00 0x1234 0x5678>;
+ pci@10,0 {
+ reg = <0x8000 0 0 0 0>;
+ };
};
pci2: pci-controller2 {