aboutsummaryrefslogtreecommitdiff
path: root/tests/references_dts0.dts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/references_dts0.dts')
-rw-r--r--tests/references_dts0.dts15
1 files changed, 10 insertions, 5 deletions
diff --git a/tests/references_dts0.dts b/tests/references_dts0.dts
index df82c23465f3..d34dbb2913fd 100644
--- a/tests/references_dts0.dts
+++ b/tests/references_dts0.dts
@@ -1,21 +1,26 @@
+/dts-v1/;
+
/ {
/* Explicit phandles */
n1: node1 {
- linux,phandle = <2000>;
- ref = <&/node2>; /* reference precedes target */
+ linux,phandle = <0x2000>;
+ ref = <&{/node2}>; /* reference precedes target */
lref = <&n2>;
};
n2: node2 {
- linux,phandle = <1>;
- ref = <&/node1>; /* reference after target */
+ linux,phandle = <0x1>;
+ ref = <&{/node1}>; /* reference after target */
lref = <&n1>;
};
/* Implicit phandles */
n3: node3 {
- ref = <&/node4>;
+ ref = <&{/node4}>;
lref = <&n4>;
};
n4: node4 {
};
+ n5: node5 {
+ linux,phandle = <&n5>;
+ };
};