aboutsummaryrefslogtreecommitdiffstats
path: root/dtc/tests/property_iterate.dts
diff options
context:
space:
mode:
Diffstat (limited to 'dtc/tests/property_iterate.dts')
-rw-r--r--dtc/tests/property_iterate.dts23
1 files changed, 23 insertions, 0 deletions
diff --git a/dtc/tests/property_iterate.dts b/dtc/tests/property_iterate.dts
new file mode 100644
index 000000000..e8f5f8f4f
--- /dev/null
+++ b/dtc/tests/property_iterate.dts
@@ -0,0 +1,23 @@
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ test1 {
+ test-properties = <3>;
+
+ test {
+ linux,phandle = <0x1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+ };
+
+ test2 {
+ test-properties = <0>;
+
+ test {
+ };
+ };
+};