blob: 32a41e79f1b49407ec8c2baede9a36c8f4f374c5 (
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
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
* Copyright 2023 Toradex
*/
// Verdin DSI to HDMI Adapter orderable at Toradex.
/dts-v1/;
/plugin/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
/ {
compatible = "toradex,verdin-am62";
};
&{/} {
hdmi-connector {
compatible = "hdmi-connector";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm3_dsi_gpio>;
ddc-i2c-bus = <&main_i2c2>;
/* Verdin PWM_3_DSI (SODIMM 19) */
hpd-gpios = <&main_gpio1 17 GPIO_ACTIVE_HIGH>;
label = "hdmi";
type = "a";
port {
hdmi_connector_in: endpoint {
remote-endpoint = <<8912_1_out>;
};
};
};
};
&dsi_bridge {
status = "okay";
};
&dsi_bridge_ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
mipi_dsi_bridge1_out: endpoint {
remote-endpoint = <<8912_1_in>;
};
};
};
&dss {
status = "okay";
};
/* Verdin PWM_3_DSI */
&epwm1 {
/* Verdin PWM_3_DSI (SODIMM 19) is used as HDMI HPD / GPIO, disable to avoid conflicts */
status = "disabled";
};
/* Verdin I2C_1 */
&main_i2c1 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
hdmi@48 {
compatible = "lontium,lt8912b";
reg = <0x48>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_dsi1_bkl_en>;
/* Verdin GPIO_9_DSI (LT8912 INT, SODIMM 17, unused) */
/* Verdin GPIO_10_DSI (SODIMM 21) */
reset-gpios = <&main_gpio0 30 GPIO_ACTIVE_LOW>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
lt8912_1_in: endpoint {
data-lanes = <1 2 3 4>;
remote-endpoint = <&mipi_dsi_bridge1_out>;
};
};
port@1 {
reg = <1>;
lt8912_1_out: endpoint {
remote-endpoint = <&hdmi_connector_in>;
};
};
};
};
};
/* Verdin I2C_2_DSI */
&main_i2c2 {
status = "okay";
};
|