summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8qxp-colibri-lvds-dual-channel.dts
blob: 1cd7e3038ba967e1ef0689827350dacd58df3936 (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
// SPDX-License-Identifier: GPL-2.0+ OR X11
/*
 * Copyright 2018-2020 Toradex
 */

/dts-v1/;

#include "imx8qxp-colibri.dtsi"

/ {
	model = "Toradex Colibri iMX8QXP/DX on LVDS Embedded World Demo";
	compatible = "toradex,colibri-imx8x-lvds-demo",
		     "toradex,colibri-imx8x",
		     "fsl,imx8qxp";

	panel_lvds: panel-lvds {
		compatible = "panel-lvds";
		backlight = <&backlight>;
		status = "okay";

		panel-timing {
			clock-frequency = <138500000>;
			hactive = <1920>;
			vactive = <1080>;
			hback-porch = <80>;
			hfront-porch = <48>;
			vback-porch = <23>;
			vfront-porch = <3>;
			hsync-len = <32>;
			vsync-len = <5>;
			hsync-active = <0>;
			vsync-active = <0>;
			pixelclk-active = <0>;
		};

		port {
			panel_lvds_in: endpoint {
				remote-endpoint = <&lvds0_out>;
			};
		};
	};
};

&adma_pwm {
	status = "okay";
};

&adma_pwm_lpcg {
	status = "okay";
};

&backlight {
	pinctrl-0 = <&pinctrl_gpio_hpd>;
	enable-gpios = <&lsio_gpio1 31 GPIO_ACTIVE_HIGH>; /* Colibri BL_ON */
	status = "okay";
};

/* Colibri FastEthernet */
&fec1 {
	status = "okay";
};

&ldb1 {
	fsl,dual-channel;
	status = "okay";

	lvds-channel@0 {
		 fsl,data-mapping = "jeida";
		 fsl,data-width = <24>;
		 status = "okay";

		 port@1 {
			  reg = <1>;

			  lvds0_out: endpoint {
				   remote-endpoint = <&panel_lvds_in>;
			  };
		 };
	};
};

&ldb1_phy {
	status = "okay";
};

&ldb2 {
	status = "disabled";
};

&ldb2_phy {
	status = "okay";
};

/* Colibri UART_A */
&lpuart3 {
	status= "okay";
};

&mipi0_dphy {
	status = "okay";
};