mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 06:12:58 +00:00
9859d89b6e
We need an 'other' FDT which is different from the control FDT, so we can check that the ofnode tests correctly handle them both. Add this to the build along with a way to read it into the sandbox state. Signed-off-by: Simon Glass <sjg@chromium.org>
35 lines
623 B
Text
35 lines
623 B
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Other devicetree file for running sandbox tests
|
|
*
|
|
* This used for tests which want to check they can access multiple device
|
|
* trees. This one is loaded and checks are made that it is actually visible.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
compatible = "sandbox-other";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
node {
|
|
target = <&target 3 4>;
|
|
|
|
subnode {
|
|
compatible = "sandbox-other2";
|
|
str-prop = "other";
|
|
};
|
|
|
|
subnode2 {
|
|
};
|
|
};
|
|
|
|
target: target {
|
|
compatible = "sandbox-other2";
|
|
#gpio-cells = <2>;
|
|
str-prop = "other";
|
|
reg = <0x8000 0x100>;
|
|
status = "disabled";
|
|
};
|
|
};
|