dm: test: Add test case for dev_get_dma_ranges()
Introduce some new nodes in sandbox's test device-tree and dm tests in order to validate dev_get_dma_range(). Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Matthias Brugger <mbrugger@suse.com>
This commit is contained in:
committed by
Matthias Brugger
parent
51bdb50904
commit
283628c412
@@ -350,6 +350,23 @@
|
||||
test5-gpios = <&gpio_a 19>;
|
||||
};
|
||||
|
||||
mmio-bus@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "denx,u-boot-test-bus";
|
||||
dma-ranges = <0x10000000 0x00000000 0x00040000>;
|
||||
|
||||
subnode@0 {
|
||||
compatible = "denx,u-boot-fdt-test";
|
||||
};
|
||||
};
|
||||
|
||||
mmio-bus@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "denx,u-boot-test-bus";
|
||||
};
|
||||
|
||||
acpi_test1: acpi-test {
|
||||
compatible = "denx,u-boot-acpi-test";
|
||||
acpi-ssdt-test-data = "ab";
|
||||
|
||||
Reference in New Issue
Block a user