]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx6q-tx6q-10x0.dts
ARM: dts: imx6: add more Ka-Ro TX6 board variants
[karo-tx-linux.git] / arch / arm / boot / dts / imx6q-tx6q-10x0.dts
1 /*
2  * Copyright 2014 Lothar Waßmann <LW@KARO-electronics.de>
3  *
4  * The code contained herein is licensed under the GNU General Public
5  * License. You may obtain a copy of the GNU General Public License
6  * Version 2 at the following locations:
7  *
8  * http://www.opensource.org/licenses/gpl-license.html
9  * http://www.gnu.org/copyleft/gpl.html
10  */
11
12 /dts-v1/;
13 #include "imx6q.dtsi"
14 #include "imx6qdl-tx6.dtsi"
15
16 / {
17         model = "Ka-Ro electronics TX6Q-1010/-1030 Module";
18         compatible = "karo,imx6q-tx6q", "fsl,imx6q";
19
20         aliases {
21                 display = &display;
22                 ipu1 = &ipu1;
23                 ipu2 = &ipu2;
24         };
25
26         backlight: backlight {
27                 compatible = "pwm-backlight";
28                 pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>;
29                 power-supply = <&reg_3v3>;
30                 /*
31                  * a poor man's way to create a 1:1 relationship between
32                  * the PWM value and the actual duty cycle
33                  */
34                 brightness-levels = < 0  1  2  3  4  5  6  7  8  9
35                                      10 11 12 13 14 15 16 17 18 19
36                                      20 21 22 23 24 25 26 27 28 29
37                                      30 31 32 33 34 35 36 37 38 39
38                                      40 41 42 43 44 45 46 47 48 49
39                                      50 51 52 53 54 55 56 57 58 59
40                                      60 61 62 63 64 65 66 67 68 69
41                                      70 71 72 73 74 75 76 77 78 79
42                                      80 81 82 83 84 85 86 87 88 89
43                                      90 91 92 93 94 95 96 97 98 99
44                                     100>;
45                 default-brightness-level = <50>;
46         };
47
48         display: display@di0 {
49                 compatible = "fsl,imx-parallel-display";
50                 interface-pix-fmt = "rgb24";
51                 pinctrl-names = "default";
52                 pinctrl-0 = <&pinctrl_disp0_1>;
53                 status = "okay";
54
55                 port {
56                         display0_in: endpoint {
57                                 remote-endpoint = <&ipu1_di0_disp0>;
58                         };
59                 };
60
61                 display-timings {
62                         VGA {
63                                 clock-frequency = <25200000>;
64                                 hactive = <640>;
65                                 vactive = <480>;
66                                 hback-porch = <48>;
67                                 hsync-len = <96>;
68                                 hfront-porch = <16>;
69                                 vback-porch = <31>;
70                                 vsync-len = <2>;
71                                 vfront-porch = <12>;
72                                 hsync-active = <0>;
73                                 vsync-active = <0>;
74                                 de-active = <1>;
75                                 pixelclk-active = <0>;
76                         };
77
78                         ETV570 {
79                                 clock-frequency = <25200000>;
80                                 hactive = <640>;
81                                 vactive = <480>;
82                                 hback-porch = <114>;
83                                 hsync-len = <30>;
84                                 hfront-porch = <16>;
85                                 vback-porch = <32>;
86                                 vsync-len = <3>;
87                                 vfront-porch = <10>;
88                                 hsync-active = <0>;
89                                 vsync-active = <0>;
90                                 de-active = <1>;
91                                 pixelclk-active = <0>;
92                         };
93
94                         ET0350 {
95                                 clock-frequency = <6413760>;
96                                 hactive = <320>;
97                                 vactive = <240>;
98                                 hback-porch = <34>;
99                                 hsync-len = <34>;
100                                 hfront-porch = <20>;
101                                 vback-porch = <15>;
102                                 vsync-len = <3>;
103                                 vfront-porch = <4>;
104                                 hsync-active = <0>;
105                                 vsync-active = <0>;
106                                 de-active = <1>;
107                                 pixelclk-active = <0>;
108                         };
109
110                         ET0430 {
111                                 clock-frequency = <9009000>;
112                                 hactive = <480>;
113                                 vactive = <272>;
114                                 hback-porch = <2>;
115                                 hsync-len = <41>;
116                                 hfront-porch = <2>;
117                                 vback-porch = <2>;
118                                 vsync-len = <10>;
119                                 vfront-porch = <2>;
120                                 hsync-active = <0>;
121                                 vsync-active = <0>;
122                                 de-active = <1>;
123                                 pixelclk-active = <1>;
124                         };
125
126                         ET0500 {
127                                 clock-frequency = <33264000>;
128                                 hactive = <800>;
129                                 vactive = <480>;
130                                 hback-porch = <88>;
131                                 hsync-len = <128>;
132                                 hfront-porch = <40>;
133                                 vback-porch = <33>;
134                                 vsync-len = <2>;
135                                 vfront-porch = <10>;
136                                 hsync-active = <0>;
137                                 vsync-active = <0>;
138                                 de-active = <1>;
139                                 pixelclk-active = <0>;
140                         };
141
142                         ET0700 { /* same as ET0500 */
143                                 clock-frequency = <33264000>;
144                                 hactive = <800>;
145                                 vactive = <480>;
146                                 hback-porch = <88>;
147                                 hsync-len = <128>;
148                                 hfront-porch = <40>;
149                                 vback-porch = <33>;
150                                 vsync-len = <2>;
151                                 vfront-porch = <10>;
152                                 hsync-active = <0>;
153                                 vsync-active = <0>;
154                                 de-active = <1>;
155                                 pixelclk-active = <0>;
156                         };
157
158                         ETQ570 {
159                                 clock-frequency = <6596040>;
160                                 hactive = <320>;
161                                 vactive = <240>;
162                                 hback-porch = <38>;
163                                 hsync-len = <30>;
164                                 hfront-porch = <30>;
165                                 vback-porch = <16>;
166                                 vsync-len = <3>;
167                                 vfront-porch = <4>;
168                                 hsync-active = <0>;
169                                 vsync-active = <0>;
170                                 de-active = <1>;
171                                 pixelclk-active = <0>;
172                         };
173                 };
174         };
175 };
176
177 &ipu1_di0_disp0 {
178         remote-endpoint = <&display0_in>;
179 };
180
181 &ipu2 {
182         status = "disabled";
183 };
184
185 &reg_lcd0_pwr {
186         status = "okay";
187 };
188
189 &reg_lcd1_pwr {
190         status = "okay";
191 };