aboutsummaryrefslogtreecommitdiffstats
path: root/dtc/tests/aliases.dts
diff options
context:
space:
mode:
Diffstat (limited to 'dtc/tests/aliases.dts')
-rw-r--r--dtc/tests/aliases.dts25
1 files changed, 25 insertions, 0 deletions
diff --git a/dtc/tests/aliases.dts b/dtc/tests/aliases.dts
new file mode 100644
index 000000000..853479aee
--- /dev/null
+++ b/dtc/tests/aliases.dts
@@ -0,0 +1,25 @@
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ aliases {
+ s1 = &sub1;
+ ss1 = &subsub1;
+ sss1 = &subsubsub1;
+ };
+
+ sub1: subnode@1 {
+ compatible = "subnode1";
+ reg = <1>;
+
+ subsub1: subsubnode {
+ compatible = "subsubnode1", "subsubnode";
+
+ subsubsub1: subsubsubnode {
+ compatible = "subsubsubnode1", "subsubsubnode";
+ };
+ };
+ };
+};