/
imx8mm-tx8m-1620.dts
78 lines (68 loc) · 1.34 KB
/
imx8mm-tx8m-1620.dts
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
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
* Copyright (C) 2019 Markus Bauer <MB@KARO-electronics.de>
*
*/
/dts-v1/;
#include "imx8mm-tx8m.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Ka-Ro electronics TX8M-1620 (NXP i.MX8MM) module";
compatible = "karo,imx8mm-tx8m", "fsl,imx8mm";
};
&i2c1 {
dsi_lvds_bridge: sn65dsi84@2c {
compatible = "ti,sn65dsi83";
reg = <0x2c>;
ti,dsi-lanes = <4>;
ti,lvds-format = <2>;
ti,lvds-bpp = <24>;
ti,width-mm = <217>;
ti,height-mm = <136>;
enable-gpios = <&gpio5 20 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lvds>;
status = "okay";
display-timings {
lvds {
clock-frequency = <62500000>;
hactive = <1280>;
vactive = <800>;
hback-porch = <6>;
hfront-porch = <5>;
vback-porch = <2>;
vfront-porch = <3>;
hsync-len = <2>;
vsync-len = <1>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
port {
dsi_lvds_bridge_in: endpoint {
remote-endpoint = <&mipi_dsi_out>;
};
};
};
};
&lcdif {
status = "okay";
};
&mipi_dsi {
status = "okay";
port@1 {
mipi_dsi_out: endpoint {
remote-endpoint = <&dsi_lvds_bridge_in>;
attach-bridge;
};
};
};
&iomuxc {
pinctrl_lvds: lvdsgrp {
fsl,pins = <
MX8MM_IOMUXC_I2C4_SCL_GPIO5_IO20 0x146
>;
};
};