xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx53-sk-imx53-atm0700d4.dtsi (revision 5b56413d04e608379c9a306373554a8e4d321bc0)
1// SPDX-License-Identifier: GPL-2.0+
2//
3// Copyright 2023 Linaro Ltd.
4
5/dts-v1/;
6
7#include <dt-bindings/pwm/pwm.h>
8#include "imx53-sk-imx53.dts"
9
10/ {
11	panel: panel-rgb {
12		compatible = "powertip,ph800480t013-idf02";
13
14		port {
15			panel_rgb_in: endpoint {
16			};
17		};
18	};
19
20	spi_ts: spi {
21		compatible = "spi-gpio";
22		#address-cells = <0x1>;
23		#size-cells = <0x0>;
24
25		num-chipselects = <1>;
26
27		touchscreen: touchscreen@0 {
28			reg = <0>;
29			compatible = "ti,ads7843";
30			spi-max-frequency = <300000>;
31
32			ti,vref-mv = /bits/ 16 <3300>;
33			ti,x-plate-ohms = /bits/ 16 <450>;
34			ti,y-plate-ohms = /bits/ 16 <250>;
35			ti,debounce-tol = /bits/ 16 <10>;
36			ti,debounce-rep = /bits/ 16 <0>;
37			touchscreen-size-x = <4096>;
38			touchscreen-size-y = <4096>;
39			touchscreen-swapped-x-y;
40			touchscreen-max-pressure = <100>;
41
42			wakeup-source;
43		};
44	};
45};
46