xref: /linux/drivers/of/unittest-data/overlay_gpio_01.dtso (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
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
9	gpio@0 {
10		compatible = "unittest-gpio";
11		reg = <0>;
12		gpio-controller;
13		#gpio-cells = <2>;
14		ngpios = <2>;
15		gpio-line-names = "line-A", "line-B";
16
17		line-b {
18			gpio-hog;
19			gpios = <2 0>;
20			input;
21			line-name = "line-B-input";
22		};
23	};
24};
25