Loading...
1/*
2 * omap3-n950-n9.dtsi - Device Tree file for Nokia N950 & N9 (common stuff)
3 *
4 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11#include "omap36xx.dtsi"
12
13/ {
14 cpus {
15 cpu@0 {
16 cpu0-supply = <&vcc>;
17 operating-points = <
18 /* kHz uV */
19 300000 1012500
20 600000 1200000
21 800000 1325000
22 1000000 1375000
23 >;
24 };
25 };
26
27 memory@80000000 {
28 device_type = "memory";
29 reg = <0x80000000 0x40000000>; /* 1 GB */
30 };
31
32 vemmc: fixedregulator0 {
33 compatible = "regulator-fixed";
34 regulator-name = "VEMMC";
35 regulator-min-microvolt = <2900000>;
36 regulator-max-microvolt = <2900000>;
37 gpio = <&gpio5 29 GPIO_ACTIVE_HIGH>; /* gpio line 157 */
38 startup-delay-us = <150>;
39 enable-active-high;
40 };
41
42 vwlan_fixed: fixedregulator2 {
43 compatible = "regulator-fixed";
44 regulator-name = "VWLAN";
45 gpio = <&gpio2 3 GPIO_ACTIVE_HIGH>; /* gpio 35 */
46 enable-active-high;
47 regulator-boot-off;
48 };
49
50 leds {
51 compatible = "gpio-leds";
52
53 heartbeat {
54 label = "debug::sleep";
55 gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>; /* gpio92 */
56 linux,default-trigger = "default-on";
57 pinctrl-names = "default";
58 pinctrl-0 = <&debug_leds>;
59 };
60 };
61
62 /* controlled (enabled/disabled) directly by wl1271 */
63 vctcxo: vctcxo {
64 compatible = "fixed-clock";
65 #clock-cells = <0>;
66 clock-frequency = <38400000>;
67 };
68};
69
70&omap3_pmx_core {
71 accelerator_pins: pinmux_accelerator_pins {
72 pinctrl-single,pins = <
73 OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT | MUX_MODE4) /* mcspi2_somi.gpio_180 -> LIS302 INT1 */
74 OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT | MUX_MODE4) /* mcspi2_cs0.gpio_181 -> LIS302 INT2 */
75 >;
76 };
77
78 debug_leds: pinmux_debug_led_pins {
79 pinctrl-single,pins = <
80 OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE4) /* dss_data22.gpio_92 */
81 >;
82 };
83
84 mmc2_pins: pinmux_mmc2_pins {
85 pinctrl-single,pins = <
86 OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk */
87 OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd */
88 OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0 */
89 OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1 */
90 OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2 */
91 OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3 */
92 >;
93 };
94
95 wlan_pins: pinmux_wlan_pins {
96 pinctrl-single,pins = <
97 OMAP3_CORE1_IOPAD(0x207c, PIN_OUTPUT | MUX_MODE4) /* gpio 35 - wlan enable */
98 OMAP3_CORE1_IOPAD(0x208a, PIN_INPUT | MUX_MODE4) /* gpio 42 - wlan irq */
99 >;
100 };
101
102 ssi_pins: pinmux_ssi_pins {
103 pinctrl-single,pins = <
104 OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE1) /* ssi1_dat_tx */
105 OMAP3_CORE1_IOPAD(0x217e, PIN_OUTPUT | MUX_MODE1) /* ssi1_flag_tx */
106 OMAP3_CORE1_IOPAD(0x2180, PIN_INPUT_PULLUP | MUX_MODE1) /* ssi1_rdy_tx */
107 OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | MUX_MODE4) /* ssi1_wake_tx (cawake) */
108 OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT | MUX_MODE1) /* ssi1_dat_rx */
109 OMAP3_CORE1_IOPAD(0x2186, PIN_INPUT | MUX_MODE1) /* ssi1_flag_rx */
110 OMAP3_CORE1_IOPAD(0x2188, PIN_OUTPUT | MUX_MODE1) /* ssi1_rdy_rx */
111 OMAP3_CORE1_IOPAD(0x218a, PIN_OUTPUT | MUX_MODE1) /* ssi1_wake */
112 >;
113 };
114
115 ssi_pins_idle: pinmux_ssi_pins_idle {
116 pinctrl-single,pins = <
117 OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE7) /* ssi1_dat_tx */
118 OMAP3_CORE1_IOPAD(0x217e, PIN_OUTPUT | MUX_MODE7) /* ssi1_flag_tx */
119 OMAP3_CORE1_IOPAD(0x2180, PIN_INPUT_PULLDOWN | MUX_MODE7) /* ssi1_rdy_tx */
120 OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | MUX_MODE4) /* ssi1_wake_tx (cawake) */
121 OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT | MUX_MODE7) /* ssi1_dat_rx */
122 OMAP3_CORE1_IOPAD(0x2186, PIN_INPUT | MUX_MODE7) /* ssi1_flag_rx */
123 OMAP3_CORE1_IOPAD(0x2188, PIN_OUTPUT | MUX_MODE4) /* ssi1_rdy_rx */
124 OMAP3_CORE1_IOPAD(0x218a, PIN_OUTPUT | MUX_MODE7) /* ssi1_wake */
125 >;
126 };
127
128 modem_pins1: pinmux_modem_core1_pins {
129 pinctrl-single,pins = <
130 OMAP3_CORE1_IOPAD(0x207a, PIN_INPUT | MUX_MODE4) /* gpio_34 (ape_rst_rq) */
131 OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE4) /* gpio_88 (cmt_rst_rq) */
132 OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE4) /* gpio_93 (cmt_apeslpx) */
133 >;
134 };
135
136 uart2_pins: pinmux_uart2_pins {
137 pinctrl-single,pins = <
138 OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts */
139 OMAP3_CORE1_IOPAD(0x2176, PIN_OUTPUT | MUX_MODE0) /* uart2_rts */
140 OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0) /* uart2_tx */
141 OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx */
142 >;
143 };
144};
145
146&omap3_pmx_core2 {
147 modem_pins2: pinmux_modem_core2_pins {
148 pinctrl-single,pins = <
149 OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* gpio_23 (cmt_en) */
150 >;
151 };
152};
153
154&i2c1 {
155 clock-frequency = <2900000>;
156
157 twl: twl@48 {
158 reg = <0x48>;
159 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
160 interrupt-parent = <&intc>;
161 };
162};
163
164/include/ "twl4030.dtsi"
165
166&twl {
167 compatible = "ti,twl5031";
168
169 twl_power: power {
170 compatible = "ti,twl4030-power";
171 ti,use_poweroff;
172 };
173};
174
175&twl_gpio {
176 ti,pullups = <0x000001>; /* BIT(0) */
177 ti,pulldowns = <0x008106>; /* BIT(1) | BIT(2) | BIT(8) | BIT(15) */
178};
179
180&vdac {
181 regulator-name = "vdac";
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <1800000>;
184};
185
186&vpll1 {
187 regulator-name = "vpll1";
188 regulator-min-microvolt = <1800000>;
189 regulator-max-microvolt = <1800000>;
190};
191
192&vpll2 {
193 regulator-name = "vpll2";
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <1800000>;
196};
197
198&vaux1 {
199 regulator-name = "vaux1";
200 regulator-min-microvolt = <2800000>;
201 regulator-max-microvolt = <2800000>;
202};
203
204/* CSI-2 receiver */
205&vaux2 {
206 regulator-name = "vaux2";
207 regulator-min-microvolt = <1800000>;
208 regulator-max-microvolt = <1800000>;
209};
210
211/* Cameras */
212&vaux3 {
213 regulator-name = "vaux3";
214 regulator-min-microvolt = <2800000>;
215 regulator-max-microvolt = <2800000>;
216};
217
218&vaux4 {
219 regulator-name = "vaux4";
220 regulator-min-microvolt = <2800000>;
221 regulator-max-microvolt = <2800000>;
222};
223
224&vmmc1 {
225 regulator-name = "vmmc1";
226 regulator-min-microvolt = <1850000>;
227 regulator-max-microvolt = <3150000>;
228};
229
230&vmmc2 {
231 regulator-name = "vmmc2";
232 regulator-min-microvolt = <3000000>;
233 regulator-max-microvolt = <3000000>;
234};
235
236&vintana1 {
237 regulator-name = "vintana1";
238 regulator-min-microvolt = <1500000>;
239 regulator-max-microvolt = <1500000>;
240};
241
242&vintana2 {
243 regulator-name = "vintana2";
244 regulator-min-microvolt = <2750000>;
245 regulator-max-microvolt = <2750000>;
246};
247
248&vintdig {
249 regulator-name = "vintdig";
250 regulator-min-microvolt = <1500000>;
251 regulator-max-microvolt = <1500000>;
252};
253
254&vsim {
255 regulator-name = "vsim";
256 regulator-min-microvolt = <1800000>;
257 regulator-max-microvolt = <1800000>;
258};
259
260&vio {
261 regulator-name = "vio";
262 regulator-min-microvolt = <1800000>;
263 regulator-max-microvolt = <1800000>;
264};
265
266&i2c2 {
267 clock-frequency = <400000>;
268
269 as3645a@30 {
270 #address-cells = <1>;
271 #size-cells = <0>;
272 reg = <0x30>;
273 compatible = "ams,as3645a";
274 as3645a_flash: flash@0 {
275 reg = <0x0>;
276 flash-timeout-us = <150000>;
277 flash-max-microamp = <320000>;
278 led-max-microamp = <60000>;
279 ams,input-max-microamp = <1750000>;
280 };
281 as3645a_indicator: indicator@1 {
282 reg = <0x1>;
283 led-max-microamp = <10000>;
284 };
285 };
286};
287
288&i2c3 {
289 clock-frequency = <400000>;
290
291 lis302: lis302@1d {
292 compatible = "st,lis3lv02d";
293 reg = <0x1d>;
294
295 Vdd-supply = <&vaux1>;
296 Vdd_IO-supply = <&vio>;
297
298 pinctrl-names = "default";
299 pinctrl-0 = <&accelerator_pins>;
300
301 interrupts-extended = <&gpio6 20 IRQ_TYPE_EDGE_FALLING>, <&gpio6 21 IRQ_TYPE_EDGE_FALLING>; /* 180, 181 */
302
303 /* click flags */
304 st,click-single-x;
305 st,click-single-y;
306 st,click-single-z;
307
308 /* Limits are 0.5g * value */
309 st,click-threshold-x = <8>;
310 st,click-threshold-y = <8>;
311 st,click-threshold-z = <10>;
312
313 /* Click must be longer than time limit */
314 st,click-time-limit = <9>;
315
316 /* Kind of debounce filter */
317 st,click-latency = <50>;
318
319 st,wakeup-x-hi;
320 st,wakeup-y-hi;
321 st,wakeup-threshold = <(800/18)>; /* millig-value / 18 to get HW values */
322
323 st,wakeup2-z-hi;
324 st,wakeup2-threshold = <(1000/18)>; /* millig-value / 18 to get HW values */
325
326 st,highpass-cutoff-hz = <2>;
327
328 /* Interrupt line 1 for thresholds */
329 st,irq1-ff-wu-1;
330 st,irq1-ff-wu-2;
331 /* Interrupt line 2 for click detection */
332 st,irq2-click;
333
334 st,wu-duration-1 = <8>;
335 st,wu-duration-2 = <8>;
336 };
337};
338
339&mmc1 {
340 status = "disabled";
341};
342
343&mmc2 {
344 pinctrl-names = "default";
345 pinctrl-0 = <&mmc2_pins>;
346 vmmc-supply = <&vemmc>;
347 bus-width = <4>;
348 ti,non-removable;
349};
350
351&mmc3 {
352 status = "disabled";
353};
354
355&usb_otg_hs {
356 interface-type = <0>;
357 usb-phy = <&usb2_phy>;
358 phys = <&usb2_phy>;
359 phy-names = "usb2-phy";
360 mode = <3>;
361 power = <50>;
362};
363
364&gpmc {
365 ranges = <0 0 0x04000000 0x1000000>; /* CS0: 16MB for OneNAND */
366
367 onenand@0,0 {
368 #address-cells = <1>;
369 #size-cells = <1>;
370 compatible = "ti,omap2-onenand";
371 reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */
372
373 gpmc,sync-read;
374 gpmc,sync-write;
375 gpmc,burst-length = <16>;
376 gpmc,burst-read;
377 gpmc,burst-wrap;
378 gpmc,burst-write;
379 gpmc,device-width = <2>;
380 gpmc,mux-add-data = <2>;
381 gpmc,cs-on-ns = <0>;
382 gpmc,cs-rd-off-ns = <87>;
383 gpmc,cs-wr-off-ns = <87>;
384 gpmc,adv-on-ns = <0>;
385 gpmc,adv-rd-off-ns = <10>;
386 gpmc,adv-wr-off-ns = <10>;
387 gpmc,oe-on-ns = <15>;
388 gpmc,oe-off-ns = <87>;
389 gpmc,we-on-ns = <0>;
390 gpmc,we-off-ns = <87>;
391 gpmc,rd-cycle-ns = <112>;
392 gpmc,wr-cycle-ns = <112>;
393 gpmc,access-ns = <81>;
394 gpmc,page-burst-access-ns = <15>;
395 gpmc,bus-turnaround-ns = <0>;
396 gpmc,cycle2cycle-delay-ns = <0>;
397 gpmc,wait-monitoring-ns = <0>;
398 gpmc,clk-activation-ns = <5>;
399 gpmc,wr-data-mux-bus-ns = <30>;
400 gpmc,wr-access-ns = <81>;
401 gpmc,sync-clk-ps = <15000>;
402
403 /*
404 * MTD partition table corresponding to Nokia's MeeGo 1.2
405 * Harmattan release.
406 */
407 partition@0 {
408 label = "bootloader";
409 reg = <0x00000000 0x00100000>;
410 };
411 partition@1 {
412 label = "config";
413 reg = <0x00100000 0x002c0000>;
414 };
415 partition@2 {
416 label = "kernel";
417 reg = <0x003c0000 0x01000000>;
418 };
419 partition@3 {
420 label = "log";
421 reg = <0x013c0000 0x00200000>;
422 };
423 partition@4 {
424 label = "var";
425 reg = <0x015c0000 0x1ca40000>;
426 };
427 partition@5 {
428 label = "moslo";
429 reg = <0x1e000000 0x02000000>;
430 };
431 partition@6 {
432 label = "omap2-onenand";
433 reg = <0x00000000 0x20000000>;
434 };
435 };
436};
437
438&ssi_port1 {
439 pinctrl-names = "default", "idle";
440 pinctrl-0 = <&ssi_pins>;
441 pinctrl-1 = <&ssi_pins_idle>;
442
443 ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */
444
445 modem: hsi-client {
446 pinctrl-names = "default";
447 pinctrl-0 = <&modem_pins1 &modem_pins2>;
448
449 hsi-channel-ids = <0>, <1>, <2>, <3>;
450 hsi-channel-names = "mcsaab-control",
451 "speech-control",
452 "speech-data",
453 "mcsaab-data";
454 hsi-speed-kbps = <96000>;
455 hsi-mode = "frame";
456 hsi-flow = "synchronized";
457 hsi-arb-mode = "round-robin";
458
459 interrupts-extended = <&gpio2 2 IRQ_TYPE_EDGE_RISING>; /* gpio 34 */
460
461 gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>, /* gpio 93 */
462 <&gpio3 24 GPIO_ACTIVE_HIGH>, /* gpio 88 */
463 <&gpio1 23 GPIO_ACTIVE_HIGH>; /* gpio 23 */
464 gpio-names = "cmt_apeslpx",
465 "cmt_rst_rq",
466 "cmt_en";
467 };
468};
469
470&ssi_port2 {
471 status = "disabled";
472};
473
474&uart2 {
475 pinctrl-names = "default";
476 pinctrl-0 = <&uart2_pins>;
477
478 bluetooth {
479 compatible = "ti,wl1271-bluetooth-nokia", "nokia,h4p-bluetooth";
480
481 reset-gpios = <&gpio1 26 GPIO_ACTIVE_LOW>; /* 26 */
482 host-wakeup-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* 101 */
483 bluetooth-wakeup-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* 37 */
484
485 clocks = <&vctcxo>;
486 clock-names = "sysclk";
487 };
488};
1/*
2 * omap3-n950-n9.dtsi - Device Tree file for Nokia N950 & N9 (common stuff)
3 *
4 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11#include "omap36xx.dtsi"
12
13/ {
14 cpus {
15 cpu@0 {
16 cpu0-supply = <&vcc>;
17 };
18 };
19
20 memory {
21 device_type = "memory";
22 reg = <0x80000000 0x40000000>; /* 1 GB */
23 };
24
25 vemmc: fixedregulator@0 {
26 compatible = "regulator-fixed";
27 regulator-name = "VEMMC";
28 regulator-min-microvolt = <2900000>;
29 regulator-max-microvolt = <2900000>;
30 gpio = <&gpio5 29 GPIO_ACTIVE_HIGH>; /* gpio line 157 */
31 startup-delay-us = <150>;
32 enable-active-high;
33 };
34
35 vwlan_fixed: fixedregulator@2 {
36 compatible = "regulator-fixed";
37 regulator-name = "VWLAN";
38 gpio = <&gpio2 3 GPIO_ACTIVE_HIGH>; /* gpio 35 */
39 enable-active-high;
40 regulator-boot-off;
41 };
42};
43
44&omap3_pmx_core {
45 mmc2_pins: pinmux_mmc2_pins {
46 pinctrl-single,pins = <
47 OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk */
48 OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd */
49 OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0 */
50 OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1 */
51 OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2 */
52 OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3 */
53 >;
54 };
55
56 wlan_pins: pinmux_wlan_pins {
57 pinctrl-single,pins = <
58 OMAP3_CORE1_IOPAD(0x207c, PIN_OUTPUT | MUX_MODE4) /* gpio 35 - wlan enable */
59 OMAP3_CORE1_IOPAD(0x208a, PIN_INPUT | MUX_MODE4) /* gpio 42 - wlan irq */
60 >;
61 };
62
63 ssi_pins: pinmux_ssi_pins {
64 pinctrl-single,pins = <
65 OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE1) /* ssi1_dat_tx */
66 OMAP3_CORE1_IOPAD(0x217e, PIN_OUTPUT | MUX_MODE1) /* ssi1_flag_tx */
67 OMAP3_CORE1_IOPAD(0x2180, PIN_INPUT_PULLUP | MUX_MODE1) /* ssi1_rdy_tx */
68 OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | WAKEUP_EN | MUX_MODE4) /* ssi1_wake_tx (cawake) */
69 OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT | MUX_MODE1) /* ssi1_dat_rx */
70 OMAP3_CORE1_IOPAD(0x2186, PIN_INPUT | MUX_MODE1) /* ssi1_flag_rx */
71 OMAP3_CORE1_IOPAD(0x2188, PIN_OUTPUT | MUX_MODE1) /* ssi1_rdy_rx */
72 OMAP3_CORE1_IOPAD(0x218a, PIN_OUTPUT | MUX_MODE1) /* ssi1_wake */
73 >;
74 };
75
76 ssi_pins_idle: pinmux_ssi_pins_idle {
77 pinctrl-single,pins = <
78 OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE7) /* ssi1_dat_tx */
79 OMAP3_CORE1_IOPAD(0x217e, PIN_OUTPUT | MUX_MODE7) /* ssi1_flag_tx */
80 OMAP3_CORE1_IOPAD(0x2180, PIN_INPUT_PULLDOWN | MUX_MODE7) /* ssi1_rdy_tx */
81 OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | WAKEUP_EN | MUX_MODE4) /* ssi1_wake_tx (cawake) */
82 OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT | MUX_MODE7) /* ssi1_dat_rx */
83 OMAP3_CORE1_IOPAD(0x2186, PIN_INPUT | MUX_MODE7) /* ssi1_flag_rx */
84 OMAP3_CORE1_IOPAD(0x2188, PIN_OUTPUT | MUX_MODE4) /* ssi1_rdy_rx */
85 OMAP3_CORE1_IOPAD(0x218a, PIN_OUTPUT | MUX_MODE7) /* ssi1_wake */
86 >;
87 };
88
89 modem_pins1: pinmux_modem_core1_pins {
90 pinctrl-single,pins = <
91 OMAP3_CORE1_IOPAD(0x207a, PIN_INPUT | WAKEUP_EN | MUX_MODE4) /* gpio_34 (ape_rst_rq) */
92 OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE4) /* gpio_88 (cmt_rst_rq) */
93 OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE4) /* gpio_93 (cmt_apeslpx) */
94 >;
95 };
96};
97
98&omap3_pmx_core2 {
99 modem_pins2: pinmux_modem_core2_pins {
100 pinctrl-single,pins = <
101 OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* gpio_23 (cmt_en) */
102 >;
103 };
104};
105
106&i2c1 {
107 clock-frequency = <2900000>;
108
109 twl: twl@48 {
110 reg = <0x48>;
111 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
112 interrupt-parent = <&intc>;
113 };
114};
115
116/include/ "twl4030.dtsi"
117
118&twl {
119 compatible = "ti,twl5031";
120
121 twl_power: power {
122 compatible = "ti,twl4030-power";
123 ti,use_poweroff;
124 };
125};
126
127&twl_gpio {
128 ti,pullups = <0x000001>; /* BIT(0) */
129 ti,pulldowns = <0x008106>; /* BIT(1) | BIT(2) | BIT(8) | BIT(15) */
130};
131
132/* CSI-2 receiver */
133&vaux2 {
134 regulator-name = "vaux2";
135 regulator-min-microvolt = <1800000>;
136 regulator-max-microvolt = <1800000>;
137};
138
139/* Cameras */
140&vaux3 {
141 regulator-name = "vaux3";
142 regulator-min-microvolt = <2800000>;
143 regulator-max-microvolt = <2800000>;
144};
145
146&i2c2 {
147 clock-frequency = <400000>;
148};
149
150&i2c3 {
151 clock-frequency = <400000>;
152};
153
154&mmc1 {
155 status = "disabled";
156};
157
158&mmc2 {
159 pinctrl-names = "default";
160 pinctrl-0 = <&mmc2_pins>;
161 vmmc-supply = <&vemmc>;
162 bus-width = <4>;
163 ti,non-removable;
164};
165
166&mmc3 {
167 status = "disabled";
168};
169
170&usb_otg_hs {
171 interface-type = <0>;
172 usb-phy = <&usb2_phy>;
173 phys = <&usb2_phy>;
174 phy-names = "usb2-phy";
175 mode = <3>;
176 power = <50>;
177};
178
179&gpmc {
180 ranges = <0 0 0x04000000 0x1000000>; /* CS0: 16MB for OneNAND */
181
182 onenand@0,0 {
183 #address-cells = <1>;
184 #size-cells = <1>;
185 reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */
186
187 gpmc,sync-read;
188 gpmc,sync-write;
189 gpmc,burst-length = <16>;
190 gpmc,burst-read;
191 gpmc,burst-wrap;
192 gpmc,burst-write;
193 gpmc,device-width = <2>;
194 gpmc,mux-add-data = <2>;
195 gpmc,cs-on-ns = <0>;
196 gpmc,cs-rd-off-ns = <87>;
197 gpmc,cs-wr-off-ns = <87>;
198 gpmc,adv-on-ns = <0>;
199 gpmc,adv-rd-off-ns = <10>;
200 gpmc,adv-wr-off-ns = <10>;
201 gpmc,oe-on-ns = <15>;
202 gpmc,oe-off-ns = <87>;
203 gpmc,we-on-ns = <0>;
204 gpmc,we-off-ns = <87>;
205 gpmc,rd-cycle-ns = <112>;
206 gpmc,wr-cycle-ns = <112>;
207 gpmc,access-ns = <81>;
208 gpmc,page-burst-access-ns = <15>;
209 gpmc,bus-turnaround-ns = <0>;
210 gpmc,cycle2cycle-delay-ns = <0>;
211 gpmc,wait-monitoring-ns = <0>;
212 gpmc,clk-activation-ns = <5>;
213 gpmc,wr-data-mux-bus-ns = <30>;
214 gpmc,wr-access-ns = <81>;
215 gpmc,sync-clk-ps = <15000>;
216
217 /*
218 * MTD partition table corresponding to Nokia's MeeGo 1.2
219 * Harmattan release.
220 */
221 partition@0 {
222 label = "bootloader";
223 reg = <0x00000000 0x00100000>;
224 };
225 partition@1 {
226 label = "config";
227 reg = <0x00100000 0x002c0000>;
228 };
229 partition@2 {
230 label = "kernel";
231 reg = <0x003c0000 0x01000000>;
232 };
233 partition@3 {
234 label = "log";
235 reg = <0x013c0000 0x00200000>;
236 };
237 partition@4 {
238 label = "var";
239 reg = <0x015c0000 0x1ca40000>;
240 };
241 partition@5 {
242 label = "moslo";
243 reg = <0x1e000000 0x02000000>;
244 };
245 partition@6 {
246 label = "omap2-onenand";
247 reg = <0x00000000 0x20000000>;
248 };
249 };
250};
251
252&ssi_port1 {
253 pinctrl-names = "default", "idle";
254 pinctrl-0 = <&ssi_pins>;
255 pinctrl-1 = <&ssi_pins_idle>;
256
257 ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */
258
259 modem: hsi-client {
260 pinctrl-names = "default";
261 pinctrl-0 = <&modem_pins1 &modem_pins2>;
262
263 hsi-channel-ids = <0>, <1>, <2>, <3>;
264 hsi-channel-names = "mcsaab-control",
265 "speech-control",
266 "speech-data",
267 "mcsaab-data";
268 hsi-speed-kbps = <96000>;
269 hsi-mode = "frame";
270 hsi-flow = "synchronized";
271 hsi-arb-mode = "round-robin";
272
273 interrupts-extended = <&gpio2 2 IRQ_TYPE_EDGE_RISING>; /* gpio 34 */
274
275 gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>, /* gpio 93 */
276 <&gpio3 24 GPIO_ACTIVE_HIGH>, /* gpio 88 */
277 <&gpio1 23 GPIO_ACTIVE_HIGH>; /* gpio 23 */
278 gpio-names = "cmt_apeslpx",
279 "cmt_rst_rq",
280 "cmt_en";
281 };
282};
283
284&ssi_port2 {
285 status = "disabled";
286};