summaryrefslogtreecommitdiff
path: root/tools/dtoc/dtoc_test_driver_alias.dts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dtoc/dtoc_test_driver_alias.dts')
-rw-r--r--tools/dtoc/dtoc_test_driver_alias.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/dtoc/dtoc_test_driver_alias.dts b/tools/dtoc/dtoc_test_driver_alias.dts
new file mode 100644
index 0000000000..da7973b2e5
--- /dev/null
+++ b/tools/dtoc/dtoc_test_driver_alias.dts
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Test device tree file for dtoc
+ *
+ * Copyright 2020 Collabora Ltd.
+ */
+
+/dts-v1/;
+
+/ {
+ gpio_a: gpios@0 {
+ u-boot,dm-pre-reloc;
+ gpio-controller;
+ compatible = "sandbox_gpio_alias";
+ #gpio-cells = <1>;
+ gpio-bank-name = "a";
+ sandbox,gpio-count = <20>;
+ };
+
+};