summaryrefslogtreecommitdiffstats
path: root/qemu/dtc/tests/aliases.dts
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/dtc/tests/aliases.dts')
-rw-r--r--qemu/dtc/tests/aliases.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/qemu/dtc/tests/aliases.dts b/qemu/dtc/tests/aliases.dts
new file mode 100644
index 000000000..39d88ffc8
--- /dev/null
+++ b/qemu/dtc/tests/aliases.dts
@@ -0,0 +1,21 @@
+/dts-v1/;
+
+/ {
+ aliases {
+ s1 = &sub1;
+ ss1 = &subsub1;
+ sss1 = &subsubsub1;
+ };
+
+ sub1: subnode@1 {
+ compatible = "subnode1";
+
+ subsub1: subsubnode {
+ compatible = "subsubnode1", "subsubnode";
+
+ subsubsub1: subsubsubnode {
+ compatible = "subsubsubnode1", "subsubsubnode";
+ };
+ };
+ };
+};