2013-10-11 21:04:23 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
testcase-data {
|
|
|
|
interrupts {
|
2013-11-01 17:50:50 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2013-10-11 21:04:23 +00:00
|
|
|
test_intc0: intc0 {
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
test_intc1: intc1 {
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <3>;
|
|
|
|
};
|
|
|
|
|
|
|
|
test_intc2: intc2 {
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
test_intmap0: intmap0 {
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
#address-cells = <0>;
|
|
|
|
interrupt-map = <1 &test_intc0 9>,
|
|
|
|
<2 &test_intc1 10 11 12>,
|
|
|
|
<3 &test_intc2 13 14>,
|
|
|
|
<4 &test_intc2 15 16>;
|
|
|
|
};
|
|
|
|
|
2013-09-19 21:47:37 +00:00
|
|
|
test_intmap1: intmap1 {
|
|
|
|
#interrupt-cells = <2>;
|
2013-11-01 17:50:50 +00:00
|
|
|
interrupt-map = <0x5000 1 2 &test_intc0 15>;
|
2013-09-19 21:47:37 +00:00
|
|
|
};
|
|
|
|
|
2013-10-11 21:04:23 +00:00
|
|
|
interrupts0 {
|
|
|
|
interrupt-parent = <&test_intc0>;
|
|
|
|
interrupts = <1>, <2>, <3>, <4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
interrupts1 {
|
|
|
|
interrupt-parent = <&test_intmap0>;
|
|
|
|
interrupts = <1>, <2>, <3>, <4>;
|
|
|
|
};
|
2013-09-19 21:47:37 +00:00
|
|
|
|
|
|
|
interrupts-extended0 {
|
2013-11-01 17:50:50 +00:00
|
|
|
reg = <0x5000 0x100>;
|
2013-09-19 21:47:37 +00:00
|
|
|
interrupts-extended = <&test_intc0 1>,
|
|
|
|
<&test_intc1 2 3 4>,
|
|
|
|
<&test_intc2 5 6>,
|
|
|
|
<&test_intmap0 1>,
|
|
|
|
<&test_intmap0 2>,
|
|
|
|
<&test_intmap0 3>,
|
|
|
|
<&test_intmap1 1 2>;
|
|
|
|
};
|
2013-10-11 21:04:23 +00:00
|
|
|
};
|
2014-04-23 22:57:40 +00:00
|
|
|
|
|
|
|
testcase-device1 {
|
|
|
|
compatible = "testcase-device";
|
|
|
|
interrupt-parent = <&test_intc0>;
|
|
|
|
interrupts = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
testcase-device2 {
|
|
|
|
compatible = "testcase-device";
|
|
|
|
interrupt-parent = <&test_intc2>;
|
|
|
|
interrupts = <1>; /* invalid specifier - too short */
|
|
|
|
};
|
2013-10-11 21:04:23 +00:00
|
|
|
};
|
2014-04-23 22:57:40 +00:00
|
|
|
|
2013-10-11 21:04:23 +00:00
|
|
|
};
|