blob: 0e28a70e788981c0d9ac290dae6b313615b28a5f [file] [log] [blame]
Heiko Schocher1e2b0102019-12-01 11:23:09 +01001// SPDX-License-Identifier: (GPL-2.0)
2/*
3 * support for the imx6 based aristainetos2 board
4 *
5 * Copyright (C) 2019 Heiko Schocher <hs@denx.de>
6 * Copyright (C) 2015 Heiko Schocher <hs@denx.de>
7 *
8 */
9/dts-v1/;
10#include "imx6dl.dtsi"
11#include "imx6qdl-aristainetos2.dtsi"
12
13/ {
14 model = "aristainetos2 i.MX6 Dual Lite Board 4";
15 compatible = "fsl,imx6dl";
16
17 memory@10000000 {
18 device_type = "memory";
19 reg = <0x10000000 0x40000000>;
20 };
21
22 display0: disp0 {
23 #address-cells = <1>;
24 #size-cells = <0>;
25 compatible = "fsl,imx-parallel-display";
26 interface-pix-fmt = "rgb24";
27 pinctrl-names = "default";
28 pinctrl-0 = <&pinctrl_ipu_disp>;
29
30 port@0 {
31 reg = <0>;
32 display0_in: endpoint {
33 remote-endpoint = <&ipu1_di0_disp0>;
34 };
35 };
36
37 port@1 {
38 reg = <1>;
39 display_out: endpoint {
40 remote-endpoint = <&panel_in>;
41 };
42 };
43 };
44};
45
46&ecspi1 {
47 lcd_panel: display@0 {
48 compatible = "lg,lg4573";
49 spi-max-frequency = <10000000>;
50 reg = <0>;
51 power-on-delay = <10>;
52
53 display-timings {
54 480x800p57 {
55 native-mode;
56 clock-frequency = <27000027>;
57 hactive = <480>;
58 vactive = <800>;
59 hfront-porch = <10>;
60 hback-porch = <59>;
61 hsync-len = <10>;
62 vback-porch = <15>;
63 vfront-porch = <15>;
64 vsync-len = <15>;
65 hsync-active = <1>;
66 vsync-active = <1>;
67 };
68 };
69
70 port {
71 panel_in: endpoint {
72 remote-endpoint = <&display_out>;
73 };
74 };
75 };
76};
77
78&i2c3 {
79 touch: touch@4b {
80 compatible = "atmel,maxtouch";
81 reg = <0x4b>;
82 interrupt-parent = <&gpio2>;
83 interrupts = <9 8>;
84 };
85};
86
87&ipu1_di0_disp0 {
88 remote-endpoint = <&display0_in>;
89};
90
91&iomuxc {
92 pinctrl_ipu_disp: ipudisp1grp {
93 fsl,pins = <
94 MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x31
95 MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0xE1
96 MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10
97 MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10
98 MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0xE1
99 MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0xE1
100 MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0xE1
101 MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0xE1
102 MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0xE1
103 MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0xE1
104 MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0xE1
105 MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0xE1
106 MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0xE1
107 MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0xE1
108 MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0xE1
109 MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0xE1
110 MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0xE1
111 MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0xE1
112 MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0xe1
113 MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0xE1
114 MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0xE1
115 MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0xE1
116 MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0xE1
117 MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0xE1
118 MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0xE1
119 MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0xE1
120 MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0xE1
121 MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0xE1
122 >;
123 };
124};