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