1/*
2 * Copyright (c) 2024 Meta Platforms
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6/ {
7	test {
8		#address-cells = < 0x1 >;
9		#size-cells = < 0x1 >;
10
11		test_cpu_intc: interrupt-controller  {
12			compatible = "vnd,cpu-intc";
13			#address-cells = <0>;
14			#interrupt-cells = < 0x01 >;
15			interrupt-controller;
16		};
17
18		test_l1_irq: interrupt-controller@bbbbcccc  {
19			compatible = "vnd,intc";
20			reg = <0xbbbbcccc 0x1000>;
21			interrupt-controller;
22			#interrupt-cells = <2>;
23			interrupts = <11 0>;
24			interrupt-parent = <&test_cpu_intc>;
25		};
26
27		test_l2_irq: interrupt-controller@bbbccccc  {
28			compatible = "vnd,intc";
29			reg = <0xbbbccccc 0x1000>;
30			interrupt-controller;
31			#interrupt-cells = <2>;
32			interrupts = <12 0>;
33			interrupt-parent = <&test_l1_irq>;
34		};
35
36		test_l3_irq: interrupt-holder {
37			compatible = "vnd,interrupt-holder";
38			status = "okay";
39			interrupts = <13 3>;
40			interrupt-parent = <&test_l2_irq>;
41			interrupt-names = "test";
42		};
43
44		test_l1_irq_inc: interrupt-controller@bbbbdccc  {
45			compatible = "vnd,intc";
46			reg = <0xbbbbdccc 0x10>;
47			interrupt-controller;
48			#interrupt-cells = <2>;
49			interrupts = <12 0>; /* +1 */
50			interrupt-parent = <&test_cpu_intc>;
51		};
52
53		test_l2_irq_inc: interrupt-controller@bbbbdcdc  {
54			compatible = "vnd,intc";
55			reg = <0xbbbbdcdc 0x10>;
56			interrupt-controller;
57			#interrupt-cells = <2>;
58			interrupts = <14 0>; /* +2 */
59			interrupt-parent = <&test_l1_irq>;
60		};
61
62		test_l3_irq_inc: interrupt-holder-inc {
63			compatible = "vnd,interrupt-holder";
64			status = "okay";
65			interrupts = <16 3>; /* +3 */
66			interrupt-parent = <&test_l2_irq>;
67			interrupt-names = "test";
68		};
69	};
70};
71