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