]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - test/overlay/test-fdt-base.dts
tests: Introduce DT overlay tests
[karo-tx-uboot.git] / test / overlay / test-fdt-base.dts
diff --git a/test/overlay/test-fdt-base.dts b/test/overlay/test-fdt-base.dts
new file mode 100644 (file)
index 0000000..2603adb
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2016 NextThing Co
+ * Copyright (c) 2016 Free Electrons
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+/dts-v1/;
+
+/ {
+       test: test-node {
+               test-int-property = <42>;
+               test-str-property = "foo";
+
+               subtest: sub-test-node {
+                       sub-test-property;
+               };
+       };
+};
+
+