hc
2024-08-16 a24a44ff9ca902811b99aa9663d697cf452e08ef
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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";
       };
   };
};