1/*
2 * Copyright (c) 2020, Linaro Ltd.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 *
6 * Application overlay for i2c devices
7 */
8
9/****************************************
10 * PLEASE KEEP REG ADDRESSES SEQUENTIAL *
11 ***************************************/
12
13test_i2c_adt7420: adt7420@0 {
14	compatible = "adi,adt7420";
15	reg = <0x0>;
16	int-gpios = <&test_gpio 0 0>;
17};
18
19test_i2c_adxl345: adxl345@1 {
20	compatible = "adi,adxl345";
21	reg = <0x1>;
22};
23
24test_i2c_adxl372: adxl372@2 {
25	compatible = "adi,adxl372";
26	reg = <0x2>;
27	int1-gpios = <&test_gpio 0 0>;
28};
29
30test_i2c_ccs811: ccs811@3 {
31	compatible = "ams,ccs811";
32	reg = <0x3>;
33	wake-gpios = <&test_gpio 0 0>;
34	reset-gpios = <&test_gpio 0 0>;
35	irq-gpios = <&test_gpio 0 0>;
36};
37
38test_i2c_ens210: ens210@4 {
39	compatible = "ams,ens210";
40	reg = <0x4>;
41};
42
43test_i2c_iaqcore: iaqcore@5 {
44	compatible = "ams,iaqcore";
45	reg = <0x5>;
46};
47
48test_i2c_bme280: bme280@6 {
49	compatible = "bosch,bme280";
50	reg = <0x6>;
51};
52
53test_i2c_apds9960: apds9960@7 {
54	compatible = "avago,apds9960";
55	reg = <0x7>;
56	int-gpios = <&test_gpio 0 0>;
57};
58
59test_i2c_bma280: bma280@8 {
60	compatible = "bosch,bma280";
61	reg = <0x8>;
62	int1-gpios = <&test_gpio 0 0>;
63	/* is-bmc150; */
64};
65
66test_i2c_bmc150_magn: bmc150_magn@9 {
67	compatible = "bosch,bmc150_magn";
68	reg = <0x9>;
69	drdy-gpios = <&test_gpio 0 0>;
70};
71
72test_i2c_ak8975: ak8975@a {
73	compatible = "asahi-kasei,ak8975";
74	reg = <0xa>;
75};
76
77test_i2c_bme680: bme680@b {
78	compatible = "bosch,bme680";
79	reg = <0xb>;
80};
81
82test_i2c_bmg160: bmg160@c {
83	compatible = "bosch,bmg160";
84	reg = <0xc>;
85	int-gpios = <&test_gpio 0 0>;
86};
87
88test_i2c_bmm150: bmm150@d {
89	compatible = "bosch,bmm150";
90	reg = <0xd>;
91	drdy-gpios = <&test_gpio 0 0>;
92};
93
94test_i2c_hmc5883l: hmc5883l@e {
95	compatible = "honeywell,hmc5883l";
96	reg = <0xe>;
97	int-gpios = <&test_gpio 0 0>;
98};
99
100test_i2c_hp206c: hp206c@f {
101	compatible = "hoperf,hp206c";
102	reg = <0xf>;
103};
104
105test_i2c_th02: th02@10 {
106	compatible = "hoperf,th02";
107	reg = <0x10>;
108};
109
110test_i2c_mpu6050: mpu6050@11 {
111	compatible = "invensense,mpu6050";
112	reg = <0x11>;
113	int-gpios = <&test_gpio 0 0>;
114};
115
116test_i2c_mpu9250: mpu9250@12 {
117	compatible = "invensense,mpu9250";
118	reg = <0x12>;
119	irq-gpios = <&test_gpio 0 0>;
120	gyro-sr-div = <10>;
121	gyro-dlpf = <5>;
122	gyro-fs = <250>;
123	accel-fs = <2>;
124	accel-dlpf="5.05";
125};
126
127test_i2c_ina219: ina219@13 {
128	compatible = "ti,ina219";
129	reg = <0x13>;
130	brng = <0>;
131	pg = <0>;
132	sadc = <13>;
133	badc = <13>;
134	shunt-milliohm = <100>;
135	lsb-microamp = <10>;
136};
137
138test_i2c_isl29035: isl29035@14 {
139	compatible = "isil,isl29035";
140	reg = <0x14>;
141	int-gpios = <&test_gpio 0 0>;
142};
143
144test_i2c_max30101: max30101@15 {
145	compatible = "maxim,max30101";
146	reg = <0x15>;
147};
148
149test_i2c_max44009: max44009@16 {
150	compatible = "maxim,max44009";
151	reg = <0x16>;
152	int-gpios = <&test_gpio 0 0>;
153};
154
155test_i2c_ms5607: ms5607@17 {
156	compatible = "meas,ms5607";
157	reg = <0x17>;
158};
159
160test_i2c_ms5837: ms5837@18 {
161	compatible = "meas,ms5837";
162	reg = <0x18>;
163};
164
165test_i2c_mcp9808: mcp9808@19 {
166	compatible = "microchip,mcp9808";
167	reg = <0x19>;
168	int-gpios = <&test_gpio 0 0>;
169};
170
171test_i2c_fxas21002: fxas21002@1a {
172	compatible = "nxp,fxas21002";
173	reg = <0x1a>;
174	int1-gpios = <&test_gpio 0 0>;
175	int2-gpios = <&test_gpio 0 0>;
176};
177
178test_i2c_fxos8700: fxos8700@1b {
179	compatible = "nxp,fxos8700";
180	reg = <0x1b>;
181	reset-gpios = <&test_gpio 0 0>;
182	int1-gpios = <&test_gpio 0 0>;
183	int2-gpios = <&test_gpio 0 0>;
184};
185
186test_i2c_amg88xx: amg88xx@1c {
187	compatible = "panasonic,amg88xx";
188	reg = <0x1c>;
189	int-gpios = <&test_gpio 0 0>;
190};
191
192test_i2c_sx9500: sx9500@1d {
193	compatible = "semtech,sx9500";
194	reg = <0x1d>;
195	int-gpios = <&test_gpio 0 0>;
196};
197
198test_i2c_sgp40: sgp40@1e {
199	compatible = "sensirion,sgp40";
200	reg = <0x1e>;
201	enable-selftest;
202};
203
204test_i2c_sht3xd: sht3xd@1f {
205	compatible = "sensirion,sht3xd";
206	reg = <0x1f>;
207	alert-gpios = <&test_gpio 0 0>;
208};
209
210test_i2c_sht4xd: sht4x@20 {
211	compatible = "sensirion,sht4x";
212	reg = <0x20>;
213	repeatability = <2>;
214};
215
216test_i2c_shtc3: SHTC3@21 {
217	compatible = "sensirion,shtcx";
218	reg = <0x21>;
219	chip = "shtc3";
220	measure-mode = "normal";
221	clock-stretching;
222};
223
224test_i2c_si7006: si7006@22 {
225	compatible = "silabs,si7006";
226	reg = <0x22>;
227};
228
229test_i2c_si7055: si7055@23 {
230	compatible = "silabs,si7055";
231	reg = <0x23>;
232};
233
234test_i2c_si7060: si7060@24 {
235	compatible = "silabs,si7060";
236	reg = <0x24>;
237};
238
239test_i2c_si7210: si7010@25 {
240	compatible = "silabs,si7210";
241	reg = <0x25>;
242};
243
244test_i2c_hts221: hts221@26 {
245	compatible = "st,hts221";
246	reg = <0x26>;
247	drdy-gpios = <&test_gpio 0 0>;
248};
249
250test_i2c_iis2dlpc: iis2dlpc@27 {
251	compatible = "st,iis2dlpc";
252	reg = <0x27>;
253	drdy-gpios = <&test_gpio 0 0>;
254};
255
256test_i2c_iis2mdc: iis2mdc@28 {
257	compatible = "st,iis2mdc";
258	reg = <0x28>;
259	drdy-gpios = <&test_gpio 0 0>;
260};
261
262test_i2c_ism330dhcx: ism330dhcx@29 {
263	compatible = "st,ism330dhcx";
264	reg = <0x29>;
265	drdy-gpios = <&test_gpio 0 0>;
266};
267
268test_i2c_lis2dh: lis2dh@2a {
269	compatible = "st,lis2dh";
270	reg = <0x2a>;
271	irq-gpios = <&test_gpio 0 0>;
272	/* disconnect-sdo-sa0-pull-up; */
273};
274
275test_i2c_lis2dh12: lis2dh12@2b {
276	compatible = "st,lis2dh12";
277	reg = <0x2b>;
278	irq-gpios = <&test_gpio 0 0>;
279	status = "disabled";
280};
281
282test_i2c_lis2ds12: lis2ds12@2c {
283	compatible = "st,lis2ds12";
284	reg = <0x2c>;
285	irq-gpios = <&test_gpio 0 0>;
286};
287
288test_i2c_lis2dw12: lis2dw12@2d {
289	compatible = "st,lis2dw12";
290	reg = <0x2d>;
291	irq-gpios = <&test_gpio 0 0>;
292};
293
294test_i2c_lis2mdl: lis2mdl@2e {
295	compatible = "st,lis2mdl";
296	reg = <0x2e>;
297	irq-gpios = <&test_gpio 0 0>;
298};
299
300test_i2c_lis3dh: lis3dh@2f {
301	compatible = "st,lis3dh";
302	reg = <0x2f>;
303	irq-gpios = <&test_gpio 0 0>;
304	status = "disabled";
305};
306
307test_i2c_lis3mdl_magn: lis3mdl-magn@30 {
308	compatible = "st,lis3mdl-magn";
309	reg = <0x30>;
310	irq-gpios = <&test_gpio 0 0>;
311};
312
313test_i2c_lps22hb_press: lps22hb-press@31 {
314	compatible = "st,lps22hb-press";
315	reg = <0x31>;
316};
317
318test_i2c_lps22hh: lps22hh@32 {
319	compatible = "st,lps22hh";
320	reg = <0x32>;
321	drdy-gpios = <&test_gpio 0 0>;
322};
323
324test_i2c_lps25hb_press: lps25hb-press@33 {
325	compatible = "st,lps25hb-press";
326	reg = <0x33>;
327};
328
329test_i2c_lsm303agr_accel: lsm303agr-accel@34 {
330	compatible = "st,lsm303agr-accel";
331	reg = <0x34>;
332	irq-gpios = <&test_gpio 0 0>;
333	/* disconnect-sdo-sa0-pull-up; */
334	status = "disabled";
335};
336
337test_i2c_lsm303dlhc_accel: lsm303dlhc-accel@35 {
338	compatible = "st,lsm303dlhc-accel";
339	reg = <0x35>;
340	irq-gpios = <&test_gpio 0 0>;
341	/* disconnect-sdo-sa0-pull-up; */
342	status = "disabled";
343};
344
345test_i2c_lsm303dlhc_magn: lsm303dlhc-magn@36 {
346	compatible = "st,lsm303dlhc-magn";
347	reg = <0x36>;
348};
349
350test_i2c_lsm6ds0: lsm6ds0@37 {
351	compatible = "st,lsm6ds0";
352	reg = <0x37>;
353};
354
355test_i2c_lsm6dsl: lsm6dsl@38 {
356	compatible = "st,lsm6dsl";
357	reg = <0x38>;
358	irq-gpios = <&test_gpio 0 0>;
359};
360
361test_i2c_lsm6dso: lsm6dso@39 {
362	compatible = "st,lsm6dso";
363	reg = <0x39>;
364	irq-gpios = <&test_gpio 0 0>;
365};
366
367test_i2c_lsm9ds0_gyro: lsm9ds0-gyro@3a {
368	compatible = "st,lsm9ds0-gyro";
369	reg = <0x3a>;
370	irq-gpios = <&test_gpio 0 0>;
371};
372
373test_i2c_lsm9ds0_mfd: lsm9ds0-mfd@3b {
374	compatible = "st,lsm9ds0-mfd";
375	reg = <0x3b>;
376	irq-gpios = <&test_gpio 0 0>;
377};
378
379test_i2c_stts751: stts751@3c {
380	compatible = "st,stts751";
381	reg = <0x3c>;
382	drdy-gpios = <&test_gpio 0 0>;
383};
384
385test_i2c_vl53l0x: vl53l0x@3d {
386	compatible = "st,vl53l0x";
387	reg = <0x3d>;
388	xshut-gpios = <&test_gpio 0 0>;
389};
390
391test_i2c_hdc: hdc@3e {
392	compatible = "ti,hdc";
393	reg = <0x3e>;
394	drdy-gpios = <&test_gpio 0 0>;
395};
396
397test_i2c_hdc2010: hdc2010@3f {
398	compatible = "ti,hdc2010";
399	reg = <0x3f>;
400};
401
402test_i2c_hdc2021: hdc2021@40 {
403	compatible = "ti,hdc2021";
404	reg = <0x40>;
405};
406
407test_i2c_hdc2022: hdc2022@41 {
408	compatible = "ti,hdc2022";
409	reg = <0x41>;
410};
411
412test_i2c_hdc2080: hdc2080@42 {
413	compatible = "ti,hdc2080";
414	reg = <0x42>;
415};
416
417test_i2c_opt3001: opt3001@43 {
418	compatible = "ti,opt3001";
419	reg = <0x43>;
420};
421
422test_i2c_tmp007: tmp007@44 {
423	compatible = "ti,tmp007";
424	reg = <0x44>;
425	int-gpios = <&test_gpio 0 0>;
426};
427
428test_i2c_tmp108: tmp108@45 {
429	compatible = "ti,tmp108";
430	reg = <0x45>;
431	alert-gpios = <&test_gpio 0 0>;
432};
433
434test_i2c_tmp112: tmp112@46 {
435	compatible = "ti,tmp112";
436	reg = <0x46>;
437};
438
439test_i2c_tmp116: tmp116@47 {
440	compatible = "ti,tmp116";
441	reg = <0x47>;
442};
443
444test_i2c_bq274xx: bq27xx@48 {
445	compatible = "ti,bq274xx";
446	reg = <0x48>;
447	design-voltage = <3700>;
448	design-capacity = <1800>;
449	taper-current = <45>;
450	terminate-voltage = <3000>;
451	int-gpios = <&test_gpio 0 0>;
452};
453
454test_i2c_mpr: mpr@49 {
455	compatible = "honeywell,mpr";
456	reg = <0x49>;
457};
458
459test_i2c_dps310: dps310@4a {
460	compatible = "infineon,dps310";
461	reg = <0x4a>;
462};
463
464test_i2c_iis2dh: iis2dh@4b {
465	compatible = "st,iis2dh";
466	reg = <0x4b>;
467	drdy-gpios = <&test_gpio 0 0>;
468};
469
470test_i2c_iis2iclx: iis2iclx@4c {
471	compatible = "st,iis2iclx";
472	reg = <0x4c>;
473	drdy-gpios = <&test_gpio 0 0>;
474	int-pin = <1>;
475};
476
477test_i2c_wsen_hids: wsen_hids@4d {
478	compatible = "we,wsen-hids";
479	reg = <0x4d>;
480	drdy-gpios = <&test_gpio 0 0>;
481	odr = "1";
482};
483
484test_i2c_itds: itds@4e {
485	compatible = "we,wsen-itds";
486	reg = <0x4e>;
487	int-gpios = <&test_gpio 0 0>;
488	odr = "800";
489	op-mode = "high-perf";
490};
491
492test_i2c_max17055: max17055@4f {
493	compatible = "maxim,max17055";
494	reg = <0x4f>;
495	design-capacity = <1500>;
496	design-voltage = <3860>;
497	desired-charging-current = <2000>;
498	desired-voltage = <4400>;
499	i-chg-term = <100>;
500	rsense-mohms = <5>;
501	v-empty = <3300>;
502};
503
504test_i2c_max17262: max17262@50 {
505	compatible = "maxim,max17262";
506	reg = <0x50>;
507	design-voltage = <3600>;
508	desired-voltage = <3600>;
509	desired-charging-current = <2000>;
510	design-cap = <17000>;
511	empty-voltage = <3300>;
512	recovery-voltage = <3880>;
513	charge-voltage = <3600>;
514};
515
516test_i2c_vcnl4040: vcnl4040@51 {
517	compatible = "vishay,vcnl4040";
518	reg = <0x51>;
519	int-gpios = <&test_gpio 0 0>;
520};
521
522test_i2c_bmi160: bmi160@52 {
523	compatible = "bosch,bmi160";
524	reg = <0x52>;
525	int-gpios = <&test_gpio 0 0>;
526};
527
528test_i2c_bmi270: bmi270@53 {
529	compatible = "bosch,bmi270";
530	reg = <0x53>;
531	irq-gpios = <&test_gpio 0 0>;
532};
533
534test_i2c_fdc2x1x: fdc2x1x@54 {
535	compatible = "ti,fdc2x1x";
536	reg = <0x54>;
537	intb-gpios = <&test_gpio 0 0>;
538	sd-gpios = <&test_gpio 0 0>;
539	deglitch = <5>;
540	fref = <43360>;
541	channel_0 {
542		rcount = <7499>;
543		settlecount = <48>;
544		fref-divider = <1>;
545		idrive = <10>;
546		fin-sel = <2>;
547		inductance = <18>;
548	};
549};
550
551test_i2c_bmp388: bmp388@55 {
552	compatible = "bosch,bmp388";
553	reg = <0x55>;
554	int-gpios = <&test_gpio 0 0>;
555};
556
557test_i2c_lm75: lm75@56 {
558	compatible = "lm75";
559	reg = <0x56>;
560};
561
562test_i2c_ina230: ina230@57 {
563	compatible = "ti,ina230";
564	reg = <0x57>;
565	current-lsb-microamps = <1000>;
566	rshunt-micro-ohms = <1000>;
567	mask = <0>;
568	alert-limit = <0>;
569	alert-gpios = <&test_gpio 0 0>;
570};
571
572test_i2c_lm77: lm77@58 {
573	compatible = "lm77";
574	reg = <0x58>;
575	int-gpios = <&test_gpio 0 0>;
576};
577
578test_i2c_ina231: ina231@59 {
579	compatible = "ti,ina230";
580	reg = <0x59>;
581	current-lsb-microamps = <1000>;
582	rshunt-micro-ohms = <1000>;
583	mask = <0>;
584	alert-limit = <0>;
585	alert-gpios = <&test_gpio 0 0>;
586};
587
588test_i2c_ina237: ina237@5a {
589	compatible = "ti,ina237";
590	reg = <0x5a>;
591	current-lsb-microamps = <1000>;
592	rshunt-micro-ohms = <1000>;
593	alert-config = <0>;
594	alert-gpios = <&test_gpio 0 0>;
595};
596
597test_i2c_max31875: max31875@5b {
598	compatible = "maxim,max31875";
599	reg = <0x5b>;
600};
601
602test_i2c_icp10125: icp10125@5c {
603	compatible = "invensense,icp10125";
604	reg = <0x5c>;
605	temperature-measurement-mode = "normal";
606	pressure-measurement-mode = "normal";
607};
608
609test_i2c_as5600: as5600@5d {
610	compatible = "ams,as5600";
611	reg = <0x5d>;
612};
613
614test_i2c_bh1750: bh1750@5e {
615	compatible = "rohm,bh1750";
616	reg = <0x5e>;
617};
618
619test_i2c_akm09918c: akm09918c@5f {
620	compatible = "asahi-kasei,akm09918c";
621	reg = <0x5f>;
622};
623
624test_i2c_wsen_tids: wsen_tids@60 {
625	compatible = "we,wsen-tids";
626	reg = <0x60>;
627	int-gpios = <&test_gpio 0 0>;
628	odr = <25>;
629	temp-high-threshold = <0>;
630	temp-low-threshold = <0>;
631};
632
633test_i2c_vl53l1x: vl53l1x@61 {
634	compatible = "st,vl53l1x";
635	reg = <0x61>;
636	int-gpios = <&test_gpio 0 0>;
637	xshut-gpios = <&test_gpio 0 0>;
638};
639
640test_i2c_tmd2620: tmd2620@62 {
641	compatible = "ams,tmd2620";
642	reg = <0x62>;
643	int-gpios = <&test_gpio 0 0>;
644	proximity-gain = <4>;
645	proximity-pulse-length = <16>;
646	proximity-pulse-count = <15>;
647	proximity-high-threshold = <255>;
648	proximity-low-threshold = <0>;
649	proximity-led-drive-strength = <4>;
650	proximity-interrupt-filter = <0>;
651	wait-time-factor = <0>;
652};
653
654test_i2c_wsen_pads: wsen_pads@63 {
655	compatible = "we,wsen-pads";
656	reg = <0x63>;
657	drdy-gpios = <&test_gpio 0 0>;
658	odr = <1>;
659};
660
661test_i2c_s11059: s11059@64 {
662	compatible = "hamamatsu,s11059";
663	reg = <0x64>;
664	integration-time = <546000>;
665};
666
667test_i2c_wsen_pdus: wsen_pdus@65 {
668	compatible = "we,wsen-pdus";
669	reg = <0x65>;
670	sensor-type = <3>;
671};
672
673test_i2c_veml7700: veml7700@66 {
674	compatible = "vishay,veml7700";
675	reg = <0x66>;
676	psm-mode = <0x03>;
677};
678
679test_i2c_ina3221: ina3221@67 {
680	compatible = "ti,ina3221";
681	reg = <0x67>;
682	shunt-resistors = <1000 1000 1000>;
683	enable-channel = <1 0 0>;
684	conv-time-bus = <7>;
685	conv-time-shunt = <7>;
686	avg-mode = <2>;
687};
688
689test_i2c_lsm6dso16is: lsm6dso16is@68 {
690	compatible = "st,lsm6dso16is";
691	reg = <0x68>;
692	irq-gpios = <&test_gpio 0 0>;
693};
694
695test_i2c_lsm6dsv16x: lsm6dsv16x@69 {
696	compatible = "st,lsm6dsv16x";
697	reg = <0x69>;
698	irq-gpios = <&test_gpio 0 0>;
699};
700
701test_i2c_mcp9600: mcp9600@6a {
702	compatible = "microchip,mcp9600";
703	reg = <0x6a>;
704};
705
706test_i2c_tcs3400: tcs3400@6b {
707	compatible = "ams,tcs3400";
708	reg = <0x6b>;
709	int-gpios = <&test_gpio 0 0>;
710};
711
712test_i2c_tcn75a: tcn75a@6c {
713	compatible = "microchip,tcn75a";
714	reg = <0x6c>;
715	alert-gpios = <&test_gpio 0 0>;
716};
717
718test_i2c_bmi08x_accel: bmi08x@6d {
719	compatible = "bosch,bmi08x-accel";
720	reg = <0x6d>;
721	int-gpios = <&test_gpio 0 0>;
722	int1-map-io = <0x01>;
723	int2-map-io = <0x00>;
724	int1-conf-io = <0x0A>;
725	int2-conf-io = <0x17>;
726	accel-hz = "800";
727	accel-fs = <4>;
728};
729
730test_i2c_bmi08x_gyro: bmi08x@6e {
731	compatible = "bosch,bmi08x-gyro";
732	reg = <0x6e>;
733	int-gpios = <&test_gpio 0 0>;
734	int3-4-map-io = <0x01>;
735	int3-4-conf-io = <0x01>;
736	gyro-hz = "1000_116";
737	gyro-fs = <1000>;
738};
739
740test_i2c_ist8310: ist8310@6f {
741	compatible = "isentek,ist8310";
742	reg = <0x6f>;
743	status = "okay";
744};
745
746test_i2c_f75303: f75303@70 {
747	compatible = "fintek,f75303";
748	reg = <0x70>;
749};
750
751test_i2c_tsl2540: tsl2540@71 {
752	compatible = "ams,tsl2540";
753	reg = <0x71>;
754	int-gpios = <&test_gpio 0 0>;
755};
756
757test_i2c_adltc2990@72 {
758	compatible = "adi,adltc2990";
759	reg = <0x72>;
760	status = "okay";
761	measurement-mode = <7 3>;
762	pins-v1-v2-current-resistor = <1>;
763	pin-v1-voltage-divider-resistors = <100 10>;
764	pin-v2-voltage-divider-resistors = <100 10>;
765	pin-v3-voltage-divider-resistors = <100 100>;
766	pin-v4-voltage-divider-resistors = <0 1>;
767};
768
769test_i2c_hm330x@73 {
770	compatible = "seeed,hm330x";
771	reg = <0x73>;
772	status = "okay";
773};
774