1/*
2 * Copyright (c) 2024, Meta Platforms
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 *
6 * Application overlay for testing iproc driver builds
7 */
8
9/ {
10	test {
11		test_int_gpio {
12			#address-cells = <1>;
13			#size-cells = <1>;
14			interrupt-parent = <&test_nvic>;
15
16			test_nvic: interrupt-controller@bbbbcccc  {
17				compatible = "arm,v6m-nvic";
18				reg = <0xbbbbcccc 0xc00>;
19				interrupt-controller;
20				#interrupt-cells = <2>;
21				arm,num-irq-priority-bits = <3>;
22			};
23
24			test_gpio_iproc: gpio@c10fee {
25				compatible = "brcm,iproc-gpio";
26				gpio-controller;
27				reg = <0xc10fee 0x4c>;
28				ngpios = <6>;
29				interrupts = <28 1>;
30				#gpio-cells = <0x2>;
31				status = "okay";
32			};
33		};
34	};
35};
36