blob: a68613dd75c828bccce05b566f6b17ebcf79cac6 (
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
|
// Turn on a an HDMI interface on Apalis-iMX8X
/dts-v1/;
/plugin/;
#include <dt-bindings/gpio/gpio.h>
/ {
compatible = "toradex,apalis-imx8x";
};
<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>;
};
};
};
};
&i2c0_mipi_lvds1 {
status = "okay";
};
/* 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 DVI signals are active. Those
* signals are then muxed to MIPI_DSI1 PADs.
*
* output-high; muxes to DVI signals
* output-low; muxes to LVDS1_B signals
*/
LVDS1B_HDMI_MUX {
gpio-hog;
gpios = <14 GPIO_ACTIVE_HIGH>;
output-high;
line-name = "LVDS1_HDMI_MUX";
};
};
|