Debian Codegraph @

arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-dc44.dtso

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