blob: 52d6a517a7fc2e2ef88eecaeb227ba1f36a3e069 [file] [log] [blame]
Heiko Schocherccc75952019-12-01 11:23:12 +01001// 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 and atmel maxtouch
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&i2c3 {
30 touch: touch@4d {
31 compatible = "atmel,maxtouch";
32 reg = <0x4d>;
33 interrupt-parent = <&gpio2>;
34 interrupts = <9 8>;
35 };
36};
37
38&ldb {
39 status = "okay";
40
41 lvds-channel@0 {
42 status = "okay";
43
44 port@0 {
45 reg = <0>;
46 lvds0_in: endpoint {
47 remote-endpoint = <&ipu1_di0_lvds0>;
48 };
49 };
50
51 port@4 {
52 reg = <4>;
53 lvds0_out: endpoint {
54 remote-endpoint = <&panel_in>;
55 };
56 };
57 };
58};