e87cacadeb
In drivers/of/unittest-data/: - Rename .dts overlay source files to use .dtso suffix. Modify driver/of/unitest.c to use .dtbo.o based symbols instead of .dtb.o Signed-off-by: Frank Rowand <frank.rowand@sony.com> Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Frank Rowand <frowand.list@gmail.com> Tested-by: Frank Rowand <frowand.list@gmail.com> Link: https://lore.kernel.org/r/20221024173434.32518-4-afd@ti.com Signed-off-by: Rob Herring <robh@kernel.org>
24 lines
388 B
Plaintext
24 lines
388 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
&unittest_test_bus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
gpio@3 {
|
|
compatible = "unittest-gpio";
|
|
reg = <3>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
ngpios = <2>;
|
|
gpio-line-names = "line-A", "line-B", "line-C", "line-D";
|
|
|
|
line-d {
|
|
gpio-hog;
|
|
gpios = <4 0>;
|
|
input;
|
|
line-name = "line-D-input";
|
|
};
|
|
};
|
|
};
|