1/*
2 * Copyright (c) 2020, Linaro Ltd.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 *
6 * Application overlay for spi devices
7 */
8
9#include <zephyr/dt-bindings/gpio/gpio.h>
10
11/****************************************
12 * PLEASE KEEP REG ADDRESSES SEQUENTIAL *
13 ***************************************/
14
15test_spi_adxl362: adxl362@0 {
16	compatible = "adi,adxl362";
17	reg = <0x0>;
18	spi-max-frequency = <0>;
19	int1-gpios = <&test_gpio 0 0>;
20};
21
22test_spi_adxl372: adxl372@1 {
23	compatible = "adi,adxl372";
24	reg = <0x1>;
25	spi-max-frequency = <0>;
26	int1-gpios = <&test_gpio 0 0>;
27};
28
29test_spi_bme280: bme280@2 {
30	compatible = "bosch,bme280";
31	reg = <0x2>;
32	spi-max-frequency = <0>;
33};
34
35test_spi_bmi160: bmi160@3 {
36	compatible = "bosch,bmi160";
37	reg = <0x3>;
38	spi-max-frequency = <0>;
39	int-gpios = <&test_gpio 0 0>;
40};
41
42test_spi_ms5607: ms5607@4 {
43	compatible = "meas,ms5607";
44	reg = <0x4>;
45	spi-max-frequency = <0>;
46};
47
48test_spi_iis2dlpc: iis2dlpc@5 {
49	compatible = "st,iis2dlpc";
50	reg = <0x5>;
51	spi-max-frequency = <0>;
52	drdy-gpios = <&test_gpio 0 0>;
53};
54
55test_spi_iis2mdc: iis2mdc@6 {
56	compatible = "st,iis2mdc";
57	reg = <0x6>;
58	spi-max-frequency = <0>;
59	drdy-gpios = <&test_gpio 0 0>;
60};
61
62test_spi_iis3dhhc: iis3dhhc@7 {
63	compatible = "st,iis3dhhc";
64	reg = <0x7>;
65	spi-max-frequency = <0>;
66	irq-gpios = <&test_gpio 0 0>;
67};
68
69test_spi_ism330dhcx: ism330dhcx@8 {
70	compatible = "st,ism330dhcx";
71	reg = <0x8>;
72	spi-max-frequency = <0>;
73	drdy-gpios = <&test_gpio 0 0>;
74};
75
76test_spi_lis2dh: lis2dh@9 {
77	compatible = "st,lis2dh";
78	reg = <0x9>;
79	spi-max-frequency = <0>;
80	irq-gpios = <&test_gpio 0 0>;
81	/* disconnect-sdo-sa0-pull-up; */
82};
83
84test_spi_lis2ds12: lis2ds12@a {
85	compatible = "st,lis2ds12";
86	reg = <0xa>;
87	spi-max-frequency = <0>;
88	irq-gpios = <&test_gpio 0 0>;
89};
90
91test_spi_lis2dw12: lis2dw12@b {
92	compatible = "st,lis2dw12";
93	reg = <0xb>;
94	spi-max-frequency = <0>;
95	irq-gpios = <&test_gpio 0 0>;
96};
97
98test_spi_lis2mdl: lis2mdl@c {
99	compatible = "st,lis2mdl";
100	reg = <0xc>;
101	spi-max-frequency = <0>;
102	irq-gpios = <&test_gpio 0 0>;
103};
104
105test_spi_lps22hh: lps22hh@d {
106	compatible = "st,lps22hh";
107	reg = <0xd>;
108	spi-max-frequency = <0>;
109	drdy-gpios = <&test_gpio 0 0>;
110};
111
112test_spi_lsm303agr_accel: lsm303agr-accel@e {
113	compatible = "st,lsm303agr-accel";
114	reg = <0xe>;
115	spi-max-frequency = <0>;
116	irq-gpios = <&test_gpio 0 0>;
117	/* disconnect-sdo-sa0-pull-up; */
118	status = "disabled";
119};
120
121test_spi_lsm6dsl: lsm6dsl@f {
122	compatible = "st,lsm6dsl";
123	reg = <0xf>;
124	spi-max-frequency = <0>;
125	irq-gpios = <&test_gpio 0 0>;
126};
127
128test_spi_lsm6dso: lsm6dso@10 {
129	compatible = "st,lsm6dso";
130	reg = <0x10>;
131	spi-max-frequency = <0>;
132	irq-gpios = <&test_gpio 0 0>;
133};
134
135test_spi_iis2dh: iis2dh@11 {
136	compatible = "st,iis2dh";
137	reg = <0x11>;
138	spi-max-frequency = <0>;
139	drdy-gpios = <&test_gpio 0 0>;
140};
141
142test_spi_iis2iclx: iis2iclx@12 {
143	compatible = "st,iis2iclx";
144	reg = <0x12>;
145	spi-max-frequency = <0>;
146	drdy-gpios = <&test_gpio 0 0>;
147	int-pin = <1>;
148};
149
150test_spi_icm42605: icm42605@13 {
151	compatible = "invensense,icm42605";
152	reg = <0x13>;
153	spi-max-frequency = <0>;
154	int-gpios = <&test_gpio 0 0>;
155};
156
157test_spi_max6675: max6675@14 {
158	compatible = "maxim,max6675";
159	reg = <0x14>;
160	spi-max-frequency = <0>;
161};
162
163test_spi_bmi270: bmi270@15 {
164	compatible = "bosch,bmi270";
165	reg = <0x15>;
166	spi-max-frequency = <0>;
167	irq-gpios = <&test_gpio 0 0>;
168};
169
170test_spi_bmp388: bmp388@16 {
171	compatible = "bosch,bmp388";
172	reg = <0x16>;
173	spi-max-frequency = <0>;
174	int-gpios = <&test_gpio 0 0>;
175};
176
177test_spi_i3g4250d: i3g4250d@17 {
178	compatible = "st,i3g4250d";
179	reg = <0x17>;
180	spi-max-frequency = <0>;
181};
182
183test_spi_icm42670p: icm42670p@18 {
184	compatible = "invensense,icm42670p";
185	reg = <0x18>;
186	spi-max-frequency = <0>;
187	int-gpios = <&test_gpio 0 0>;
188	accel-hz = <800>;
189	accel-fs = <16>;
190	gyro-hz = <800>;
191	gyro-fs = <2000>;
192};
193
194test_spi_bme680: bme680@19 {
195	compatible = "bosch,bme680";
196	reg = <0x19>;
197	spi-max-frequency = <0>;
198};
199
200test_spi_icm426888: icm42688@1a {
201	compatible = "invensense,icm42688", "invensense,icm4268x";
202	reg = <0x1a>;
203	spi-max-frequency = <24000000>;
204	int-gpios = <&test_gpio 0 0>;
205};
206
207test_spi_max31855: max31855@1b {
208	compatible = "maxim,max31855";
209	reg = <0x1b>;
210	spi-max-frequency = <0>;
211};
212
213test_spi_max31865: max31865@1c {
214	compatible = "maxim,max31865";
215	reg = <0x1c>;
216	spi-max-frequency = <125000>;
217	resistance-at-zero = <100>;
218	resistance-reference = <430>;
219	low-threshold = <6579>;
220	high-threshold = <32767>;
221	filter-50hz;
222};
223
224test_spi_bmm150: bmm150@1d {
225	compatible = "bosch,bmm150";
226	reg = <0x1d>;
227	spi-max-frequency = <0>;
228	drdy-gpios = <&test_gpio 0 0>;
229};
230
231test_spi_hts221: hts221@1e {
232	compatible = "st,hts221";
233	reg = <0x1e>;
234	spi-max-frequency = <0>;
235	drdy-gpios = <&test_gpio 0 0>;
236};
237
238test_spi_adt7310: adt7310@1f {
239	compatible = "adi,adt7310";
240	reg = <0x1f>;
241	spi-max-frequency = <0>;
242	int-gpios = <&test_gpio 0 0>;
243};
244
245test_spi_bmi323: bmi323@20 {
246	compatible = "bosch,bmi323";
247	reg = <0x20>;
248	spi-max-frequency = <8000000>;
249	int-gpios = <&test_gpio 0 0>;
250};
251
252test_spi_lsm6dso16is: lsm6dso16is@21 {
253	compatible = "st,lsm6dso16is";
254	reg = <0x21>;
255	spi-max-frequency = <0>;
256	irq-gpios = <&test_gpio 0 0>;
257};
258
259test_spi_lsm6dsv16x: lsm6dsv16x@22 {
260	compatible = "st,lsm6dsv16x";
261	reg = <0x22>;
262	spi-max-frequency = <0>;
263	int1-gpios = <&test_gpio 0 0>;
264	int2-gpios = <&test_gpio 0 0>;
265};
266
267test_spi_bmi08x_accel: bmi08x@23 {
268	compatible = "bosch,bmi08x-accel";
269	reg = <0x23>;
270	spi-max-frequency = <0>;
271	int-gpios = <&test_gpio 0 0>;
272	int1-map-io = <0x01>;
273	int2-map-io = <0x00>;
274	int1-conf-io = <0x0A>;
275	int2-conf-io = <0x17>;
276	accel-hz = "800";
277	accel-fs = <4>;
278};
279
280test_spi_bmi08x_gyro: bmi08x@24 {
281	compatible = "bosch,bmi08x-gyro";
282	reg = <0x24>;
283	spi-max-frequency = <0>;
284	int-gpios = <&test_gpio 0 0>;
285	int3-4-map-io = <0x01>;
286	int3-4-conf-io = <0x01>;
287	gyro-hz = "1000_116";
288	gyro-fs = <1000>;
289};
290
291test_spi_tmag5170: tmag5170@25 {
292	compatible = "ti,tmag5170";
293	reg = <0x25>;
294	spi-max-frequency = <0>;
295	int-gpios = <&test_gpio 0 0>;
296	operating-mode = <1>;
297};
298
299test_spi_adxl367: adxl367@26 {
300	compatible = "adi,adxl367";
301	reg = <0x26>;
302	spi-max-frequency = <0>;
303	odr = <4>;
304	int1-gpios = <&test_gpio 0 0>;
305};
306
307test_spi_lps22df: lps22df@27 {
308	compatible = "st,lps22df";
309	reg = <0x27>;
310	spi-max-frequency = <0>;
311	drdy-gpios = <&test_gpio 0 0>;
312	status = "okay";
313};
314
315test_spi_lis2du12: lis2du12@28 {
316	compatible = "st,lis2du12";
317	reg = <0x28>;
318	spi-max-frequency = <0>;
319	int1-gpios = <&test_gpio 0 0>;
320	int2-gpios = <&test_gpio 0 0>;
321	status = "okay";
322};
323
324test_spi_lis2de12: lis2de12@29 {
325	compatible = "st,lis2de12";
326	reg = <0x29>;
327	spi-max-frequency = <0>;
328	int1-gpios = <&test_gpio 0 0>;
329	int2-gpios = <&test_gpio 0 0>;
330	status = "okay";
331};
332
333test_spi_ens160: ens160@2a {
334	compatible = "sciosense,ens160";
335	reg = <0x2a>;
336	spi-max-frequency = <0>;
337	int-gpios = <&test_gpio 0 0>;
338};
339
340test_spi_bd8lb600fs: bd8lb600fs@2b {
341	compatible = "rohm,bd8lb600fs";
342	reg = <0x2b>;
343	spi-max-frequency = <0>;
344	reset-gpios = <&test_gpio 0 0>;
345	instance-count = <1>;
346	status = "okay";
347
348	bd8lb600fs_diagnostics: bd8lb600fs_diagnostics {
349		compatible = "rohm,bd8lb600fs-diagnostics";
350		status = "okay";
351		#sensor-cells = <0>;
352	};
353};
354
355test_spi_iis328dq: iis328dq@2c {
356	compatible = "st,iis328dq";
357	status = "okay";
358	reg = <0x2c>;
359	spi-max-frequency = <0>;
360	int1-gpios = <&test_gpio 0 0>;
361	drdy-int-pad = <1>;
362};
363
364test_spi_lis2dux12: lis2dux12@2d {
365	compatible = "st,lis2dux12";
366	reg = <0x2d>;
367	spi-max-frequency = <0>;
368	int1-gpios = <&test_gpio 0 0>;
369	int2-gpios = <&test_gpio 0 0>;
370	status = "okay";
371};
372
373test_spi_tle9104: tle9104@2e {
374	compatible = "infineon,tle9104";
375	reg = <0x2e>;
376	spi-max-frequency = <0>;
377	status = "okay";
378
379	tle9104_diagnostics: tle9104_diagnostics {
380		compatible = "infineon,tle9104-diagnostics";
381		status = "okay";
382		#sensor-cells = <0>;
383	};
384};
385
386test_spi_bmp390: bmp390@2f {
387	compatible = "bosch,bmp390";
388	reg = <0x2f>;
389	spi-max-frequency = <0>;
390	int-gpios = <&test_gpio 0 0>;
391	osr-press = <0x01>;
392	odr = "12.5";
393	osr-press = <8>;
394	osr-temp = <1>;
395	iir-filter = <3>;
396};
397
398test_spi_ilps22qs: ilps22qs@30 {
399	compatible = "st,ilps22qs";
400	reg = <0x30>;
401	spi-max-frequency = <0>;
402	status = "okay";
403};
404
405test_spi_icm45686:icm45686@31 {
406	compatible = "invensense,icm45686";
407	reg = <0x31>;
408	spi-max-frequency = <0>;
409	int-gpios = <&test_gpio 0 0>;
410};
411
412paa3905: paa3905@32 {
413	compatible = "pixart,paa3905";
414	spi-max-frequency = <0>;
415	reg = <0x32>;
416	int-gpios = <&test_gpio 0 0>;
417};
418
419test_spi_pat9136: pat9136@33 {
420	compatible = "pixart,pat9136";
421	reg = <0x33>;
422	spi-max-frequency = <0>;
423	int-gpios = <&test_gpio 0 0>;
424};
425
426test_spi_icp201xx: icp201xx@34 {
427	compatible = "invensense,icp201xx";
428	reg = <0x34>;
429	spi-max-frequency = <0>;
430	int-gpios = <&test_gpio 0 0>;
431	op-mode = "mode0";
432	drive-strength = "current_12mA_1_8V";
433};
434
435test_spi_ad2s1210: ad2s1210@35 {
436	compatible = "adi,ad2s1210";
437	reg = <0x35>;
438	spi-max-frequency = <0>;
439	sample-gpios = <&test_gpio 0 (GPIO_ACTIVE_LOW)>;
440	mode-gpios = <&test_gpio 1 (GPIO_ACTIVE_HIGH)>, <&test_gpio 2 (GPIO_ACTIVE_HIGH)>;
441	reset-gpios = <&test_gpio 7 (GPIO_ACTIVE_LOW)>;
442	clock-frequency = <8192000>;
443};
444
445test_spi_fxls8974: fxls8974@36 {
446	compatible = "nxp,fxls8974";
447	reg = <0x36>;
448	spi-max-frequency = <0>;
449	reset-gpios = <&test_gpio 0 0>;
450	int1-gpios = <&test_gpio 0 0>;
451	int2-gpios = <&test_gpio 0 0>;
452};
453
454test_spi_adxl366: adxl366@37 {
455	compatible = "adi,adxl366";
456	reg = <0x37>;
457	spi-max-frequency = <0>;
458	int1-gpios = <&test_gpio 0 0>;
459	odr = <4>;
460	fifo-mode = <0>;
461};
462
463test_spi_icm42686: icm42686@38 {
464	compatible = "invensense,icm42686", "invensense,icm4268x";
465	reg = <0x1a>;
466	spi-max-frequency = <24000000>;
467	int-gpios = <&test_gpio 0 0>;
468};
469