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