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