]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx6dl-tx6s-8034.dts
ARM: dts: imx6: fix 'compatible' properties for TX6S modules
[karo-tx-linux.git] / arch / arm / boot / dts / imx6dl-tx6s-8034.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 TX6S-8034 Module";
18         compatible = "karo,imx6dl-tx6s", "fsl,imx6dl";
19
20         aliases {
21                 display = &display;
22                 ipu1 = &ipu1;
23         };
24
25         cpus {
26                 /delete-node/ cpu@1;
27         };
28
29         backlight: backlight {
30                 compatible = "pwm-backlight";
31                 pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>;
32                 power-supply = <&reg_3v3>;
33                 /*
34                  * a poor man's way to create a 1:1 relationship between
35                  * the PWM value and the actual duty cycle
36                  */
37                 brightness-levels = < 0  1  2  3  4  5  6  7  8  9
38                                      10 11 12 13 14 15 16 17 18 19
39                                      20 21 22 23 24 25 26 27 28 29
40                                      30 31 32 33 34 35 36 37 38 39
41                                      40 41 42 43 44 45 46 47 48 49
42                                      50 51 52 53 54 55 56 57 58 59
43                                      60 61 62 63 64 65 66 67 68 69
44                                      70 71 72 73 74 75 76 77 78 79
45                                      80 81 82 83 84 85 86 87 88 89
46                                      90 91 92 93 94 95 96 97 98 99
47                                     100>;
48                 default-brightness-level = <50>;
49         };
50
51         display: display@di0 {
52                 compatible = "fsl,imx-parallel-display";
53                 interface-pix-fmt = "rgb24";
54                 pinctrl-names = "default";
55                 pinctrl-0 = <&pinctrl_disp0_1>;
56                 status = "okay";
57
58                 port {
59                         display0_in: endpoint {
60                                 remote-endpoint = <&ipu1_di0_disp0>;
61                         };
62                 };
63
64                 display-timings {
65                         VGA {
66                                 clock-frequency = <25200000>;
67                                 hactive = <640>;
68                                 vactive = <480>;
69                                 hback-porch = <48>;
70                                 hsync-len = <96>;
71                                 hfront-porch = <16>;
72                                 vback-porch = <31>;
73                                 vsync-len = <2>;
74                                 vfront-porch = <12>;
75                                 hsync-active = <0>;
76                                 vsync-active = <0>;
77                                 de-active = <1>;
78                                 pixelclk-active = <0>;
79                         };
80
81                         ETV570 {
82                                 clock-frequency = <25200000>;
83                                 hactive = <640>;
84                                 vactive = <480>;
85                                 hback-porch = <114>;
86                                 hsync-len = <30>;
87                                 hfront-porch = <16>;
88                                 vback-porch = <32>;
89                                 vsync-len = <3>;
90                                 vfront-porch = <10>;
91                                 hsync-active = <0>;
92                                 vsync-active = <0>;
93                                 de-active = <1>;
94                                 pixelclk-active = <0>;
95                         };
96
97                         ET0350 {
98                                 clock-frequency = <6413760>;
99                                 hactive = <320>;
100                                 vactive = <240>;
101                                 hback-porch = <34>;
102                                 hsync-len = <34>;
103                                 hfront-porch = <20>;
104                                 vback-porch = <15>;
105                                 vsync-len = <3>;
106                                 vfront-porch = <4>;
107                                 hsync-active = <0>;
108                                 vsync-active = <0>;
109                                 de-active = <1>;
110                                 pixelclk-active = <0>;
111                         };
112
113                         ET0430 {
114                                 clock-frequency = <9009000>;
115                                 hactive = <480>;
116                                 vactive = <272>;
117                                 hback-porch = <2>;
118                                 hsync-len = <41>;
119                                 hfront-porch = <2>;
120                                 vback-porch = <2>;
121                                 vsync-len = <10>;
122                                 vfront-porch = <2>;
123                                 hsync-active = <0>;
124                                 vsync-active = <0>;
125                                 de-active = <1>;
126                                 pixelclk-active = <1>;
127                         };
128
129                         ET0500 {
130                                 clock-frequency = <33264000>;
131                                 hactive = <800>;
132                                 vactive = <480>;
133                                 hback-porch = <88>;
134                                 hsync-len = <128>;
135                                 hfront-porch = <40>;
136                                 vback-porch = <33>;
137                                 vsync-len = <2>;
138                                 vfront-porch = <10>;
139                                 hsync-active = <0>;
140                                 vsync-active = <0>;
141                                 de-active = <1>;
142                                 pixelclk-active = <0>;
143                         };
144
145                         ET0700 { /* same as ET0500 */
146                                 clock-frequency = <33264000>;
147                                 hactive = <800>;
148                                 vactive = <480>;
149                                 hback-porch = <88>;
150                                 hsync-len = <128>;
151                                 hfront-porch = <40>;
152                                 vback-porch = <33>;
153                                 vsync-len = <2>;
154                                 vfront-porch = <10>;
155                                 hsync-active = <0>;
156                                 vsync-active = <0>;
157                                 de-active = <1>;
158                                 pixelclk-active = <0>;
159                         };
160
161                         ETQ570 {
162                                 clock-frequency = <6596040>;
163                                 hactive = <320>;
164                                 vactive = <240>;
165                                 hback-porch = <38>;
166                                 hsync-len = <30>;
167                                 hfront-porch = <30>;
168                                 vback-porch = <16>;
169                                 vsync-len = <3>;
170                                 vfront-porch = <4>;
171                                 hsync-active = <0>;
172                                 vsync-active = <0>;
173                                 de-active = <1>;
174                                 pixelclk-active = <0>;
175                         };
176                 };
177         };
178 };
179
180 &ds1339 {
181         status = "disabled";
182 };
183
184 &pinctrl_usdhc1 {
185         fsl,pins = <
186                 MX6QDL_PAD_SD1_CMD__SD1_CMD             0x070b1
187                 MX6QDL_PAD_SD1_CLK__SD1_CLK             0x07099
188                 MX6QDL_PAD_SD1_DAT0__SD1_DATA0          0x070b1
189                 MX6QDL_PAD_SD1_DAT1__SD1_DATA1          0x070b1
190                 MX6QDL_PAD_SD1_DAT2__SD1_DATA2          0x070b1
191                 MX6QDL_PAD_SD1_DAT3__SD1_DATA3          0x070b1
192                 MX6QDL_PAD_SD3_CMD__GPIO7_IO02          0x170b0 /* SD1 CD */
193         >;
194 };
195
196 &reg_lcd0_pwr {
197         status = "okay";
198 };
199
200 &ipu1_di0_disp0 {
201         remote-endpoint = <&display0_in>;
202 };
203
204 &reg_lcd1_pwr {
205         status = "okay";
206 };