mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
19fd74879a
This is unit testing code. It should use that name because it makes more sense than 'selftest'. Rename the files to match and rename the config variable. Signed-off-by: Grant Likely <grant.likely@linaro.org>
36 lines
508 B
Plaintext
36 lines
508 B
Plaintext
|
|
/ {
|
|
testcase-data {
|
|
platform-tests {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
test-device@0 {
|
|
compatible = "test-device";
|
|
reg = <0x0>;
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
dev@100 {
|
|
compatible = "test-sub-device";
|
|
reg = <0x100>;
|
|
};
|
|
};
|
|
|
|
test-device@1 {
|
|
compatible = "test-device";
|
|
reg = <0x1>;
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
dev@100 {
|
|
compatible = "test-sub-device";
|
|
reg = <0x100>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|