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