summaryrefslogtreecommitdiff
path: root/tests/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata')
-rw-r--r--tests/testdata/apply_fragment-base.dts (renamed from tests/testdata/apply_fragment.base_dts)1
-rw-r--r--tests/testdata/apply_fragment-overlay.dts (renamed from tests/testdata/apply_fragment.add_dts)2
-rw-r--r--tests/testdata/dtc_local_fixup.add_dts5
-rw-r--r--tests/testdata/libufdt_local_fixup.add_ov_dts11
-rw-r--r--tests/testdata/libufdt_local_fixup.base_dts8
-rw-r--r--tests/testdata/local_fixup-base.dts (renamed from tests/testdata/dtc_local_fixup.base_dts)3
-rw-r--r--tests/testdata/local_fixup-overlay.dts (renamed from tests/testdata/libufdt_local_fixup.add_dts)2
-rw-r--r--tests/testdata/local_fixup_with_offset-base.dts (renamed from tests/testdata/local_fixup_with_offset.base_dts)1
-rw-r--r--tests/testdata/local_fixup_with_offset-overlay.dts (renamed from tests/testdata/local_fixup_with_offset.add_dts)2
-rw-r--r--tests/testdata/no_local_fixup-base.dts (renamed from tests/testdata/no_local_fixup.base_dts)0
-rw-r--r--tests/testdata/no_local_fixup-overlay.dts (renamed from tests/testdata/no_local_fixup.add_dts)2
-rw-r--r--tests/testdata/overlay_2_layers-base.dts (renamed from tests/testdata/overlay_2_layers.base_dts)0
-rw-r--r--tests/testdata/overlay_2_layers-overlay.dts (renamed from tests/testdata/overlay_2_layers.add_dts)3
13 files changed, 13 insertions, 27 deletions
diff --git a/tests/testdata/apply_fragment.base_dts b/tests/testdata/apply_fragment-base.dts
index c116a9b..30880bb 100644
--- a/tests/testdata/apply_fragment.base_dts
+++ b/tests/testdata/apply_fragment-base.dts
@@ -1,4 +1,5 @@
/dts-v1/;
+
/ {
a: a {};
b: b {};
diff --git a/tests/testdata/apply_fragment.add_dts b/tests/testdata/apply_fragment-overlay.dts
index 7666089..f3e8073 100644
--- a/tests/testdata/apply_fragment.add_dts
+++ b/tests/testdata/apply_fragment-overlay.dts
@@ -1,2 +1,4 @@
+/dts-v1/ /plugin/;
+
&a { d: d{}; };
&b { e{}; };
diff --git a/tests/testdata/dtc_local_fixup.add_dts b/tests/testdata/dtc_local_fixup.add_dts
deleted file mode 100644
index b158cd7..0000000
--- a/tests/testdata/dtc_local_fixup.add_dts
+++ /dev/null
@@ -1,5 +0,0 @@
-&a {
- c: c{
- d{ interrupt_parent = <&c>; };
- };
-};
diff --git a/tests/testdata/libufdt_local_fixup.add_ov_dts b/tests/testdata/libufdt_local_fixup.add_ov_dts
deleted file mode 100644
index 2734141..0000000
--- a/tests/testdata/libufdt_local_fixup.add_ov_dts
+++ /dev/null
@@ -1,11 +0,0 @@
-/dts-v1/ /plugin/;
-/ {
- fragment@0 {
- target = <&a>;
- __overlay__ {
- c: c{
- d{ interrupt_parent = <&c>; };
- };
- };
- };
-};
diff --git a/tests/testdata/libufdt_local_fixup.base_dts b/tests/testdata/libufdt_local_fixup.base_dts
deleted file mode 100644
index 556e3dc..0000000
--- a/tests/testdata/libufdt_local_fixup.base_dts
+++ /dev/null
@@ -1,8 +0,0 @@
-/dts-v1/;
-/ {
- a: a {
- interrupt_parent = <&a>;
- };
-};
-
-
diff --git a/tests/testdata/dtc_local_fixup.base_dts b/tests/testdata/local_fixup-base.dts
index f5a1086..bc2d837 100644
--- a/tests/testdata/dtc_local_fixup.base_dts
+++ b/tests/testdata/local_fixup-base.dts
@@ -1,8 +1,7 @@
/dts-v1/;
+
/ {
a: a {
interrupt_parent = <&a>;
};
};
-
-
diff --git a/tests/testdata/libufdt_local_fixup.add_dts b/tests/testdata/local_fixup-overlay.dts
index b158cd7..719a1c8 100644
--- a/tests/testdata/libufdt_local_fixup.add_dts
+++ b/tests/testdata/local_fixup-overlay.dts
@@ -1,3 +1,5 @@
+/dts-v1/ /plugin/;
+
&a {
c: c{
d{ interrupt_parent = <&c>; };
diff --git a/tests/testdata/local_fixup_with_offset.base_dts b/tests/testdata/local_fixup_with_offset-base.dts
index f90145d..bc2d837 100644
--- a/tests/testdata/local_fixup_with_offset.base_dts
+++ b/tests/testdata/local_fixup_with_offset-base.dts
@@ -1,4 +1,5 @@
/dts-v1/;
+
/ {
a: a {
interrupt_parent = <&a>;
diff --git a/tests/testdata/local_fixup_with_offset.add_dts b/tests/testdata/local_fixup_with_offset-overlay.dts
index f45757e..58e6461 100644
--- a/tests/testdata/local_fixup_with_offset.add_dts
+++ b/tests/testdata/local_fixup_with_offset-overlay.dts
@@ -1,3 +1,5 @@
+/dts-v1/ /plugin/;
+
&a {
c: c{
d{ interrupt_parent = <0 1 &c 2 3>; };
diff --git a/tests/testdata/no_local_fixup.base_dts b/tests/testdata/no_local_fixup-base.dts
index 01bad36..01bad36 100644
--- a/tests/testdata/no_local_fixup.base_dts
+++ b/tests/testdata/no_local_fixup-base.dts
diff --git a/tests/testdata/no_local_fixup.add_dts b/tests/testdata/no_local_fixup-overlay.dts
index 2cdf6a4..4be517f 100644
--- a/tests/testdata/no_local_fixup.add_dts
+++ b/tests/testdata/no_local_fixup-overlay.dts
@@ -1,3 +1,5 @@
+/dts-v1/ /plugin/;
+
&a { c = "new-c";
d: d = "d";
};
diff --git a/tests/testdata/overlay_2_layers.base_dts b/tests/testdata/overlay_2_layers-base.dts
index 1d7b578..1d7b578 100644
--- a/tests/testdata/overlay_2_layers.base_dts
+++ b/tests/testdata/overlay_2_layers-base.dts
diff --git a/tests/testdata/overlay_2_layers.add_dts b/tests/testdata/overlay_2_layers-overlay.dts
index 952a462..2140d8e 100644
--- a/tests/testdata/overlay_2_layers.add_dts
+++ b/tests/testdata/overlay_2_layers-overlay.dts
@@ -1,7 +1,8 @@
+/dts-v1/ /plugin/;
+
&a {
g = "g";
d {
f = "f";
};
};
-