summaryrefslogtreecommitdiff
path: root/drivers/of/unittest-data/overlay_gpio_02a.dts
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of/unittest-data/overlay_gpio_02a.dts')
-rw-r--r--drivers/of/unittest-data/overlay_gpio_02a.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/of/unittest-data/overlay_gpio_02a.dts b/drivers/of/unittest-data/overlay_gpio_02a.dts
new file mode 100644
index 000000000000..ec59aff6ed47
--- /dev/null
+++ b/drivers/of/unittest-data/overlay_gpio_02a.dts
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+/plugin/;
+
+&unittest_test_bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ gpio@2 {
+ compatible = "unittest-gpio";
+ reg = <2>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ ngpios = <2>;
+ gpio-line-names = "line-A", "line-B";
+ };
+};