summaryrefslogtreecommitdiff
path: root/tests/bad-interrupt-map.dts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bad-interrupt-map.dts')
-rw-r--r--tests/bad-interrupt-map.dts19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bad-interrupt-map.dts b/tests/bad-interrupt-map.dts
new file mode 100644
index 0000000..6df8f93
--- /dev/null
+++ b/tests/bad-interrupt-map.dts
@@ -0,0 +1,19 @@
+/dts-v1/;
+
+/ {
+ interrupt-parent = <&intc>;
+ intc: interrupt-controller {
+ #interrupt-cells = <3>;
+ interrupt-controller;
+ };
+
+ node {
+ /* Missing #address-cells = <0>; */
+ #interrupt-cells = <1>;
+ interrupt-map = <1 &intc 1 2 3>;
+
+ child {
+ interrupts = <1>;
+ };
+ };
+};