mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 15:29:16 +00:00
26409dd045
pci_dt_testdrv is bound to QEMU PCI Test Device. It reads overlay_pci_node fdt fragment and apply it to Test Device. Then it calls of_platform_default_populate() to populate the platform devices. Tested-by: Herve Codina <herve.codina@bootlin.com> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://lore.kernel.org/r/1692120000-46900-6-git-send-email-lizhi.hou@amd.com Signed-off-by: Rob Herring <robh@kernel.org>
23 lines
413 B
Plaintext
23 lines
413 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
/ {
|
|
fragment@0 {
|
|
target-path="";
|
|
__overlay__ {
|
|
#address-cells = <3>;
|
|
#size-cells = <2>;
|
|
pci-ep-bus@0 {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges = <0x0 0x0 0x0 0x0 0x1000>;
|
|
reg = <0 0 0 0 0>;
|
|
unittest-pci@100 {
|
|
compatible = "unittest-pci";
|
|
reg = <0x100 0x200>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|