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