1/*
2 * Copyright (c) 2020, Linaro Ltd.
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_gpio: gpio@deadbeef {
19			compatible = "vnd,gpio";
20			gpio-controller;
21			reg = <0xdeadbeef 0x1000>;
22			#gpio-cells = <0x2>;
23			status = "okay";
24		};
25
26		test_gpio_leds {
27			compatible = "gpio-leds";
28			test_gpio_led0: test_gpio_led_0 {
29				gpios = <&test_gpio 0 0>;
30			};
31		};
32
33		test_i2c: i2c@11112222 {
34			#address-cells = <1>;
35			#size-cells = <0>;
36			compatible = "vnd,i2c";
37			reg = <0x11112222 0x1000>;
38			status = "okay";
39			clock-frequency = <100000>;
40
41			ht16k33@1 {
42				compatible = "holtek,ht16k33";
43				reg = <0x1>;
44				#address-cells = <1>;
45				#size-cells = <0>;
46			};
47
48			lp3943@2 {
49				compatible = "ti,lp3943";
50				reg = <0x2>;
51			};
52
53			lp5009@3 {
54				compatible = "ti,lp5009";
55				reg = <0x3>;
56			};
57
58			lp5012@4 {
59				compatible = "ti,lp5012";
60				reg = <0x4>;
61			};
62
63			lp5018@5 {
64				compatible = "ti,lp5018";
65				reg = <0x5>;
66			};
67
68			lp5024@6 {
69				compatible = "ti,lp5024";
70				reg = <0x6>;
71			};
72
73			lp5030@7 {
74				compatible = "ti,lp5030";
75				reg = <0x7>;
76			};
77
78			lp5036@8 {
79				compatible = "ti,lp5036";
80				reg = <0x8>;
81			};
82
83			lp5562@9 {
84				compatible = "ti,lp5562";
85				reg = <0x9>;
86			};
87
88			lp5569@a {
89				compatible = "ti,lp5569";
90				reg = <0xa>;
91			};
92
93			pca9633@b {
94				compatible = "nxp,pca9633";
95				reg = <0xb>;
96			};
97
98			tlc59108@c {
99				compatible = "ti,tlc59108";
100				reg = <0xc>;
101			};
102
103			ncp5623@d {
104				compatible = "onnn,ncp5623";
105				reg = <0xd>;
106			};
107		};
108	};
109};
110