blob: 5d6d7919c522d573340196726632e578de5d362a (
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
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
* Copyright 2020-2021 Toradex
*/
// Turn on a an HDMI interface on Apalis-iMX8X
/dts-v1/;
/plugin/;
#include <dt-bindings/gpio/gpio.h>
/ {
compatible = "toradex,apalis-imx8x";
};
&i2c0_mipi_lvds1 {
status = "okay";
};
<8912_hdmi {
status = "okay";
port {
lt8912_in: endpoint {
remote-endpoint = <&mipi1_dsi_host_out>;
};
};
};
&mipi1_dphy {
status = "okay";
};
&mipi1_dsi_host {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
mipi1_dsi_host_out: endpoint {
remote-endpoint = <<8912_in>;
};
};
};
};
/* On-module GPIO Expander */
&pcal6416_1 {
/*
* This gpio-hog drives a muxing device. With that we can choose
* if LVDS1_B pins are active or if DSI signals routed to the
* on-module Lontium LT8912 DSI-to-HDMI bridge chip are active.
*
* output-high; muxes to DSI signals, getting Apalis HDMI1 pins active
* output-low; muxes to LVDS1_B signals, getting Apalis LVDS1 pins active
*/
LVDS1B_HDMI_MUX {
gpio-hog;
gpios = <14 GPIO_ACTIVE_HIGH>;
line-name = "LVDS1_HDMI_MUX";
output-high;
};
};
|