1// SPDX-License-Identifier: (GPL-2.0)
2/*
3 * support for the imx6 based aristainetos2 board
4 * parts for 7 inch LG display connected to the LVDS port
5 *
6 * Copyright (C) 2019 Heiko Schocher <hs@denx.de>
7 * Copyright (C) 2015 Heiko Schocher <hs@denx.de>
8 *
9 */
10/dts-v1/;
11#include <dt-bindings/gpio/gpio.h>
12
13#include "imx6dl.dtsi"
14
15/ {
16	panel0: panel_lg {
17		compatible = "lg,lb070wv8";
18		backlight = <&backlight>;
19		enable-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
20
21		port {
22			panel_in: endpoint {
23				remote-endpoint = <&lvds0_out>;
24			};
25		};
26	};
27};
28
29&ldb {
30	status = "okay";
31
32	lvds-channel@0 {
33		status = "okay";
34
35		port@0 {
36			reg = <0>;
37			lvds0_in: endpoint {
38				remote-endpoint = <&ipu1_di0_lvds0>;
39			};
40		};
41
42		port@4 {
43			reg = <4>;
44			lvds0_out: endpoint {
45				remote-endpoint = <&panel_in>;
46			};
47		};
48	};
49};
50