xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx6qdl-apalis-v1.2.dtsi (revision 8ccc0d235c226d84112561d453c49904398d085c)
1*8ccc0d23SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2*8ccc0d23SEmmanuel Vadot/* Copyright (c) 2025 Toradex */
3*8ccc0d23SEmmanuel Vadot
4*8ccc0d23SEmmanuel Vadot&i2c2 {
5*8ccc0d23SEmmanuel Vadot	/delete-node/ stmpe811@41;
6*8ccc0d23SEmmanuel Vadot
7*8ccc0d23SEmmanuel Vadot	ad7879_ts: touchscreen@2c {
8*8ccc0d23SEmmanuel Vadot		compatible = "adi,ad7879-1";
9*8ccc0d23SEmmanuel Vadot		reg = <0x2c>;
10*8ccc0d23SEmmanuel Vadot		pinctrl-names = "default";
11*8ccc0d23SEmmanuel Vadot		pinctrl-0 = <&pinctrl_touch_int>;
12*8ccc0d23SEmmanuel Vadot		interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
13*8ccc0d23SEmmanuel Vadot		interrupt-parent = <&gpio4>;
14*8ccc0d23SEmmanuel Vadot		touchscreen-max-pressure = <4096>;
15*8ccc0d23SEmmanuel Vadot		adi,resistance-plate-x = <120>;
16*8ccc0d23SEmmanuel Vadot		adi,first-conversion-delay = /bits/ 8 <3>;
17*8ccc0d23SEmmanuel Vadot		adi,acquisition-time = /bits/ 8 <1>;
18*8ccc0d23SEmmanuel Vadot		adi,median-filter-size = /bits/ 8 <2>;
19*8ccc0d23SEmmanuel Vadot		adi,averaging = /bits/ 8 <1>;
20*8ccc0d23SEmmanuel Vadot		adi,conversion-interval = /bits/ 8 <255>;
21*8ccc0d23SEmmanuel Vadot	};
22*8ccc0d23SEmmanuel Vadot
23*8ccc0d23SEmmanuel Vadot	tla2024_adc: adc@49 {
24*8ccc0d23SEmmanuel Vadot		compatible = "ti,tla2024";
25*8ccc0d23SEmmanuel Vadot		reg = <0x49>;
26*8ccc0d23SEmmanuel Vadot		#address-cells = <1>;
27*8ccc0d23SEmmanuel Vadot		#size-cells = <0>;
28*8ccc0d23SEmmanuel Vadot
29*8ccc0d23SEmmanuel Vadot		/* Apalis AN1_ADC0 */
30*8ccc0d23SEmmanuel Vadot		channel@4 {
31*8ccc0d23SEmmanuel Vadot			reg = <4>;
32*8ccc0d23SEmmanuel Vadot			ti,datarate = <4>;
33*8ccc0d23SEmmanuel Vadot			ti,gain = <1>;
34*8ccc0d23SEmmanuel Vadot		};
35*8ccc0d23SEmmanuel Vadot
36*8ccc0d23SEmmanuel Vadot		/* Apalis AN1_ADC1 */
37*8ccc0d23SEmmanuel Vadot		channel@5 {
38*8ccc0d23SEmmanuel Vadot			reg = <5>;
39*8ccc0d23SEmmanuel Vadot			ti,datarate = <4>;
40*8ccc0d23SEmmanuel Vadot			ti,gain = <1>;
41*8ccc0d23SEmmanuel Vadot		};
42*8ccc0d23SEmmanuel Vadot
43*8ccc0d23SEmmanuel Vadot		/* Apalis AN1_ADC2 */
44*8ccc0d23SEmmanuel Vadot		channel@6 {
45*8ccc0d23SEmmanuel Vadot			reg = <6>;
46*8ccc0d23SEmmanuel Vadot			ti,datarate = <4>;
47*8ccc0d23SEmmanuel Vadot			ti,gain = <1>;
48*8ccc0d23SEmmanuel Vadot		};
49*8ccc0d23SEmmanuel Vadot
50*8ccc0d23SEmmanuel Vadot		/* Apalis AN1_TSWIP_ADC3 */
51*8ccc0d23SEmmanuel Vadot		channel@7 {
52*8ccc0d23SEmmanuel Vadot			reg = <7>;
53*8ccc0d23SEmmanuel Vadot			ti,datarate = <4>;
54*8ccc0d23SEmmanuel Vadot			ti,gain = <1>;
55*8ccc0d23SEmmanuel Vadot		};
56*8ccc0d23SEmmanuel Vadot	};
57*8ccc0d23SEmmanuel Vadot};
58