2 * omap3-n950-n9.dtsi - Device Tree file for Nokia N950 & N9 (common stuff)
4 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
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.
11 #include "omap36xx.dtsi"
28 device_type = "memory";
29 reg = <0x80000000 0x40000000>; /* 1 GB */
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>;
42 vwlan_fixed: fixedregulator2 {
43 compatible = "regulator-fixed";
44 regulator-name = "VWLAN";
45 gpio = <&gpio2 3 GPIO_ACTIVE_HIGH>; /* gpio 35 */
51 compatible = "gpio-leds";
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>;
62 /* controlled (enabled/disabled) directly by wl1271 */
64 compatible = "fixed-clock";
66 clock-frequency = <38400000>;
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 */
78 debug_leds: pinmux_debug_led_pins {
79 pinctrl-single,pins = <
80 OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE4) /* dss_data22.gpio_92 */
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 */
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 */
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 */
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 */
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) */
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 */
147 modem_pins2: pinmux_modem_core2_pins {
148 pinctrl-single,pins = <
149 OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* gpio_23 (cmt_en) */
155 clock-frequency = <2900000>;
159 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
160 interrupt-parent = <&intc>;
164 /include/ "twl4030.dtsi"
167 compatible = "ti,twl5031";
170 compatible = "ti,twl4030-power";
176 ti,pullups = <0x000001>; /* BIT(0) */
177 ti,pulldowns = <0x008106>; /* BIT(1) | BIT(2) | BIT(8) | BIT(15) */
181 regulator-name = "vdac";
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <1800000>;
187 regulator-name = "vpll1";
188 regulator-min-microvolt = <1800000>;
189 regulator-max-microvolt = <1800000>;
193 regulator-name = "vpll2";
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <1800000>;
199 regulator-name = "vaux1";
200 regulator-min-microvolt = <2800000>;
201 regulator-max-microvolt = <2800000>;
206 regulator-name = "vaux2";
207 regulator-min-microvolt = <1800000>;
208 regulator-max-microvolt = <1800000>;
213 regulator-name = "vaux3";
214 regulator-min-microvolt = <2800000>;
215 regulator-max-microvolt = <2800000>;
219 regulator-name = "vaux4";
220 regulator-min-microvolt = <2800000>;
221 regulator-max-microvolt = <2800000>;
225 regulator-name = "vmmc1";
226 regulator-min-microvolt = <1850000>;
227 regulator-max-microvolt = <3150000>;
231 regulator-name = "vmmc2";
232 regulator-min-microvolt = <3000000>;
233 regulator-max-microvolt = <3000000>;
237 regulator-name = "vintana1";
238 regulator-min-microvolt = <1500000>;
239 regulator-max-microvolt = <1500000>;
243 regulator-name = "vintana2";
244 regulator-min-microvolt = <2750000>;
245 regulator-max-microvolt = <2750000>;
249 regulator-name = "vintdig";
250 regulator-min-microvolt = <1500000>;
251 regulator-max-microvolt = <1500000>;
255 regulator-name = "vsim";
256 regulator-min-microvolt = <1800000>;
257 regulator-max-microvolt = <1800000>;
261 regulator-name = "vio";
262 regulator-min-microvolt = <1800000>;
263 regulator-max-microvolt = <1800000>;
267 clock-frequency = <400000>;
271 clock-frequency = <400000>;
274 compatible = "st,lis3lv02d";
277 Vdd-supply = <&vaux1>;
278 Vdd_IO-supply = <&vio>;
280 pinctrl-names = "default";
281 pinctrl-0 = <&accelerator_pins>;
283 interrupts-extended = <&gpio6 20 IRQ_TYPE_EDGE_FALLING>, <&gpio6 21 IRQ_TYPE_EDGE_FALLING>; /* 180, 181 */
290 /* Limits are 0.5g * value */
291 st,click-threshold-x = <8>;
292 st,click-threshold-y = <8>;
293 st,click-threshold-z = <10>;
295 /* Click must be longer than time limit */
296 st,click-time-limit = <9>;
298 /* Kind of debounce filter */
299 st,click-latency = <50>;
303 st,wakeup-threshold = <(800/18)>; /* millig-value / 18 to get HW values */
306 st,wakeup2-threshold = <(1000/18)>; /* millig-value / 18 to get HW values */
308 st,highpass-cutoff-hz = <2>;
310 /* Interrupt line 1 for thresholds */
313 /* Interrupt line 2 for click detection */
316 st,wu-duration-1 = <8>;
317 st,wu-duration-2 = <8>;
326 pinctrl-names = "default";
327 pinctrl-0 = <&mmc2_pins>;
328 vmmc-supply = <&vemmc>;
338 interface-type = <0>;
339 usb-phy = <&usb2_phy>;
341 phy-names = "usb2-phy";
347 ranges = <0 0 0x04000000 0x1000000>; /* CS0: 16MB for OneNAND */
350 #address-cells = <1>;
352 reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */
356 gpmc,burst-length = <16>;
360 gpmc,device-width = <2>;
361 gpmc,mux-add-data = <2>;
363 gpmc,cs-rd-off-ns = <87>;
364 gpmc,cs-wr-off-ns = <87>;
365 gpmc,adv-on-ns = <0>;
366 gpmc,adv-rd-off-ns = <10>;
367 gpmc,adv-wr-off-ns = <10>;
368 gpmc,oe-on-ns = <15>;
369 gpmc,oe-off-ns = <87>;
371 gpmc,we-off-ns = <87>;
372 gpmc,rd-cycle-ns = <112>;
373 gpmc,wr-cycle-ns = <112>;
374 gpmc,access-ns = <81>;
375 gpmc,page-burst-access-ns = <15>;
376 gpmc,bus-turnaround-ns = <0>;
377 gpmc,cycle2cycle-delay-ns = <0>;
378 gpmc,wait-monitoring-ns = <0>;
379 gpmc,clk-activation-ns = <5>;
380 gpmc,wr-data-mux-bus-ns = <30>;
381 gpmc,wr-access-ns = <81>;
382 gpmc,sync-clk-ps = <15000>;
385 * MTD partition table corresponding to Nokia's MeeGo 1.2
389 label = "bootloader";
390 reg = <0x00000000 0x00100000>;
394 reg = <0x00100000 0x002c0000>;
398 reg = <0x003c0000 0x01000000>;
402 reg = <0x013c0000 0x00200000>;
406 reg = <0x015c0000 0x1ca40000>;
410 reg = <0x1e000000 0x02000000>;
413 label = "omap2-onenand";
414 reg = <0x00000000 0x20000000>;
420 pinctrl-names = "default", "idle";
421 pinctrl-0 = <&ssi_pins>;
422 pinctrl-1 = <&ssi_pins_idle>;
424 ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */
427 pinctrl-names = "default";
428 pinctrl-0 = <&modem_pins1 &modem_pins2>;
430 hsi-channel-ids = <0>, <1>, <2>, <3>;
431 hsi-channel-names = "mcsaab-control",
435 hsi-speed-kbps = <96000>;
437 hsi-flow = "synchronized";
438 hsi-arb-mode = "round-robin";
440 interrupts-extended = <&gpio2 2 IRQ_TYPE_EDGE_RISING>; /* gpio 34 */
442 gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>, /* gpio 93 */
443 <&gpio3 24 GPIO_ACTIVE_HIGH>, /* gpio 88 */
444 <&gpio1 23 GPIO_ACTIVE_HIGH>; /* gpio 23 */
445 gpio-names = "cmt_apeslpx",
456 pinctrl-names = "default";
457 pinctrl-0 = <&uart2_pins>;
460 compatible = "ti,wl1271-bluetooth-nokia", "nokia,h4p-bluetooth";
462 reset-gpios = <&gpio1 26 GPIO_ACTIVE_LOW>; /* 26 */
463 host-wakeup-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* 101 */
464 bluetooth-wakeup-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* 37 */
467 clock-names = "sysclk";