mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
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>
31 lines
473 B
Plaintext
31 lines
473 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
/* overlay_15 - mux overlay */
|
|
|
|
&unittest_i2c_test_bus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
test-unittest15 {
|
|
reg = <11>;
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
};
|