]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx53-tx53.dts
arm: dts: tx6: use generic names for regulator nodes
[karo-tx-linux.git] / arch / arm / boot / dts / imx53-tx53.dts
1 /*
2  * Copyright 2012 <LW@KARO-electronics.de>
3  * based on imx53-qsb.dts
4  *   Copyright 2011 Freescale Semiconductor, Inc.
5  *   Copyright 2011 Linaro Ltd.
6  *
7  * The code contained herein is licensed under the GNU General Public
8  * License. You may obtain a copy of the GNU General Public License
9  * Version 2 at the following locations:
10  *
11  * http://www.opensource.org/licenses/gpl-license.html
12  * http://www.gnu.org/copyleft/gpl.html
13  */
14
15 /dts-v1/;
16 #include "imx53.dtsi"
17 #include <dt-bindings/gpio/gpio.h>
18
19 / {
20         model = "Ka-Ro electronics TX53 module";
21         compatible = "karo,tx53", "fsl,imx53";
22
23         aliases {
24                 can1 = &can1;
25                 can2 = &can2;
26                 display = &display;
27                 ipu = &ipu;
28                 lvds0 = &lvds0;
29                 lvds1 = &lvds1;
30                 usbh1 = &usbh1;
31                 usbotg = &usbotg;
32         };
33
34         clocks {
35                 ckih1 {
36                         clock-frequency = <0>;
37                 };
38
39                 mclk: codec_clock {
40                         compatible = "fixed-clock";
41                         reg = <0>;
42                         #clock-cells = <0>;
43                         clock-frequency = <27000000>;
44                 };
45         };
46
47         soc {
48                 display: display@di0 {
49                         compatible = "fsl,imx-parallel-display";
50                         crtcs = <&ipu 0>;
51                         interface-pix-fmt = "rgb24";
52                         pinctrl-names = "default";
53                         pinctrl-0 = <&pinctrl_rgb24_vga_1>;
54                         status = "okay";
55
56                         display-timings {
57                                 VGA {
58                                         clock-frequency = <25200000>;
59                                         hactive = <640>;
60                                         vactive = <480>;
61                                         hback-porch = <48>;
62                                         hsync-len = <96>;
63                                         hfront-porch = <16>;
64                                         vback-porch = <31>;
65                                         vsync-len = <2>;
66                                         vfront-porch = <12>;
67                                         hsync-active = <0>;
68                                         vsync-active = <0>;
69                                         de-active = <1>;
70                                         pixelclk-active = <0>;
71                                 };
72
73                                 ETV570 {
74                                         clock-frequency = <25200000>;
75                                         hactive = <640>;
76                                         vactive = <480>;
77                                         hback-porch = <114>;
78                                         hsync-len = <30>;
79                                         hfront-porch = <16>;
80                                         vback-porch = <32>;
81                                         vsync-len = <3>;
82                                         vfront-porch = <10>;
83                                         hsync-active = <0>;
84                                         vsync-active = <0>;
85                                         de-active = <1>;
86                                         pixelclk-active = <0>;
87                                 };
88
89                                 ET0350 {
90                                         clock-frequency = <6413760>;
91                                         hactive = <320>;
92                                         vactive = <240>;
93                                         hback-porch = <34>;
94                                         hsync-len = <34>;
95                                         hfront-porch = <20>;
96                                         vback-porch = <15>;
97                                         vsync-len = <3>;
98                                         vfront-porch = <4>;
99                                         hsync-active = <0>;
100                                         vsync-active = <0>;
101                                         de-active = <1>;
102                                         pixelclk-active = <0>;
103                                 };
104
105                                 ET0430 {
106                                         clock-frequency = <9009000>;
107                                         hactive = <480>;
108                                         vactive = <272>;
109                                         hback-porch = <2>;
110                                         hsync-len = <41>;
111                                         hfront-porch = <2>;
112                                         vback-porch = <2>;
113                                         vsync-len = <10>;
114                                         vfront-porch = <2>;
115                                         hsync-active = <0>;
116                                         vsync-active = <0>;
117                                         de-active = <1>;
118                                         pixelclk-active = <1>;
119                                 };
120
121                                 ET0500 {
122                                         clock-frequency = <33264000>;
123                                         hactive = <800>;
124                                         vactive = <480>;
125                                         hback-porch = <88>;
126                                         hsync-len = <128>;
127                                         hfront-porch = <40>;
128                                         vback-porch = <33>;
129                                         vsync-len = <2>;
130                                         vfront-porch = <10>;
131                                         hsync-active = <0>;
132                                         vsync-active = <0>;
133                                         de-active = <1>;
134                                         pixelclk-active = <0>;
135                                 };
136
137                                 ET0700 { /* same as ET0500 */
138                                         clock-frequency = <33264000>;
139                                         hactive = <800>;
140                                         vactive = <480>;
141                                         hback-porch = <88>;
142                                         hsync-len = <128>;
143                                         hfront-porch = <40>;
144                                         vback-porch = <33>;
145                                         vsync-len = <2>;
146                                         vfront-porch = <10>;
147                                         hsync-active = <0>;
148                                         vsync-active = <0>;
149                                         de-active = <1>;
150                                         pixelclk-active = <0>;
151                                 };
152
153                                 ETQ570 {
154                                         clock-frequency = <6596040>;
155                                         hactive = <320>;
156                                         vactive = <240>;
157                                         hback-porch = <38>;
158                                         hsync-len = <30>;
159                                         hfront-porch = <30>;
160                                         vback-porch = <16>;
161                                         vsync-len = <3>;
162                                         vfront-porch = <4>;
163                                         hsync-active = <0>;
164                                         vsync-active = <0>;
165                                         de-active = <1>;
166                                         pixelclk-active = <0>;
167                                 };
168                         };
169                 };
170         };
171
172         sound {
173                 compatible = "karo,tx53-audio-sgtl5000", "fsl,imx-audio-sgtl5000";
174                 status = "okay";
175                 model = "tx53-audio-sgtl5000";
176                 ssi-controller = <&ssi1>;
177                 audio-codec = <&sgtl5000>;
178                 audio-routing =
179                         "MIC_IN", "Mic Jack",
180                         "Mic Jack", "Mic Bias",
181                         "Headphone Jack", "HP_OUT";
182                 /* '1' based port numbers according to datasheet names */
183                 mux-int-port = <1>;
184                 mux-ext-port = <5>;
185         };
186
187         gpio-keys {
188                 compatible = "gpio-keys";
189
190                 power {
191                         label = "Power Button";
192                         gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;
193                         linux,code = <116>; /* KEY_POWER */
194                         gpio-key,wakeup;
195                 };
196         };
197
198         leds {
199                 compatible = "gpio-leds";
200
201                 pinctrl-names = "default";
202                 pinctrl-0 = <&pinctrl_stk5_led>;
203
204                 user {
205                         label = "Heartbeat";
206                         gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
207                         linux,default-trigger = "heartbeat";
208                 };
209         };
210
211         backlight0: pwm-backlight@0 {
212                 compatible = "pwm-backlight";
213                 pwms = <&pwm2 0 500000>;
214                 power-supply = <&reg_3v3>;
215                 brightness-levels = <100
216                         99 98 97 96 95 94 93 92 91 90
217                         89 88 87 86 85 84 83 82 81 80
218                         79 78 77 76 75 74 73 72 71 70
219                         69 68 67 66 65 64 63 62 61 60
220                         59 58 57 56 55 54 53 52 51 50
221                         49 48 47 46 45 44 43 42 41 40
222                         39 38 37 36 35 34 33 32 31 30
223                         29 28 27 26 25 24 23 22 21 20
224                         19 18 17 16 15 14 13 12 11 10
225                          9  8  7  6  5  4  3  2  1  0>;
226                 default-brightness-level = <50>;
227         };
228
229         backlight1: pwm-backlight@1 {
230                 compatible = "pwm-backlight";
231                 pwms = <&pwm1 0 500000>;
232                 power-supply = <&reg_3v3>;
233                 brightness-levels = <
234                           0  1  2  3  4  5  6  7  8  9
235                          10 11 12 13 14 15 16 17 18 19
236                          20 21 22 23 24 25 26 27 28 29
237                          30 31 32 33 34 35 36 37 38 39
238                          40 41 42 43 44 45 46 47 48 49
239                          50 51 52 53 54 55 56 57 58 59
240                          60 61 62 63 64 65 66 67 68 69
241                          70 71 72 73 74 75 76 77 78 79
242                          80 81 82 83 84 85 86 87 88 89
243                          90 91 92 93 94 95 96 97 98 99
244                         100>;
245                 default-brightness-level = <50>;
246         };
247
248         regulators {
249                 compatible = "simple-bus";
250
251                 reg_2v5: 2v5 {
252                         compatible = "regulator-fixed";
253                         regulator-name = "2V5";
254                         regulator-min-microvolt = <2500000>;
255                         regulator-max-microvolt = <2500000>;
256                         regulator-always-on;
257                 };
258
259                 reg_3v3: 3v3 {
260                         compatible = "regulator-fixed";
261                         regulator-name = "3V3";
262                         regulator-min-microvolt = <3300000>;
263                         regulator-max-microvolt = <3300000>;
264                         regulator-always-on;
265                 };
266
267                 reg_can_xcvr: can-xcvr {
268                         compatible = "regulator-fixed";
269                         regulator-name = "CAN XCVR";
270                         regulator-min-microvolt = <3300000>;
271                         regulator-max-microvolt = <3300000>;
272                         gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
273                         enable-active-low;
274                         pinctrl-names = "default";
275                         pinctrl-0 = <&pinctrl_tx53_flexcan_xcvr>;
276                 };
277
278                 reg_lcd_pwr0: lcd-power@0 {
279                         compatible = "regulator-fixed";
280                         regulator-name = "LCD POWER";
281                         regulator-min-microvolt = <3300000>;
282                         regulator-max-microvolt = <3300000>;
283                         gpio = <&gpio2 31 GPIO_ACTIVE_HIGH>;
284                         enable-active-high;
285                         regulator-boot-on;
286                 };
287
288                 reg_lcd_pwr1: lcd-power@1 {
289                         compatible = "regulator-fixed";
290                         regulator-name = "LCD POWER";
291                         regulator-min-microvolt = <3300000>;
292                         regulator-max-microvolt = <3300000>;
293                         gpio = <&gpio3 29 GPIO_ACTIVE_HIGH>;
294                         enable-active-high;
295                         regulator-boot-on;
296                 };
297
298                 reg_lcd_reset: lcd-reset {
299                         compatible = "regulator-fixed";
300                         regulator-name = "LCD RESET";
301                         regulator-min-microvolt = <3300000>;
302                         regulator-max-microvolt = <3300000>;
303                         gpio = <&gpio3 29 GPIO_ACTIVE_HIGH>;
304                         startup-delay-us = <300000>;
305                         enable-active-high;
306                         regulator-always-on;
307                         regulator-boot-on;
308                 };
309
310                 reg_usbh1_vbus: usbh1_vbus {
311                         compatible = "regulator-fixed";
312                         regulator-name = "usbh1_vbus";
313                         regulator-min-microvolt = <5000000>;
314                         regulator-max-microvolt = <5000000>;
315                         gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>;
316                         enable-active-high;
317                 };
318
319                 reg_usbotg_vbus: usbotg_vbus {
320                         compatible = "regulator-fixed";
321                         regulator-name = "usbotg_vbus";
322                         regulator-min-microvolt = <5000000>;
323                         regulator-max-microvolt = <5000000>;
324                         gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
325                         enable-active-high;
326                 };
327         };
328 };
329
330 &audmux {
331         status = "okay";
332
333         pinctrl-names = "default";
334         pinctrl-0 = <&pinctrl_audmux_1>;
335 };
336
337 &can1 {
338         pinctrl-names = "default";
339         pinctrl-0 = <&pinctrl_can1_3>;
340         xceiver-supply = <&reg_can_xcvr>;
341
342         status = "okay";
343 };
344
345 &can2 {
346         pinctrl-names = "default";
347         pinctrl-0 = <&pinctrl_can2_1>;
348         xceiver-supply = <&reg_can_xcvr>;
349
350         status = "okay";
351 };
352
353 &ecspi1 {
354         status = "okay";
355
356         pinctrl-names = "default";
357         pinctrl-0 = <
358                 &pinctrl_ecspi1_1
359                 &pinctrl_cspi1_cs
360         >;
361
362         fsl,spi-num-chipselects = <2>;
363         cs-gpios = <&gpio2 30 0 &gpio3 19 GPIO_ACTIVE_HIGH>;
364
365         spidev0: spi@0 {
366                 compatible = "spidev";
367                 reg = <0>;
368                 spi-max-frequency = <54000000>;
369         };
370 };
371
372 &esdhc1 {
373         status = "okay";
374         cd-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>;
375         fsl,wp-controller;
376         pinctrl-names = "default";
377         pinctrl-0 = <
378                 &pinctrl_esdhc1_1
379                 &pinctrl_tx53_esdhc1_cd
380         >;
381 };
382
383 &esdhc2 {
384         status = "okay";
385         cd-gpios = <&gpio3 25 GPIO_ACTIVE_HIGH>;
386         fsl,wp-controller;
387         pinctrl-names = "default";
388         pinctrl-0 = <
389                 &pinctrl_esdhc2_1
390                 &pinctrl_tx53_esdhc2_cd
391         >;
392 };
393
394 &fec {
395         status = "okay";
396
397         pinctrl-names = "default";
398         pinctrl-0 = <&pinctrl_fec_1>;
399
400         phy-mode = "rmii";
401         phy-reset-gpios = <&gpio7 6 GPIO_ACTIVE_HIGH>;
402         phy-handle = <&phy0>;
403         mac-address = [000000000000]; /* placeholder; will be overwritten by bootloader */
404
405         phy0: ethernet-phy@0 {
406                 interrupt-parent = <&gpio2>;
407                 interrupts = <4>;
408                 device_type = "ethernet-phy";
409         };
410 };
411
412 &i2c1 {
413         status = "okay";
414         pinctrl-names = "default";
415         pinctrl-0 = <&pinctrl_i2c1_2>;
416
417         rtc1: ds1339@68 {
418                 compatible = "dallas,ds1339";
419                 reg = <0x68>;
420                 pinctrl-names = "default";
421                 pinctrl-0 = <&pinctrl_ds1339_int>;
422                 interrupt-parent = <&gpio4>;
423                 interrupts = <20 0>;
424         };
425
426         pmic: lt3589@48 {
427                 compatible = "lt,lt3589";
428                 reg = <0x48>;
429         };
430 };
431
432 &i2c3 {
433         status = "okay";
434
435         pinctrl-names = "default";
436         pinctrl-0 = <&pinctrl_i2c3_2>;
437
438         sgtl5000: codec@0a {
439                 compatible = "fsl,sgtl5000";
440                 reg = <0x0a>;
441                 VDDA-supply = <&reg_2v5>;
442                 VDDIO-supply = <&reg_3v3>;
443                 clocks = <&mclk>;
444         };
445
446         polytouch: edt-ft5x06@38 {
447                 compatible = "edt,edt-ft5x06";
448                 reg = <0x38>;
449                 pinctrl-names = "default";
450                 pinctrl-0 = <&pinctrl_edt_ft5x06_1>;
451                 interrupt-parent = <&gpio6>;
452                 interrupts = <15 0>;
453                 reset-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
454                 wake-gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
455         };
456
457         touchscreen: tsc2007@48 {
458                 compatible = "ti,tsc2007";
459                 reg = <0x48>;
460                 pinctrl-names = "default";
461                 pinctrl-0 = <&pinctrl_tsc2007_1>;
462                 interrupt-parent = <&gpio3>;
463                 interrupts = <26 0>;
464                 gpios = <&gpio3 26 GPIO_ACTIVE_LOW>;
465                 ti,x-plate-ohms = <660>;
466                 linux,wakeup;
467         };
468 };
469
470 &iomuxc {
471         pinctrl-names = "default";
472
473         cspi1 {
474                 pinctrl_cspi1_cs: cspi1-cs-gpios {
475                         fsl,pins = <
476                                 MX53_PAD_EIM_EB2__GPIO2_30 0xe0
477                                 MX53_PAD_EIM_D19__GPIO3_19 0xe0
478                         >;
479                 };
480         };
481
482         display {
483                 pinctrl_rgb24_vga_1: rgb24-vga-grp-1 {
484                         fsl,pins = <
485                                 MX53_PAD_DISP0_DAT0__IPU_DISP0_DAT_0 0x80000000
486                                 MX53_PAD_DISP0_DAT1__IPU_DISP0_DAT_1 0x80000000
487                                 MX53_PAD_DISP0_DAT2__IPU_DISP0_DAT_2 0x80000000
488                                 MX53_PAD_DISP0_DAT3__IPU_DISP0_DAT_3 0x80000000
489                                 MX53_PAD_DISP0_DAT4__IPU_DISP0_DAT_4 0x80000000
490                                 MX53_PAD_DISP0_DAT5__IPU_DISP0_DAT_5 0x80000000
491                                 MX53_PAD_DISP0_DAT6__IPU_DISP0_DAT_6 0x80000000
492                                 MX53_PAD_DISP0_DAT7__IPU_DISP0_DAT_7 0x80000000
493                                 MX53_PAD_DISP0_DAT8__IPU_DISP0_DAT_8 0x80000000
494                                 MX53_PAD_DISP0_DAT9__IPU_DISP0_DAT_9 0x80000000
495                                 MX53_PAD_DISP0_DAT10__IPU_DISP0_DAT_10 0x80000000
496                                 MX53_PAD_DISP0_DAT11__IPU_DISP0_DAT_11 0x80000000
497                                 MX53_PAD_DISP0_DAT12__IPU_DISP0_DAT_12 0x80000000
498                                 MX53_PAD_DISP0_DAT13__IPU_DISP0_DAT_13 0x80000000
499                                 MX53_PAD_DISP0_DAT14__IPU_DISP0_DAT_14 0x80000000
500                                 MX53_PAD_DISP0_DAT15__IPU_DISP0_DAT_15 0x80000000
501                                 MX53_PAD_DISP0_DAT16__IPU_DISP0_DAT_16 0x80000000
502                                 MX53_PAD_DISP0_DAT17__IPU_DISP0_DAT_17 0x80000000
503                                 MX53_PAD_DISP0_DAT18__IPU_DISP0_DAT_18 0x80000000
504                                 MX53_PAD_DISP0_DAT19__IPU_DISP0_DAT_19 0x80000000
505                                 MX53_PAD_DISP0_DAT20__IPU_DISP0_DAT_20 0x80000000
506                                 MX53_PAD_DISP0_DAT21__IPU_DISP0_DAT_21 0x80000000
507                                 MX53_PAD_DISP0_DAT22__IPU_DISP0_DAT_22 0x80000000
508                                 MX53_PAD_DISP0_DAT23__IPU_DISP0_DAT_23 0x80000000
509                                 MX53_PAD_DI0_PIN2__IPU_DI0_PIN2 0x80000000 /* HSYNC */
510                                 MX53_PAD_DI0_PIN3__IPU_DI0_PIN3 0x80000000 /* VSYNC */
511                                 MX53_PAD_DI0_PIN15__IPU_DI0_PIN15 0x80000000 /* OE */
512                                 MX53_PAD_DI0_DISP_CLK__IPU_DI0_DISP_CLK 0x80000000 /* PIXCLK */
513                         >;
514                 };
515
516                 pinctrl_rgb24_vga_2: rgb24-vga-grp-2 {
517                         fsl,pins = <
518                                 MX53_PAD_EIM_DA0__IPU_DISP1_DAT_9 0x80000000
519                                 MX53_PAD_EIM_DA1__IPU_DISP1_DAT_8 0x80000000
520                                 MX53_PAD_EIM_DA2__IPU_DISP1_DAT_7 0x80000000
521                                 MX53_PAD_EIM_DA3__IPU_DISP1_DAT_6 0x80000000
522                                 MX53_PAD_EIM_DA4__IPU_DISP1_DAT_5 0x80000000
523                                 MX53_PAD_EIM_DA5__IPU_DISP1_DAT_4 0x80000000
524                                 MX53_PAD_EIM_DA6__IPU_DISP1_DAT_3 0x80000000
525                                 MX53_PAD_EIM_DA7__IPU_DISP1_DAT_2 0x80000000
526                                 MX53_PAD_EIM_DA8__IPU_DISP1_DAT_1 0x80000000
527                                 MX53_PAD_EIM_DA9__IPU_DISP1_DAT_0 0x80000000
528                         >;
529                 };
530         };
531
532         ds1339 {
533                 pinctrl_ds1339_int: ds1339-gpios {
534                         fsl,pins = <
535                                 MX53_PAD_DI0_PIN4__GPIO4_20 0xe0
536                         >;
537                 };
538         };
539
540         esdhc1 {
541                 pinctrl_tx53_esdhc1_cd: esdhc1-cd-gpios {
542                         fsl,pins = <
543                                 MX53_PAD_EIM_D24__GPIO3_24 0x1f0
544                         >;
545                 };
546         };
547
548         esdhc2 {
549                 pinctrl_tx53_esdhc2_cd: esdhc2-cd-gpios {
550                         fsl,pins = <
551                                 MX53_PAD_EIM_D25__GPIO3_25 0x1f0
552                         >;
553                 };
554         };
555
556         flexcan {
557                 pinctrl_tx53_flexcan_xcvr: flexcan-xcvrgrp-1 {
558                         fsl,pins = <
559                                 MX53_PAD_DISP0_DAT0__GPIO4_21 0xe0 /* Flexcan XCVR enable */
560                         >;
561                 };
562         };
563
564         leds {
565                 pinctrl_stk5_led: stk5-led-gpios {
566                         fsl,pins = <
567                                 MX53_PAD_EIM_A18__GPIO2_20 0xc0
568                         >;
569                 };
570         };
571
572         ssi1 {
573                 pinctrl_ssi1: ssi1-gpios {
574                         fsl,pins = <
575                                 MX53_PAD_EIM_D26__GPIO3_26 0x1f0
576                         >;
577                 };
578         };
579
580         ssi2 {
581                 pinctrl_ssi2: ssi2-gpios {
582                         fsl,pins = <
583                                 MX53_PAD_EIM_D27__GPIO3_27 0x1f0
584                         >;
585                 };
586         };
587
588         touchpanel {
589                 pinctrl_tsc2007_1: tsc2007grp-1 {
590                         fsl,pins = <
591                                 MX53_PAD_EIM_D26__GPIO3_26 0xe0 /* Interrupt */
592                         >;
593                 };
594
595                 pinctrl_edt_ft5x06_1: edt-ft5x06grp-1 {
596                         fsl,pins = <
597                                 MX53_PAD_NANDF_CS2__GPIO6_15 0xe0 /* Interrupt */
598                                 MX53_PAD_EIM_A16__GPIO2_22 0xe0 /* Reset */
599                                 MX53_PAD_EIM_A17__GPIO2_21 0xe0 /* Wake */
600                         >;
601                 };
602         };
603
604         usbh1 {
605                 pinctrl_tx53_usbh1_1: usbh1-gpios {
606                         fsl,pins = <
607                                 MX53_PAD_EIM_D31__GPIO3_31 0xe0 /* VBUS ENABLE */
608                                 MX53_PAD_EIM_D30__GPIO3_30 0x100 /* OC */
609                         >;
610                 };
611         };
612
613         usbotg {
614                 pinctrl_tx53_usbotg_1: usbotg-gpios {
615                         fsl,pins = <
616                                 MX53_PAD_GPIO_7__GPIO1_7 0xe0 /* VBUS ENABLE */
617                                 MX53_PAD_GPIO_8__GPIO1_8 0x100 /* OC */
618                         >;
619                 };
620         };
621 };
622
623 &ipu {
624         status = "okay";
625 };
626
627 &kpp {
628         /* sample keymap */
629         /* row/col 0,1 are mapped to KPP row/col 6,7 */
630         linux,keymap = <
631                 0x06060074 /* row 6, col 6, KEY_POWER */
632                 0x06070052 /* row 6, col 7, KEY_KP0 */
633                 0x0602004f /* row 6, col 2, KEY_KP1 */
634                 0x06030050 /* row 6, col 3, KEY_KP2 */
635                 0x07060051 /* row 7, col 6, KEY_KP3 */
636                 0x0707004b /* row 7, col 7, KEY_KP4 */
637                 0x0702004c /* row 7, col 2, KEY_KP5 */
638                 0x0703004d /* row 7, col 3, KEY_KP6 */
639                 0x02060047 /* row 2, col 6, KEY_KP7 */
640                 0x02070048 /* row 2, col 7, KEY_KP8 */
641                 0x02020049 /* row 2, col 2, KEY_KP9 */
642         >;
643         status = "okay";
644 };
645
646 &ldb {
647         pinctrl-names = "default";
648         pinctrl-0 = <&pinctrl_ipu_disp2_1>;
649         status = "okay";
650
651         lvds0: lvds-channel@0 {
652                 fsl,data-mapping = "spwg";
653                 fsl,data-width = <18>;
654                 status = "okay";
655
656                 display-timings {
657                         native-mode = <&lvds_timing0>;
658                         lvds_timing0: hsd100pxn1 {
659                                 clock-frequency = <65000000>;
660                                 hactive = <1024>;
661                                 vactive = <768>;
662                                 hback-porch = <220>;
663                                 hsync-len = <60>;
664                                 hfront-porch = <40>;
665                                 vback-porch = <21>;
666                                 vsync-len = <10>;
667                                 vfront-porch = <7>;
668                                 hsync-active = <0>;
669                                 vsync-active = <0>;
670                                 de-active = <1>;
671                                 pixelclk-active = <0>;
672                         };
673                 };
674         };
675
676         lvds1: lvds-channel@1 {
677                 fsl,data-mapping = "spwg";
678                 fsl,data-width = <18>;
679                 status = "okay";
680
681                 display-timings {
682                         native-mode = <&lvds_timing1>;
683                         lvds_timing1: hsd100pxn1 {
684                                 clock-frequency = <65000000>;
685                                 hactive = <1024>;
686                                 vactive = <768>;
687                                 hback-porch = <220>;
688                                 hsync-len = <60>;
689                                 hfront-porch = <40>;
690                                 vback-porch = <21>;
691                                 vsync-len = <10>;
692                                 vfront-porch = <7>;
693                                 hsync-active = <0>;
694                                 vsync-active = <0>;
695                                 de-active = <1>;
696                                 pixelclk-active = <0>;
697                         };
698                 };
699         };
700 };
701
702 &nfc {
703         nand-bus-width = <8>;
704         nand-ecc-mode = "hw";
705         nand-on-flash-bbt;
706         status = "okay";
707 };
708
709 &pwm1 {
710         pinctrl-names = "default";
711         pinctrl-0 = <&pinctrl_pwm1_2>;
712 };
713
714 &pwm2 {
715         pinctrl-names = "default";
716         pinctrl-0 = <&pinctrl_pwm2_1>;
717 };
718
719 &sata {
720         status = "okay";
721 };
722
723 &sdma {
724         fsl,sdma-ram-script-name = "sdma-imx53.bin";
725 };
726
727 &ssi1 {
728         fsl,mode = "i2s-slave";
729         codec-handle = <&sgtl5000>;
730         status = "okay";
731 };
732
733 &ssi2 {
734         status = "okay";
735 };
736
737 &uart1 {
738         pinctrl-names = "default";
739         pinctrl-0 = <&pinctrl_uart1_2 &pinctrl_uart1_3>;
740         fsl,uart-has-rtscts;
741         status = "okay";
742 };
743
744 &uart2 {
745         pinctrl-names = "default";
746         pinctrl-0 = <&pinctrl_uart2_2>;
747         fsl,uart-has-rtscts;
748         status = "okay";
749 };
750
751 &uart3 {
752         pinctrl-names = "default";
753         pinctrl-0 = <&pinctrl_uart3_1>;
754         fsl,uart-has-rtscts;
755         status = "okay";
756 };
757
758 &usbh1 {
759         pinctrl-names = "default";
760         pinctrl-0 = <&pinctrl_tx53_usbh1_1>;
761         disable-over-current;
762         vbus-supply = <&reg_usbh1_vbus>;
763         status = "okay";
764 };
765
766 &usbotg {
767         pinctrl-names = "default";
768         pinctrl-0 = <&pinctrl_tx53_usbotg_1>;
769         disable-over-current;
770         vbus-supply = <&reg_usbotg_vbus>;
771         status = "okay";
772 };