1 // SPDX-License-Identifier: GPL-2.0
11 #interrupt-cells = <1>;
16 #interrupt-cells = <3>;
21 #interrupt-cells = <2>;
24 test_intmap0: intmap0 {
25 #interrupt-cells = <1>;
27 interrupt-map = <1 &test_intc0 9>,
28 <2 &test_intc1 10 11 12>,
29 <3 &test_intc2 13 14>,
30 <4 &test_intc2 15 16>;
33 test_intmap1: intmap1 {
34 #interrupt-cells = <2>;
36 * #address-cells is required
38 * The property is not provided in this node to
39 * test that the code will properly handle
40 * this case for legacy .dts files.
42 * Not having #address-cells will result in a
43 * warning from dtc starting with
44 * version v1.6.1-19-g0a3a9d3449c8
45 * The warning is suppressed by adding
46 * -Wno-interrupt_map to the Makefile for all
47 * .dts files this include this .dtsi
50 interrupt-map = <0x5000 1 2 &test_intc0 15>;
54 interrupt-parent = <&test_intc0>;
55 interrupts = <1>, <2>, <3>, <4>;
59 interrupt-parent = <&test_intmap0>;
60 interrupts = <1>, <2>, <3>, <4>;
63 interrupts-extended0 {
66 * Do not remove &test_intmap1 from this
67 * property - see comment in node intmap1
69 interrupts-extended = <&test_intc0 1>,
80 compatible = "testcase-device";
81 interrupt-parent = <&test_intc0>;
86 * testcase data that intentionally results in an error is
87 * located in testcases.dts instead of in this file so that the
88 * static overlay apply tests will not include the error.