xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/ls/ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-dc44.dtso (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
2*ae5de77eSEmmanuel Vadot/*
3*ae5de77eSEmmanuel Vadot * Copyright 2013-2014 Freescale Semiconductor, Inc.
4*ae5de77eSEmmanuel Vadot * Copyright 2018-2025 TQ-Systems GmbH <linux@ew.tq-group.com>,
5*ae5de77eSEmmanuel Vadot * D-82229 Seefeld, Germany.
6*ae5de77eSEmmanuel Vadot * Author: Alexander Stein
7*ae5de77eSEmmanuel Vadot */
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10*ae5de77eSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadot/dts-v1/;
13*ae5de77eSEmmanuel Vadot/plugin/;
14*ae5de77eSEmmanuel Vadot
15*ae5de77eSEmmanuel Vadot&backlight_dcu {
16*ae5de77eSEmmanuel Vadot	status = "okay";
17*ae5de77eSEmmanuel Vadot};
18*ae5de77eSEmmanuel Vadot
19*ae5de77eSEmmanuel Vadot&dcu {
20*ae5de77eSEmmanuel Vadot	status = "okay";
21*ae5de77eSEmmanuel Vadot
22*ae5de77eSEmmanuel Vadot	port {
23*ae5de77eSEmmanuel Vadot		dcu_out: endpoint {
24*ae5de77eSEmmanuel Vadot			remote-endpoint = <&panel_in>;
25*ae5de77eSEmmanuel Vadot		};
26*ae5de77eSEmmanuel Vadot	};
27*ae5de77eSEmmanuel Vadot};
28*ae5de77eSEmmanuel Vadot
29*ae5de77eSEmmanuel Vadot&display {
30*ae5de77eSEmmanuel Vadot	compatible = "cdtech,s070swv29hg-dc44";
31*ae5de77eSEmmanuel Vadot	status = "okay";
32*ae5de77eSEmmanuel Vadot};
33*ae5de77eSEmmanuel Vadot
34*ae5de77eSEmmanuel Vadot&i2c0 {
35*ae5de77eSEmmanuel Vadot	#address-cells = <1>;
36*ae5de77eSEmmanuel Vadot	#size-cells = <0>;
37*ae5de77eSEmmanuel Vadot
38*ae5de77eSEmmanuel Vadot	polytouch: touchscreen@38 {
39*ae5de77eSEmmanuel Vadot		compatible = "edt,edt-ft5406", "edt,edt-ft5x06";
40*ae5de77eSEmmanuel Vadot		reg = <0x38>;
41*ae5de77eSEmmanuel Vadot		interrupt-parent = <&pca9554_0>;
42*ae5de77eSEmmanuel Vadot		interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
43*ae5de77eSEmmanuel Vadot		/* LCD_PWR_EN -> TSC_WAKE */
44*ae5de77eSEmmanuel Vadot		wake-gpios = <&pca9554_1 4 GPIO_ACTIVE_HIGH>;
45*ae5de77eSEmmanuel Vadot		iovcc-supply = <&reg_3p3v>;
46*ae5de77eSEmmanuel Vadot		vcc-supply = <&reg_3p3v>;
47*ae5de77eSEmmanuel Vadot		gain = <20>;
48*ae5de77eSEmmanuel Vadot		touchscreen-size-x = <800>;
49*ae5de77eSEmmanuel Vadot		touchscreen-size-y = <480>;
50*ae5de77eSEmmanuel Vadot	};
51*ae5de77eSEmmanuel Vadot};
52*ae5de77eSEmmanuel Vadot
53*ae5de77eSEmmanuel Vadot&panel_in {
54*ae5de77eSEmmanuel Vadot	remote-endpoint = <&dcu_out>;
55*ae5de77eSEmmanuel Vadot};
56