58 lines
1.1 KiB
Plaintext
58 lines
1.1 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
/* Copyright (c) 2025 Toradex */
|
|
|
|
&i2c2 {
|
|
/delete-node/ stmpe811@41;
|
|
|
|
ad7879_ts: touchscreen@2c {
|
|
compatible = "adi,ad7879-1";
|
|
reg = <0x2c>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_touch_int>;
|
|
interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
|
|
interrupt-parent = <&gpio6>;
|
|
touchscreen-max-pressure = <4096>;
|
|
adi,resistance-plate-x = <120>;
|
|
adi,first-conversion-delay = /bits/ 8 <3>;
|
|
adi,acquisition-time = /bits/ 8 <1>;
|
|
adi,median-filter-size = /bits/ 8 <2>;
|
|
adi,averaging = /bits/ 8 <1>;
|
|
adi,conversion-interval = /bits/ 8 <255>;
|
|
};
|
|
|
|
tla2024_adc: adc@49 {
|
|
compatible = "ti,tla2024";
|
|
reg = <0x49>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
/* Colibri AIN0 */
|
|
channel@4 {
|
|
reg = <4>;
|
|
ti,datarate = <4>;
|
|
ti,gain = <1>;
|
|
};
|
|
|
|
/* Colibri AIN1 */
|
|
channel@5 {
|
|
reg = <5>;
|
|
ti,datarate = <4>;
|
|
ti,gain = <1>;
|
|
};
|
|
|
|
/* Colibri AIN2 */
|
|
channel@6 {
|
|
reg = <6>;
|
|
ti,datarate = <4>;
|
|
ti,gain = <1>;
|
|
};
|
|
|
|
/* Colibri AIN3 */
|
|
channel@7 {
|
|
reg = <7>;
|
|
ti,datarate = <4>;
|
|
ti,gain = <1>;
|
|
};
|
|
};
|
|
};
|