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