repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
24 lines
368 B
Plaintext
24 lines
368 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
&unittest_test_bus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
gpio@0 {
|
|
compatible = "unittest-gpio";
|
|
reg = <0>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
ngpios = <2>;
|
|
gpio-line-names = "line-A", "line-B";
|
|
|
|
line-b {
|
|
gpio-hog;
|
|
gpios = <2 0>;
|
|
input;
|
|
line-name = "line-B-input";
|
|
};
|
|
};
|
|
};
|