Merge tag 'socfpga_dt_updates-for-3.16_take_2_version_2' of git://git.rocketboards...
[linux-2.6-block.git] / arch / arm / boot / dts / omap3-n900.dts
1 /*
2  * Copyright (C) 2013 Pavel Machek <pavel@ucw.cz>
3  * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 (or later) as
7  * published by the Free Software Foundation.
8  */
9
10 /dts-v1/;
11
12 #include "omap34xx-hs.dtsi"
13 #include <dt-bindings/input/input.h>
14
15 / {
16         model = "Nokia N900";
17         compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3";
18
19         cpus {
20                 cpu@0 {
21                         cpu0-supply = <&vcc>;
22                 };
23         };
24
25         memory {
26                 device_type = "memory";
27                 reg = <0x80000000 0x10000000>; /* 256 MB */
28         };
29
30         gpio_keys {
31                 compatible = "gpio-keys";
32
33                 camera_lens_cover {
34                         label = "Camera Lens Cover";
35                         gpios = <&gpio4 14 GPIO_ACTIVE_LOW>; /* 110 */
36                         linux,input-type = <5>; /* EV_SW */
37                         linux,code = <0x09>; /* SW_CAMERA_LENS_COVER */
38                         gpio-key,wakeup;
39                 };
40
41                 camera_focus {
42                         label = "Camera Focus";
43                         gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; /* 68 */
44                         linux,code = <0x210>; /* KEY_CAMERA_FOCUS */
45                         gpio-key,wakeup;
46                 };
47
48                 camera_capture {
49                         label = "Camera Capture";
50                         gpios = <&gpio3 5 GPIO_ACTIVE_LOW>; /* 69 */
51                         linux,code = <0xd4>; /* KEY_CAMERA */
52                         gpio-key,wakeup;
53                 };
54
55                 lock_button {
56                         label = "Lock Button";
57                         gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; /* 113 */
58                         linux,code = <0x98>; /* KEY_SCREENLOCK */
59                         gpio-key,wakeup;
60                 };
61
62                 keypad_slide {
63                         label = "Keypad Slide";
64                         gpios = <&gpio3 7 GPIO_ACTIVE_LOW>; /* 71 */
65                         linux,input-type = <5>; /* EV_SW */
66                         linux,code = <0x0a>; /* SW_KEYPAD_SLIDE */
67                         gpio-key,wakeup;
68                 };
69
70                 proximity_sensor {
71                         label = "Proximity Sensor";
72                         gpios = <&gpio3 25 GPIO_ACTIVE_HIGH>; /* 89 */
73                         linux,input-type = <5>; /* EV_SW */
74                         linux,code = <0x0b>; /* SW_FRONT_PROXIMITY */
75                 };
76         };
77
78         isp1704: isp1704 {
79                 compatible = "nxp,isp1704";
80                 nxp,enable-gpio = <&gpio3 3 GPIO_ACTIVE_HIGH>;
81                 usb-phy = <&usb2_phy>;
82         };
83
84         tv: connector {
85                 compatible = "composite-connector";
86                 label = "tv";
87
88                 port {
89                         tv_connector_in: endpoint {
90                                 remote-endpoint = <&venc_out>;
91                         };
92                 };
93         };
94
95         sound: n900-audio {
96                 compatible = "nokia,n900-audio";
97
98                 nokia,cpu-dai = <&mcbsp2>;
99                 nokia,audio-codec = <&tlv320aic3x>, <&tlv320aic3x_aux>;
100                 nokia,headphone-amplifier = <&tpa6130a2>;
101
102                 tvout-selection-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>; /* 40 */
103                 jack-detection-gpios = <&gpio6 17 GPIO_ACTIVE_HIGH>; /* 177 */
104                 eci-switch-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; /* 182 */
105                 speaker-amplifier-gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>;
106         };
107 };
108
109 &omap3_pmx_core {
110         pinctrl-names = "default";
111
112         uart2_pins: pinmux_uart2_pins {
113                 pinctrl-single,pins = <
114                         0x14a (PIN_INPUT | MUX_MODE0)           /* uart2_rx */
115                         0x148 (PIN_OUTPUT | MUX_MODE0)          /* uart2_tx */
116                 >;
117         };
118
119         uart3_pins: pinmux_uart3_pins {
120                 pinctrl-single,pins = <
121                         0x16e (PIN_INPUT | MUX_MODE0)           /* uart3_rx */
122                         0x170 (PIN_OUTPUT | MUX_MODE0)          /* uart3_tx */
123                 >;
124         };
125
126         i2c1_pins: pinmux_i2c1_pins {
127                 pinctrl-single,pins = <
128                         0x18a (PIN_INPUT_PULLUP | MUX_MODE0)    /* i2c1_scl */
129                         0x18c (PIN_INPUT_PULLUP | MUX_MODE0)    /* i2c1_sda */
130                 >;
131         };
132
133         i2c2_pins: pinmux_i2c2_pins {
134                 pinctrl-single,pins = <
135                         0x18e (PIN_INPUT_PULLUP | MUX_MODE0)    /* i2c2_scl */
136                         0x190 (PIN_INPUT_PULLUP | MUX_MODE0)    /* i2c2_sda */
137                 >;
138         };
139
140         i2c3_pins: pinmux_i2c3_pins {
141                 pinctrl-single,pins = <
142                         0x192 (PIN_INPUT_PULLUP | MUX_MODE0)    /* i2c3_scl */
143                         0x194 (PIN_INPUT_PULLUP | MUX_MODE0)    /* i2c3_sda */
144                 >;
145         };
146
147         mcspi4_pins: pinmux_mcspi4_pins {
148                 pinctrl-single,pins = <
149                         0x15c (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mcspi4_clk */
150                         0x162 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mcspi4_somi */
151                         0x160 (PIN_OUTPUT | MUX_MODE1) /* mcspi4_simo */
152                         0x166 (PIN_OUTPUT | MUX_MODE1) /* mcspi4_cs0 */
153                 >;
154         };
155
156         mmc1_pins: pinmux_mmc1_pins {
157                 pinctrl-single,pins = <
158                         0x114 (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc1_clk */
159                         0x116 (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc1_cmd */
160                         0x118 (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc1_dat0 */
161                         0x11a (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc1_dat1 */
162                         0x11c (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc1_dat2 */
163                         0x11e (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc1_dat3 */
164                 >;
165         };
166
167         mmc2_pins: pinmux_mmc2_pins {
168                 pinctrl-single,pins = <
169                         0x128 (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc2_clk */
170                         0x12a (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc2_cmd */
171                         0x12c (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc2_dat0 */
172                         0x12e (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc2_dat1 */
173                         0x130 (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc2_dat2 */
174                         0x132 (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc2_dat3 */
175                         0x134 (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc2_dat4 */
176                         0x136 (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc2_dat5 */
177                         0x138 (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc2_dat6 */
178                         0x13a (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc2_dat7 */
179                 >;
180         };
181
182         acx565akm_pins: pinmux_acx565akm_pins {
183                 pinctrl-single,pins = <
184                         0x0d4 (PIN_OUTPUT | MUX_MODE4)          /* RX51_LCD_RESET_GPIO */
185                 >;
186         };
187
188         dss_sdi_pins: pinmux_dss_sdi_pins {
189                 pinctrl-single,pins = <
190                         0x0c0 (PIN_OUTPUT | MUX_MODE1)   /* dss_data10.sdi_dat1n */
191                         0x0c2 (PIN_OUTPUT | MUX_MODE1)   /* dss_data11.sdi_dat1p */
192                         0x0c4 (PIN_OUTPUT | MUX_MODE1)   /* dss_data12.sdi_dat2n */
193                         0x0c6 (PIN_OUTPUT | MUX_MODE1)   /* dss_data13.sdi_dat2p */
194
195                         0x0d8 (PIN_OUTPUT | MUX_MODE1)   /* dss_data22.sdi_clkp */
196                         0x0da (PIN_OUTPUT | MUX_MODE1)   /* dss_data23.sdi_clkn */
197                 >;
198         };
199
200         wl1251_pins: pinmux_wl1251 {
201                 pinctrl-single,pins = <
202                         0x0ce (PIN_OUTPUT | MUX_MODE4)          /* gpio 87 => wl1251 enable */
203                         0x05a (PIN_INPUT | MUX_MODE4)           /* gpio 42 => wl1251 irq */
204                 >;
205         };
206 };
207
208 &i2c1 {
209         pinctrl-names = "default";
210         pinctrl-0 = <&i2c1_pins>;
211
212         clock-frequency = <2200000>;
213
214         twl: twl@48 {
215                 reg = <0x48>;
216                 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
217                 interrupt-parent = <&intc>;
218         };
219 };
220
221 #include "twl4030.dtsi"
222 #include "twl4030_omap3.dtsi"
223
224 &vaux1 {
225         regulator-name = "V28";
226         regulator-min-microvolt = <2800000>;
227         regulator-max-microvolt = <2800000>;
228         regulator-always-on; /* due battery cover sensor */
229 };
230
231 &vaux2 {
232         regulator-name = "VCSI";
233         regulator-min-microvolt = <1800000>;
234         regulator-max-microvolt = <1800000>;
235 };
236
237 &vaux3 {
238         regulator-name = "VMMC2_30";
239         regulator-min-microvolt = <2800000>;
240         regulator-max-microvolt = <3000000>;
241 };
242
243 &vaux4 {
244         regulator-name = "VCAM_ANA_28";
245         regulator-min-microvolt = <2800000>;
246         regulator-max-microvolt = <2800000>;
247 };
248
249 &vmmc1 {
250         regulator-name = "VMMC1";
251         regulator-min-microvolt = <1850000>;
252         regulator-max-microvolt = <3150000>;
253 };
254
255 &vmmc2 {
256         regulator-name = "V28_A";
257         regulator-min-microvolt = <2800000>;
258         regulator-max-microvolt = <3000000>;
259         regulator-always-on; /* due VIO leak to AIC34 VDDs */
260 };
261
262 &vpll1 {
263         regulator-name = "VPLL";
264         regulator-min-microvolt = <1800000>;
265         regulator-max-microvolt = <1800000>;
266         regulator-always-on;
267 };
268
269 &vpll2 {
270         regulator-name = "VSDI_CSI";
271         regulator-min-microvolt = <1800000>;
272         regulator-max-microvolt = <1800000>;
273         regulator-always-on;
274 };
275
276 &vsim {
277         regulator-name = "VMMC2_IO_18";
278         regulator-min-microvolt = <1800000>;
279         regulator-max-microvolt = <1800000>;
280 };
281
282 &vio {
283         regulator-name = "VIO";
284         regulator-min-microvolt = <1800000>;
285         regulator-max-microvolt = <1800000>;
286
287 };
288
289 &vintana1 {
290         regulator-name = "VINTANA1";
291         /* fixed to 1500000 */
292         regulator-always-on;
293 };
294
295 &vintana2 {
296         regulator-name = "VINTANA2";
297         regulator-min-microvolt = <2750000>;
298         regulator-max-microvolt = <2750000>;
299         regulator-always-on;
300 };
301
302 &vintdig {
303         regulator-name = "VINTDIG";
304         /* fixed to 1500000 */
305         regulator-always-on;
306 };
307
308 &twl {
309         twl_audio: audio {
310                 compatible = "ti,twl4030-audio";
311                 ti,enable-vibra = <1>;
312         };
313 };
314
315 &twl_keypad {
316         linux,keymap = < MATRIX_KEY(0x00, 0x00, KEY_Q)
317                          MATRIX_KEY(0x00, 0x01, KEY_O)
318                          MATRIX_KEY(0x00, 0x02, KEY_P)
319                          MATRIX_KEY(0x00, 0x03, KEY_COMMA)
320                          MATRIX_KEY(0x00, 0x04, KEY_BACKSPACE)
321                          MATRIX_KEY(0x00, 0x06, KEY_A)
322                          MATRIX_KEY(0x00, 0x07, KEY_S)
323
324                          MATRIX_KEY(0x01, 0x00, KEY_W)
325                          MATRIX_KEY(0x01, 0x01, KEY_D)
326                          MATRIX_KEY(0x01, 0x02, KEY_F)
327                          MATRIX_KEY(0x01, 0x03, KEY_G)
328                          MATRIX_KEY(0x01, 0x04, KEY_H)
329                          MATRIX_KEY(0x01, 0x05, KEY_J)
330                          MATRIX_KEY(0x01, 0x06, KEY_K)
331                          MATRIX_KEY(0x01, 0x07, KEY_L)
332
333                          MATRIX_KEY(0x02, 0x00, KEY_E)
334                          MATRIX_KEY(0x02, 0x01, KEY_DOT)
335                          MATRIX_KEY(0x02, 0x02, KEY_UP)
336                          MATRIX_KEY(0x02, 0x03, KEY_ENTER)
337                          MATRIX_KEY(0x02, 0x05, KEY_Z)
338                          MATRIX_KEY(0x02, 0x06, KEY_X)
339                          MATRIX_KEY(0x02, 0x07, KEY_C)
340                          MATRIX_KEY(0x02, 0x08, KEY_F9)
341
342                          MATRIX_KEY(0x03, 0x00, KEY_R)
343                          MATRIX_KEY(0x03, 0x01, KEY_V)
344                          MATRIX_KEY(0x03, 0x02, KEY_B)
345                          MATRIX_KEY(0x03, 0x03, KEY_N)
346                          MATRIX_KEY(0x03, 0x04, KEY_M)
347                          MATRIX_KEY(0x03, 0x05, KEY_SPACE)
348                          MATRIX_KEY(0x03, 0x06, KEY_SPACE)
349                          MATRIX_KEY(0x03, 0x07, KEY_LEFT)
350
351                          MATRIX_KEY(0x04, 0x00, KEY_T)
352                          MATRIX_KEY(0x04, 0x01, KEY_DOWN)
353                          MATRIX_KEY(0x04, 0x02, KEY_RIGHT)
354                          MATRIX_KEY(0x04, 0x04, KEY_LEFTCTRL)
355                          MATRIX_KEY(0x04, 0x05, KEY_RIGHTALT)
356                          MATRIX_KEY(0x04, 0x06, KEY_LEFTSHIFT)
357                          MATRIX_KEY(0x04, 0x08, KEY_F10)
358
359                          MATRIX_KEY(0x05, 0x00, KEY_Y)
360                          MATRIX_KEY(0x05, 0x08, KEY_F11)
361
362                          MATRIX_KEY(0x06, 0x00, KEY_U)
363
364                          MATRIX_KEY(0x07, 0x00, KEY_I)
365                          MATRIX_KEY(0x07, 0x01, KEY_F7)
366                          MATRIX_KEY(0x07, 0x02, KEY_F8)
367                          >;
368 };
369
370 &twl_gpio {
371         ti,pullups      = <0x0>;
372         ti,pulldowns    = <0x03ff3f>; /* BIT(0..5) | BIT(8..17) */
373 };
374
375 &i2c2 {
376         pinctrl-names = "default";
377         pinctrl-0 = <&i2c2_pins>;
378
379         clock-frequency = <100000>;
380
381         tlv320aic3x: tlv320aic3x@18 {
382                 compatible = "ti,tlv320aic3x";
383                 reg = <0x18>;
384                 gpio-reset = <&gpio2 28 GPIO_ACTIVE_HIGH>; /* 60 */
385                 ai3x-gpio-func = <
386                         0 /* AIC3X_GPIO1_FUNC_DISABLED */
387                         5 /* AIC3X_GPIO2_FUNC_DIGITAL_MIC_INPUT */
388                 >;
389
390                 AVDD-supply = <&vmmc2>;
391                 DRVDD-supply = <&vmmc2>;
392                 IOVDD-supply = <&vio>;
393                 DVDD-supply = <&vio>;
394         };
395
396         tlv320aic3x_aux: tlv320aic3x@19 {
397                 compatible = "ti,tlv320aic3x";
398                 reg = <0x19>;
399                 gpio-reset = <&gpio2 28 GPIO_ACTIVE_HIGH>; /* 60 */
400
401                 AVDD-supply = <&vmmc2>;
402                 DRVDD-supply = <&vmmc2>;
403                 IOVDD-supply = <&vio>;
404                 DVDD-supply = <&vio>;
405         };
406
407         tsl2563: tsl2563@29 {
408                 compatible = "amstaos,tsl2563";
409                 reg = <0x29>;
410
411                 amstaos,cover-comp-gain = <16>;
412         };
413
414         lp5523: lp5523@32 {
415                 compatible = "national,lp5523";
416                 reg = <0x32>;
417                 clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
418                 enable-gpio = <&gpio2 9 GPIO_ACTIVE_HIGH>; /* 41 */
419
420                 chan0 {
421                         chan-name = "lp5523:kb1";
422                         led-cur = /bits/ 8 <50>;
423                         max-cur = /bits/ 8 <100>;
424                 };
425
426                 chan1 {
427                         chan-name = "lp5523:kb2";
428                         led-cur = /bits/ 8 <50>;
429                         max-cur = /bits/ 8 <100>;
430                 };
431
432                 chan2 {
433                         chan-name = "lp5523:kb3";
434                         led-cur = /bits/ 8 <50>;
435                         max-cur = /bits/ 8 <100>;
436                 };
437
438                 chan3 {
439                         chan-name = "lp5523:kb4";
440                         led-cur = /bits/ 8 <50>;
441                         max-cur = /bits/ 8 <100>;
442                 };
443
444                 chan4 {
445                         chan-name = "lp5523:b";
446                         led-cur = /bits/ 8 <50>;
447                         max-cur = /bits/ 8 <100>;
448                 };
449
450                 chan5 {
451                         chan-name = "lp5523:g";
452                         led-cur = /bits/ 8 <50>;
453                         max-cur = /bits/ 8 <100>;
454                 };
455
456                 chan6 {
457                         chan-name = "lp5523:r";
458                         led-cur = /bits/ 8 <50>;
459                         max-cur = /bits/ 8 <100>;
460                 };
461
462                 chan7 {
463                         chan-name = "lp5523:kb5";
464                         led-cur = /bits/ 8 <50>;
465                         max-cur = /bits/ 8 <100>;
466                 };
467
468                 chan8 {
469                         chan-name = "lp5523:kb6";
470                         led-cur = /bits/ 8 <50>;
471                         max-cur = /bits/ 8 <100>;
472                 };
473         };
474
475         bq27200: bq27200@55 {
476                 compatible = "ti,bq27200";
477                 reg = <0x55>;
478         };
479
480         tpa6130a2: tpa6130a2@60 {
481                 compatible = "ti,tpa6130a2";
482                 reg = <0x60>;
483
484                 Vdd-supply = <&vmmc2>;
485
486                 power-gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>; /* 98 */
487         };
488
489         bq24150a: bq24150a@6b {
490                 compatible = "ti,bq24150a";
491                 reg = <0x6b>;
492
493                 ti,current-limit = <100>;
494                 ti,weak-battery-voltage = <3400>;
495                 ti,battery-regulation-voltage = <4200>;
496                 ti,charge-current = <650>;
497                 ti,termination-current = <100>;
498                 ti,resistor-sense = <68>;
499
500                 ti,usb-charger-detection = <&isp1704>;
501         };
502 };
503
504 &i2c3 {
505         pinctrl-names = "default";
506         pinctrl-0 = <&i2c3_pins>;
507
508         clock-frequency = <400000>;
509 };
510
511 &mmc1 {
512         pinctrl-names = "default";
513         pinctrl-0 = <&mmc1_pins>;
514         vmmc-supply = <&vmmc1>;
515         bus-width = <4>;
516         cd-gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>; /* 160 */
517 };
518
519 /* most boards use vaux3, only some old versions use vmmc2 instead */
520 &mmc2 {
521         pinctrl-names = "default";
522         pinctrl-0 = <&mmc2_pins>;
523         vmmc-supply = <&vaux3>;
524         vmmc_aux-supply = <&vsim>;
525         bus-width = <8>;
526         non-removable;
527 };
528
529 &mmc3 {
530         status = "disabled";
531 };
532
533 &gpmc {
534         ranges = <0 0 0x04000000 0x10000000>; /* 256MB */
535
536         /* gpio-irq for dma: 65 */
537
538         onenand@0,0 {
539                 #address-cells = <1>;
540                 #size-cells = <1>;
541                 reg = <0 0 0x10000000>;
542
543                 gpmc,sync-read;
544                 gpmc,sync-write;
545                 gpmc,burst-length = <16>;
546                 gpmc,burst-read;
547                 gpmc,burst-wrap;
548                 gpmc,burst-write;
549                 gpmc,device-width = <2>; /* GPMC_DEVWIDTH_16BIT */
550                 gpmc,mux-add-data = <2>; /* GPMC_MUX_AD */
551                 gpmc,cs-on-ns = <0>;
552                 gpmc,cs-rd-off-ns = <87>;
553                 gpmc,cs-wr-off-ns = <87>;
554                 gpmc,adv-on-ns = <0>;
555                 gpmc,adv-rd-off-ns = <10>;
556                 gpmc,adv-wr-off-ns = <10>;
557                 gpmc,oe-on-ns = <15>;
558                 gpmc,oe-off-ns = <87>;
559                 gpmc,we-on-ns = <0>;
560                 gpmc,we-off-ns = <87>;
561                 gpmc,rd-cycle-ns = <112>;
562                 gpmc,wr-cycle-ns = <112>;
563                 gpmc,access-ns = <81>;
564                 gpmc,page-burst-access-ns = <15>;
565                 gpmc,bus-turnaround-ns = <0>;
566                 gpmc,cycle2cycle-delay-ns = <0>;
567                 gpmc,wait-monitoring-ns = <0>;
568                 gpmc,clk-activation-ns = <5>;
569                 gpmc,wr-data-mux-bus-ns = <30>;
570                 gpmc,wr-access-ns = <81>;
571                 gpmc,sync-clk-ps = <15000>;
572
573                 /*
574                  * MTD partition table corresponding to Nokia's
575                  * Maemo 5 (Fremantle) release.
576                  */
577                 partition@0 {
578                         label = "bootloader";
579                         reg = <0x00000000 0x00020000>;
580                         read-only;
581                 };
582                 partition@1 {
583                         label = "config";
584                         reg = <0x00020000 0x00060000>;
585                 };
586                 partition@2 {
587                         label = "log";
588                         reg = <0x00080000 0x00040000>;
589                 };
590                 partition@3 {
591                         label = "kernel";
592                         reg = <0x000c0000 0x00200000>;
593                 };
594                 partition@4 {
595                         label = "initfs";
596                         reg = <0x002c0000 0x00200000>;
597                 };
598                 partition@5 {
599                         label = "rootfs";
600                         reg = <0x004c0000 0x0fb40000>;
601                 };
602         };
603 };
604
605 &mcspi1 {
606         /*
607          * For some reason, touchscreen is necessary for screen to work at
608          * all on real hw. It works well without it on emulator.
609          *
610          * Also... order in the device tree actually matters here.
611          */
612         tsc2005@0 {
613                 compatible = "tsc2005";
614                 spi-max-frequency = <6000000>;
615                 reg = <0>;
616         };
617
618         acx565akm@2 {
619                 compatible = "sony,acx565akm";
620                 spi-max-frequency = <6000000>;
621                 reg = <2>;
622
623                 pinctrl-names = "default";
624                 pinctrl-0 = <&acx565akm_pins>;
625
626                 label = "lcd";
627                 reset-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* 90 */
628
629                 port {
630                         lcd_in: endpoint {
631                                 remote-endpoint = <&sdi_out>;
632                         };
633                 };
634         };
635 };
636
637 &mcspi4 {
638         pinctrl-names = "default";
639         pinctrl-0 = <&mcspi4_pins>;
640
641         wl1251@0 {
642                 pinctrl-names = "default";
643                 pinctrl-0 = <&wl1251_pins>;
644
645                 vio-supply = <&vio>;
646
647                 compatible = "ti,wl1251";
648                 reg = <0>;
649                 spi-max-frequency = <48000000>;
650
651                 spi-cpol;
652                 spi-cpha;
653
654                 ti,power-gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */
655
656                 interrupt-parent = <&gpio2>;
657                 interrupts = <10 IRQ_TYPE_NONE>; /* gpio line 42 */
658         };
659 };
660
661 &usb_otg_hs {
662         interface-type = <0>;
663         usb-phy = <&usb2_phy>;
664         phys = <&usb2_phy>;
665         phy-names = "usb2-phy";
666         mode = <2>;
667         power = <50>;
668 };
669
670 &uart1 {
671         status = "disabled";
672 };
673
674 &uart2 {
675         pinctrl-names = "default";
676         pinctrl-0 = <&uart2_pins>;
677 };
678
679 &uart3 {
680         pinctrl-names = "default";
681         pinctrl-0 = <&uart3_pins>;
682 };
683
684 &dss {
685         status = "ok";
686
687         pinctrl-names = "default";
688         pinctrl-0 = <&dss_sdi_pins>;
689
690         vdds_sdi-supply = <&vaux1>;
691
692         ports {
693                 #address-cells = <1>;
694                 #size-cells = <0>;
695
696                 port@1 {
697                         reg = <1>;
698
699                         sdi_out: endpoint {
700                                 remote-endpoint = <&lcd_in>;
701                                 datapairs = <2>;
702                         };
703                 };
704         };
705 };
706
707 &venc {
708         status = "ok";
709
710         vdda-supply = <&vdac>;
711
712         port {
713                 venc_out: endpoint {
714                         remote-endpoint = <&tv_connector_in>;
715                         ti,channels = <1>;
716                 };
717         };
718 };
719
720 &mcbsp2 {
721         status = "ok";
722 };