db2f3762d6
The unittest-data overlays have been pulled into proper overlay devicetree source files without changing their format. The next step is to convert them to use sugar syntax instead of hand coding overlay fragments structure. A few of the overlays can not be converted because they test absolute target paths in the overlay fragment. dtc does not generate this type of target: overlay_0.dts overlay_1.dts overlay_12.dts overlay_13.dts Two pre-existing unittest overlay devicetree source files are also converted: overlay_bad_phandle.dts overlay_bad_symbol.dts Signed-off-by: Frank Rowand <frank.rowand@sony.com>
117 lines
2.1 KiB
Text
117 lines
2.1 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/ {
|
|
testcase-data {
|
|
overlay-node {
|
|
|
|
/* test bus */
|
|
unittest_test_bus: test-bus {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
unittest100: test-unittest100 {
|
|
compatible = "unittest";
|
|
status = "okay";
|
|
reg = <100>;
|
|
};
|
|
|
|
unittest101: test-unittest101 {
|
|
compatible = "unittest";
|
|
status = "disabled";
|
|
reg = <101>;
|
|
};
|
|
|
|
unittest0: test-unittest0 {
|
|
compatible = "unittest";
|
|
status = "disabled";
|
|
reg = <0>;
|
|
};
|
|
|
|
unittest1: test-unittest1 {
|
|
compatible = "unittest";
|
|
status = "okay";
|
|
reg = <1>;
|
|
};
|
|
|
|
unittest2: test-unittest2 {
|
|
compatible = "unittest";
|
|
status = "disabled";
|
|
reg = <2>;
|
|
};
|
|
|
|
unittest3: test-unittest3 {
|
|
compatible = "unittest";
|
|
status = "okay";
|
|
reg = <3>;
|
|
};
|
|
|
|
unittest5: test-unittest5 {
|
|
compatible = "unittest";
|
|
status = "disabled";
|
|
reg = <5>;
|
|
};
|
|
|
|
unittest6: test-unittest6 {
|
|
compatible = "unittest";
|
|
status = "disabled";
|
|
reg = <6>;
|
|
};
|
|
|
|
unittest7: test-unittest7 {
|
|
compatible = "unittest";
|
|
status = "disabled";
|
|
reg = <7>;
|
|
};
|
|
|
|
unittest8: test-unittest8 {
|
|
compatible = "unittest";
|
|
status = "disabled";
|
|
reg = <8>;
|
|
};
|
|
|
|
unittest_i2c_test_bus: i2c-test-bus {
|
|
compatible = "unittest-i2c-bus";
|
|
status = "okay";
|
|
reg = <50>;
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
test-unittest12 {
|
|
reg = <8>;
|
|
compatible = "unittest-i2c-dev";
|
|
status = "disabled";
|
|
};
|
|
|
|
test-unittest13 {
|
|
reg = <9>;
|
|
compatible = "unittest-i2c-dev";
|
|
status = "okay";
|
|
};
|
|
|
|
test-unittest14 {
|
|
reg = <10>;
|
|
compatible = "unittest-i2c-mux";
|
|
status = "okay";
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
i2c@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <0>;
|
|
|
|
test-mux-dev {
|
|
reg = <32>;
|
|
compatible = "unittest-i2c-dev";
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|