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