1/*
2 * Copyright (c) 2023, Basalte bv
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 *
6 * Application overlay for testing driver builds
7 *
8 * Names in this file should be chosen in a way that won't conflict
9 * with real-world devicetree nodes, to allow these tests to run on
10 * (and be extended to test) real hardware.
11 */
12
13/ {
14	test {
15		#address-cells = <1>;
16		#size-cells = <1>;
17
18		test_uart: uart@55556666 {
19			compatible = "vnd,serial";
20			reg = <0x55556666 0x1000>;
21			status = "okay";
22
23			test_sc18im704: sc18im704 {
24				compatible = "nxp,sc18im704";
25				status = "okay";
26
27				test_i2c_ext: sc18im704_i2c {
28					compatible = "nxp,sc18im704-i2c";
29					status = "okay";
30					#address-cells = <1>;
31					#size-cells = <0>;
32				};
33
34				test_gpio_ext: sc18im704_gpio {
35					compatible = "nxp,sc18im704-gpio";
36					status = "okay";
37					gpio-controller;
38					#gpio-cells = <2>;
39					ngpios = <8>;
40				};
41			};
42		};
43	};
44};
45