1*b2441318SGreg Kroah-Hartman// SPDX-License-Identifier: GPL-2.0 219fd7487SGrant Likely 319fd7487SGrant Likely/ { 419fd7487SGrant Likely testcase-data { 519fd7487SGrant Likely interrupts { 619fd7487SGrant Likely #address-cells = <1>; 719fd7487SGrant Likely #size-cells = <1>; 819fd7487SGrant Likely test_intc0: intc0 { 919fd7487SGrant Likely interrupt-controller; 1019fd7487SGrant Likely #interrupt-cells = <1>; 1119fd7487SGrant Likely }; 1219fd7487SGrant Likely 1319fd7487SGrant Likely test_intc1: intc1 { 1419fd7487SGrant Likely interrupt-controller; 1519fd7487SGrant Likely #interrupt-cells = <3>; 1619fd7487SGrant Likely }; 1719fd7487SGrant Likely 1819fd7487SGrant Likely test_intc2: intc2 { 1919fd7487SGrant Likely interrupt-controller; 2019fd7487SGrant Likely #interrupt-cells = <2>; 2119fd7487SGrant Likely }; 2219fd7487SGrant Likely 2319fd7487SGrant Likely test_intmap0: intmap0 { 2419fd7487SGrant Likely #interrupt-cells = <1>; 2519fd7487SGrant Likely #address-cells = <0>; 2619fd7487SGrant Likely interrupt-map = <1 &test_intc0 9>, 2719fd7487SGrant Likely <2 &test_intc1 10 11 12>, 2819fd7487SGrant Likely <3 &test_intc2 13 14>, 2919fd7487SGrant Likely <4 &test_intc2 15 16>; 3019fd7487SGrant Likely }; 3119fd7487SGrant Likely 3219fd7487SGrant Likely test_intmap1: intmap1 { 3319fd7487SGrant Likely #interrupt-cells = <2>; 3419fd7487SGrant Likely interrupt-map = <0x5000 1 2 &test_intc0 15>; 3519fd7487SGrant Likely }; 3619fd7487SGrant Likely 3719fd7487SGrant Likely interrupts0 { 3819fd7487SGrant Likely interrupt-parent = <&test_intc0>; 3919fd7487SGrant Likely interrupts = <1>, <2>, <3>, <4>; 4019fd7487SGrant Likely }; 4119fd7487SGrant Likely 4219fd7487SGrant Likely interrupts1 { 4319fd7487SGrant Likely interrupt-parent = <&test_intmap0>; 4419fd7487SGrant Likely interrupts = <1>, <2>, <3>, <4>; 4519fd7487SGrant Likely }; 4619fd7487SGrant Likely 4719fd7487SGrant Likely interrupts-extended0 { 4819fd7487SGrant Likely reg = <0x5000 0x100>; 4919fd7487SGrant Likely interrupts-extended = <&test_intc0 1>, 5019fd7487SGrant Likely <&test_intc1 2 3 4>, 5119fd7487SGrant Likely <&test_intc2 5 6>, 5219fd7487SGrant Likely <&test_intmap0 1>, 5319fd7487SGrant Likely <&test_intmap0 2>, 5419fd7487SGrant Likely <&test_intmap0 3>, 5519fd7487SGrant Likely <&test_intmap1 1 2>; 5619fd7487SGrant Likely }; 5719fd7487SGrant Likely }; 5819fd7487SGrant Likely 5919fd7487SGrant Likely testcase-device1 { 6019fd7487SGrant Likely compatible = "testcase-device"; 6119fd7487SGrant Likely interrupt-parent = <&test_intc0>; 6219fd7487SGrant Likely interrupts = <1>; 6319fd7487SGrant Likely }; 6419fd7487SGrant Likely 6519fd7487SGrant Likely testcase-device2 { 6619fd7487SGrant Likely compatible = "testcase-device"; 6719fd7487SGrant Likely interrupt-parent = <&test_intc2>; 6819fd7487SGrant Likely interrupts = <1>; /* invalid specifier - too short */ 6919fd7487SGrant Likely }; 7019fd7487SGrant Likely }; 7119fd7487SGrant Likely 7219fd7487SGrant Likely}; 73