1// SPDX-License-Identifier: GPL-2.0 2/dts-v1/; 3/plugin/; 4 5&unittest_test_bus { 6 #address-cells = <1>; 7 #size-cells = <0>; 8 gpio@3 { 9 compatible = "unittest-gpio"; 10 reg = <3>; 11 gpio-controller; 12 #gpio-cells = <2>; 13 ngpios = <2>; 14 gpio-line-names = "line-A", "line-B", "line-C", "line-D"; 15 16 line-d { 17 gpio-hog; 18 gpios = <4 0>; 19 input; 20 line-name = "line-D-input"; 21 }; 22 }; 23}; 24