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