summaryrefslogtreecommitdiffstats
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.dts16
1 files changed, 16 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 000000000..98c6d1de1
--- /dev/null
+++ b/drivers/of/unittest-data/overlay_bad_symbol.dts
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+/plugin/;
+
+&electric_1 {
+
+ // 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 >;
+ };
+
+};