summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-fc21.dtso
blob: db66831f31af93bd60c1425b6e5c5c10fa77e845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
/*
 * Copyright 2013-2014 Freescale Semiconductor, Inc.
 * Copyright 2018-2025 TQ-Systems GmbH <linux@ew.tq-group.com>,
 * D-82229 Seefeld, Germany.
 * Author: Alexander Stein
 */

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

/dts-v1/;
/plugin/;

&backlight_dcu {
	status = "okay";
};

&dcu {
	status = "okay";

	port {
		dcu_out: endpoint {
			remote-endpoint = <&panel_in>;
		};
	};
};

&display {
	compatible = "cdtech,s070pws19hp-fc21";
	status = "okay";
};

&i2c0 {
	#address-cells = <1>;
	#size-cells = <0>;

	polytouch: touchscreen@38 {
		compatible = "edt,edt-ft5406", "edt,edt-ft5x06";
		reg = <0x38>;
		interrupt-parent = <&pca9554_0>;
		interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
		/* LCD_PWR_EN -> TSC_WAKE */
		wake-gpios = <&pca9554_1 4 GPIO_ACTIVE_HIGH>;
		iovcc-supply = <&reg_3p3v>;
		vcc-supply = <&reg_3p3v>;
		gain = <20>;
		touchscreen-size-x = <800>;
		touchscreen-size-y = <480>;
	};
};

&panel_in {
	remote-endpoint = <&dcu_out>;
};