summaryrefslogtreecommitdiff
path: root/drivers/of/unittest-data/overlay_bad_symbol.dts
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of/unittest-data/overlay_bad_symbol.dts')
-rw-r--r--drivers/of/unittest-data/overlay_bad_symbol.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/of/unittest-data/overlay_bad_symbol.dts b/drivers/of/unittest-data/overlay_bad_symbol.dts
new file mode 100644
index 000000000000..09261cb9a67e
--- /dev/null
+++ b/drivers/of/unittest-data/overlay_bad_symbol.dts
@@ -0,0 +1,22 @@
+/dts-v1/;
+/plugin/;
+
+/ {
+
+ fragment@0 {
+ target = <&electric_1>;
+
+ __overlay__ {
+
+ // This label should cause an error when the overlay
+ // is applied. There is already a symbol hvac_1
+ // in the base tree
+ hvac_1: hvac-medium-2 {
+ compatible = "ot,hvac-medium";
+ heat-range = < 50 75 >;
+ cool-range = < 60 80 >;
+ };
+
+ };
+ };
+};