xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mp-tqma8mpql-mba8mpxl-lvds-g133han01.dtso (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1*8d13bc63SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
2*8d13bc63SEmmanuel Vadot/*
3*8d13bc63SEmmanuel Vadot * Copyright (c) 2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
4*8d13bc63SEmmanuel Vadot * D-82229 Seefeld, Germany.
5*8d13bc63SEmmanuel Vadot * Author: Alexander Stein
6*8d13bc63SEmmanuel Vadot */
7*8d13bc63SEmmanuel Vadot
8*8d13bc63SEmmanuel Vadot/dts-v1/;
9*8d13bc63SEmmanuel Vadot/plugin/;
10*8d13bc63SEmmanuel Vadot
11*8d13bc63SEmmanuel Vadot#include <dt-bindings/clock/imx8mp-clock.h>
12*8d13bc63SEmmanuel Vadot
13*8d13bc63SEmmanuel Vadot&{/} {
14*8d13bc63SEmmanuel Vadot	compatible = "tq,imx8mp-tqma8mpql-mba8mpxl", "tq,imx8mp-tqma8mpql", "fsl,imx8mp";
15*8d13bc63SEmmanuel Vadot};
16*8d13bc63SEmmanuel Vadot
17*8d13bc63SEmmanuel Vadot&backlight_lvds {
18*8d13bc63SEmmanuel Vadot	status = "okay";
19*8d13bc63SEmmanuel Vadot};
20*8d13bc63SEmmanuel Vadot
21*8d13bc63SEmmanuel Vadot&display {
22*8d13bc63SEmmanuel Vadot	compatible = "auo,g133han01";
23*8d13bc63SEmmanuel Vadot	status = "okay";
24*8d13bc63SEmmanuel Vadot
25*8d13bc63SEmmanuel Vadot	ports {
26*8d13bc63SEmmanuel Vadot		#address-cells = <1>;
27*8d13bc63SEmmanuel Vadot		#size-cells = <0>;
28*8d13bc63SEmmanuel Vadot
29*8d13bc63SEmmanuel Vadot		port@0 {
30*8d13bc63SEmmanuel Vadot			reg = <0>;
31*8d13bc63SEmmanuel Vadot			dual-lvds-odd-pixels;
32*8d13bc63SEmmanuel Vadot
33*8d13bc63SEmmanuel Vadot			panel_in_lvds0: endpoint {
34*8d13bc63SEmmanuel Vadot				remote-endpoint = <&ldb_lvds_ch0>;
35*8d13bc63SEmmanuel Vadot			};
36*8d13bc63SEmmanuel Vadot		};
37*8d13bc63SEmmanuel Vadot
38*8d13bc63SEmmanuel Vadot		port@1 {
39*8d13bc63SEmmanuel Vadot			reg = <1>;
40*8d13bc63SEmmanuel Vadot			dual-lvds-even-pixels;
41*8d13bc63SEmmanuel Vadot
42*8d13bc63SEmmanuel Vadot			panel_in_lvds1: endpoint {
43*8d13bc63SEmmanuel Vadot				remote-endpoint = <&ldb_lvds_ch1>;
44*8d13bc63SEmmanuel Vadot			};
45*8d13bc63SEmmanuel Vadot		};
46*8d13bc63SEmmanuel Vadot	};
47*8d13bc63SEmmanuel Vadot};
48*8d13bc63SEmmanuel Vadot
49*8d13bc63SEmmanuel Vadot&lcdif2 {
50*8d13bc63SEmmanuel Vadot	status = "okay";
51*8d13bc63SEmmanuel Vadot};
52*8d13bc63SEmmanuel Vadot
53*8d13bc63SEmmanuel Vadot&lvds_bridge {
54*8d13bc63SEmmanuel Vadot	assigned-clocks = <&clk IMX8MP_CLK_MEDIA_LDB>,
55*8d13bc63SEmmanuel Vadot				 <&clk IMX8MP_VIDEO_PLL1>;
56*8d13bc63SEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MP_VIDEO_PLL1_OUT>;
57*8d13bc63SEmmanuel Vadot	assigned-clock-rates = <0>, <988400000>;
58*8d13bc63SEmmanuel Vadot	status = "okay";
59*8d13bc63SEmmanuel Vadot
60*8d13bc63SEmmanuel Vadot	ports {
61*8d13bc63SEmmanuel Vadot		port@1 {
62*8d13bc63SEmmanuel Vadot			ldb_lvds_ch0: endpoint {
63*8d13bc63SEmmanuel Vadot				remote-endpoint = <&panel_in_lvds0>;
64*8d13bc63SEmmanuel Vadot			};
65*8d13bc63SEmmanuel Vadot		};
66*8d13bc63SEmmanuel Vadot
67*8d13bc63SEmmanuel Vadot		port@2 {
68*8d13bc63SEmmanuel Vadot			ldb_lvds_ch1: endpoint {
69*8d13bc63SEmmanuel Vadot				remote-endpoint = <&panel_in_lvds1>;
70*8d13bc63SEmmanuel Vadot			};
71*8d13bc63SEmmanuel Vadot		};
72*8d13bc63SEmmanuel Vadot	};
73*8d13bc63SEmmanuel Vadot};
74*8d13bc63SEmmanuel Vadot
75*8d13bc63SEmmanuel Vadot&pwm2 {
76*8d13bc63SEmmanuel Vadot	status = "okay";
77*8d13bc63SEmmanuel Vadot};
78