overlay_gpio_01.dts (368B)
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@0 { 9 compatible = "unittest-gpio"; 10 reg = <0>; 11 gpio-controller; 12 #gpio-cells = <2>; 13 ngpios = <2>; 14 gpio-line-names = "line-A", "line-B"; 15 16 line-b { 17 gpio-hog; 18 gpios = <2 0>; 19 input; 20 line-name = "line-B-input"; 21 }; 22 }; 23};