summaryrefslogtreecommitdiff
path: root/drivers/of/unittest-data/overlay_gpio_02a.dtso
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of/unittest-data/overlay_gpio_02a.dtso')
-rw-r--r--drivers/of/unittest-data/overlay_gpio_02a.dtso16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/of/unittest-data/overlay_gpio_02a.dtso b/drivers/of/unittest-data/overlay_gpio_02a.dtso
new file mode 100644
index 000000000000..ec59aff6ed47
--- /dev/null
+++ b/drivers/of/unittest-data/overlay_gpio_02a.dtso
@@ -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";
+ };
+};