]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx6dl-tx6u-801x.dts
1e7401c842a8613c19c45d613868fc151aa9fe72
[karo-tx-linux.git] / arch / arm / boot / dts / imx6dl-tx6u-801x.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 "imx6dl.dtsi"
14 #include "imx6qdl-tx6.dtsi"
15
16 / {
17         model = "Ka-Ro electronics TX6U-801x Module";
18         compatible = "karo,imx6dl-tx6dl", "fsl,imx6dl";
19
20         aliases {
21                 display = &lcd;
22                 mxcfb0 = &display;
23         };
24
25         backlight: backlight {
26                 compatible = "pwm-backlight";
27                 pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>;
28                 power-supply = <&reg_3v3>;
29                 /*
30                  * a poor man's way to create a 1:1 relationship between
31                  * the PWM value and the actual duty cycle
32                  */
33                 brightness-levels = < 0  1  2  3  4  5  6  7  8  9
34                                      10 11 12 13 14 15 16 17 18 19
35                                      20 21 22 23 24 25 26 27 28 29
36                                      30 31 32 33 34 35 36 37 38 39
37                                      40 41 42 43 44 45 46 47 48 49
38                                      50 51 52 53 54 55 56 57 58 59
39                                      60 61 62 63 64 65 66 67 68 69
40                                      70 71 72 73 74 75 76 77 78 79
41                                      80 81 82 83 84 85 86 87 88 89
42                                      90 91 92 93 94 95 96 97 98 99
43                                     100>;
44                 default-brightness-level = <50>;
45         };
46
47         display: fb@2 {
48                 compatible = "fsl,mxc_sdc_fb";
49                 disp_dev = "lcd";
50                 interface_pix_fmt = "RGB24";
51                 mode_str = "";
52                 default_bpp = <32>;
53                 int_clk = <1>;
54                 late_init = <0>;
55                 status = "okay";
56         };
57
58         lcd: lcd@0 {
59                 compatible = "fsl,lcd";
60                 ipu_id = <0>;
61                 disp_id = <0>;
62                 default_ifmt = "RGB24";
63                 pinctrl-names = "default";
64                 pinctrl-0 = <&pinctrl_disp0_2>;
65                 status = "okay";
66
67                 display-timings {
68                         VGA {
69                                 clock-frequency = <25200000>;
70                                 hactive = <640>;
71                                 vactive = <480>;
72                                 hback-porch = <48>;
73                                 hsync-len = <96>;
74                                 hfront-porch = <16>;
75                                 vback-porch = <31>;
76                                 vsync-len = <2>;
77                                 vfront-porch = <12>;
78                                 hsync-active = <0>;
79                                 vsync-active = <0>;
80                                 de-active = <1>;
81                                 pixelclk-active = <0>;
82                         };
83
84                         ETV570 {
85                                 clock-frequency = <25200000>;
86                                 hactive = <640>;
87                                 vactive = <480>;
88                                 hback-porch = <114>;
89                                 hsync-len = <30>;
90                                 hfront-porch = <16>;
91                                 vback-porch = <32>;
92                                 vsync-len = <3>;
93                                 vfront-porch = <10>;
94                                 hsync-active = <0>;
95                                 vsync-active = <0>;
96                                 de-active = <1>;
97                                 pixelclk-active = <0>;
98                         };
99
100                         ET0350 {
101                                 clock-frequency = <6413760>;
102                                 hactive = <320>;
103                                 vactive = <240>;
104                                 hback-porch = <34>;
105                                 hsync-len = <34>;
106                                 hfront-porch = <20>;
107                                 vback-porch = <15>;
108                                 vsync-len = <3>;
109                                 vfront-porch = <4>;
110                                 hsync-active = <0>;
111                                 vsync-active = <0>;
112                                 de-active = <1>;
113                                 pixelclk-active = <0>;
114                         };
115
116                         ET0430 {
117                                 clock-frequency = <9009000>;
118                                 hactive = <480>;
119                                 vactive = <272>;
120                                 hback-porch = <2>;
121                                 hsync-len = <41>;
122                                 hfront-porch = <2>;
123                                 vback-porch = <2>;
124                                 vsync-len = <10>;
125                                 vfront-porch = <2>;
126                                 hsync-active = <0>;
127                                 vsync-active = <0>;
128                                 de-active = <1>;
129                                 pixelclk-active = <1>;
130                         };
131
132                         ET0500 {
133                                 clock-frequency = <33264000>;
134                                 hactive = <800>;
135                                 vactive = <480>;
136                                 hback-porch = <88>;
137                                 hsync-len = <128>;
138                                 hfront-porch = <40>;
139                                 vback-porch = <33>;
140                                 vsync-len = <2>;
141                                 vfront-porch = <10>;
142                                 hsync-active = <0>;
143                                 vsync-active = <0>;
144                                 de-active = <1>;
145                                 pixelclk-active = <0>;
146                         };
147
148                         ET0700 { /* same as ET0500 */
149                                 clock-frequency = <33264000>;
150                                 hactive = <800>;
151                                 vactive = <480>;
152                                 hback-porch = <88>;
153                                 hsync-len = <128>;
154                                 hfront-porch = <40>;
155                                 vback-porch = <33>;
156                                 vsync-len = <2>;
157                                 vfront-porch = <10>;
158                                 hsync-active = <0>;
159                                 vsync-active = <0>;
160                                 de-active = <1>;
161                                 pixelclk-active = <0>;
162                         };
163
164                         ETQ570 {
165                                 clock-frequency = <6596040>;
166                                 hactive = <320>;
167                                 vactive = <240>;
168                                 hback-porch = <38>;
169                                 hsync-len = <30>;
170                                 hfront-porch = <30>;
171                                 vback-porch = <16>;
172                                 vsync-len = <3>;
173                                 vfront-porch = <4>;
174                                 hsync-active = <0>;
175                                 vsync-active = <0>;
176                                 de-active = <1>;
177                                 pixelclk-active = <0>;
178                         };
179                 };
180         };
181 };
182
183 &reg_lcd0_pwr {
184         status = "okay";
185 };
186
187 &reg_lcd1_pwr {
188         status = "okay";
189 };