blob: d86c36fe0a0b7735c600e99304385a3d34cdc1ae (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
* Copyright (C) 2025 Toradex
*
* Capacitive Touch Display 10.1" LVDS.
*
* https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-101inch-lvds/
* https://www.toradex.com/accessories/capacitive-touch-display-10.1-inch-lvds
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/clock/fsl,imx95-clock.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pwm/pwm.h>
/ {
compatible = "toradex,verdin-imx95";
};
&{/} {
backlight_lvds_native: backlight-lvds-native {
compatible = "pwm-backlight";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2s_2_d_out_gpio>;
brightness-levels = <0 45 63 88 119 158 203 255>;
default-brightness-level = <4>;
/* Verdin I2S_2_D_OUT (SODIMM 46) */
enable-gpios = <&gpio5 4 GPIO_ACTIVE_HIGH>;
/* Verdin PWM_2 (SODIMM 16) */
pwms = <&tpm5 0 6666667 PWM_POLARITY_INVERTED>;
};
panel-lvds-native {
compatible = "panel-lvds";
#address-cells = <1>;
#size-cells = <0>;
backlight = <&backlight_lvds_native>;
data-mapping = "vesa-24";
height-mm = <136>;
width-mm = <217>;
panel-timing {
clock-frequency = <68900000 71100000 73400000>;
de-active = <1>;
hactive = <1280 1280 1280>;
hback-porch = <23 60 71>;
hfront-porch = <23 60 71>;
hsync-active = <0>;
hsync-len = <15 40 47>;
pixelclk-active = <1>; /* positive edge */
vactive = <800 800 800>;
vback-porch = <5 7 10>;
vfront-porch = <5 7 10>;
vsync-active = <0>;
vsync-len = <6 9 12>;
};
port@0 {
reg = <0>;
panel_lvds_in0: endpoint {
remote-endpoint = <&lvds0_out>;
};
};
};
};
&display_pixel_link {
status = "okay";
};
&displaymix_irqsteer {
status = "okay";
};
&dpu {
status = "okay";
};
&ldb {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
channel@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
port@1 {
reg = <1>;
lvds0_out: endpoint {
remote-endpoint = <&panel_lvds_in0>;
};
};
};
};
&ldb0_phy {
status = "okay";
};
/* Verdin I2C_2_DSI */
&lpi2c3 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
touch@4a {
compatible = "atmel,maxtouch";
reg = <0x4a>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2s_2_d_in_gpio>, <&pinctrl_i2s_2_sync_gpio>;
/* Verdin I2S_2_SYNC as GPIO (SODIMM 44) */
interrupt-parent = <&gpio5>;
interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
/* Verdin I2S_2_D_IN as GPIO (SODIMM 48) */
reset-gpios = <&gpio5 7 GPIO_ACTIVE_LOW>;
};
};
&pixel_interleaver {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
channel@0 {
reg = <0>;
status = "okay";
};
};
/* Verdin PWM_2 */
&tpm5 {
status = "okay";
};
|