Aaro Koskinen | df01318 | 2013-10-15 23:36:09 +0300 | [diff] [blame] | 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 | |
Tony Lindgren | f2e2c9d | 2013-12-06 14:20:17 -0800 | [diff] [blame] | 11 | #include "omap36xx-hs.dtsi" |
Aaro Koskinen | df01318 | 2013-10-15 23:36:09 +0300 | [diff] [blame] | 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 0>; /* gpio line 157 */ |
| 31 | startup-delay-us = <150>; |
| 32 | enable-active-high; |
| 33 | }; |
| 34 | }; |
| 35 | |
| 36 | &omap3_pmx_core { |
| 37 | mmc2_pins: pinmux_mmc2_pins { |
| 38 | pinctrl-single,pins = < |
| 39 | 0x128 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk */ |
| 40 | 0x12a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd */ |
| 41 | 0x12c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0 */ |
| 42 | 0x12e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1 */ |
| 43 | 0x130 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2 */ |
| 44 | 0x132 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3 */ |
| 45 | >; |
| 46 | }; |
| 47 | }; |
| 48 | |
| 49 | &i2c1 { |
| 50 | clock-frequency = <2900000>; |
| 51 | |
| 52 | twl: twl@48 { |
| 53 | reg = <0x48>; |
| 54 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
| 55 | interrupt-parent = <&intc>; |
| 56 | }; |
| 57 | }; |
| 58 | |
| 59 | /include/ "twl4030.dtsi" |
| 60 | |
| 61 | &twl { |
| 62 | compatible = "ti,twl5031"; |
| 63 | }; |
| 64 | |
| 65 | &twl_gpio { |
| 66 | ti,pullups = <0x000001>; /* BIT(0) */ |
| 67 | ti,pulldowns = <0x008106>; /* BIT(1) | BIT(2) | BIT(8) | BIT(15) */ |
| 68 | }; |
| 69 | |
| 70 | &i2c2 { |
| 71 | clock-frequency = <400000>; |
| 72 | }; |
| 73 | |
| 74 | &i2c3 { |
| 75 | clock-frequency = <400000>; |
| 76 | }; |
| 77 | |
| 78 | &mmc1 { |
| 79 | status = "disabled"; |
| 80 | }; |
| 81 | |
| 82 | &mmc2 { |
| 83 | pinctrl-names = "default"; |
| 84 | pinctrl-0 = <&mmc2_pins>; |
| 85 | vmmc-supply = <&vemmc>; |
| 86 | bus-width = <4>; |
| 87 | ti,non-removable; |
| 88 | }; |
| 89 | |
| 90 | &mmc3 { |
| 91 | status = "disabled"; |
| 92 | }; |
| 93 | |
| 94 | &usb_otg_hs { |
| 95 | interface-type = <0>; |
| 96 | usb-phy = <&usb2_phy>; |
| 97 | phys = <&usb2_phy>; |
| 98 | phy-names = "usb2-phy"; |
| 99 | mode = <3>; |
| 100 | power = <50>; |
| 101 | }; |
| 102 | |
| 103 | &gpmc { |
| 104 | ranges = <0 0 0x04000000 0x20000000>; |
| 105 | |
| 106 | onenand@0,0 { |
| 107 | #address-cells = <1>; |
| 108 | #size-cells = <1>; |
| 109 | reg = <0 0 0x20000000>; |
| 110 | |
| 111 | gpmc,sync-read; |
| 112 | gpmc,sync-write; |
| 113 | gpmc,burst-length = <16>; |
| 114 | gpmc,burst-read; |
| 115 | gpmc,burst-wrap; |
| 116 | gpmc,burst-write; |
| 117 | gpmc,device-width = <2>; |
| 118 | gpmc,mux-add-data = <2>; |
| 119 | gpmc,cs-on-ns = <0>; |
| 120 | gpmc,cs-rd-off-ns = <87>; |
| 121 | gpmc,cs-wr-off-ns = <87>; |
| 122 | gpmc,adv-on-ns = <0>; |
| 123 | gpmc,adv-rd-off-ns = <10>; |
| 124 | gpmc,adv-wr-off-ns = <10>; |
| 125 | gpmc,oe-on-ns = <15>; |
| 126 | gpmc,oe-off-ns = <87>; |
| 127 | gpmc,we-on-ns = <0>; |
| 128 | gpmc,we-off-ns = <87>; |
| 129 | gpmc,rd-cycle-ns = <112>; |
| 130 | gpmc,wr-cycle-ns = <112>; |
| 131 | gpmc,access-ns = <81>; |
| 132 | gpmc,page-burst-access-ns = <15>; |
| 133 | gpmc,bus-turnaround-ns = <0>; |
| 134 | gpmc,cycle2cycle-delay-ns = <0>; |
| 135 | gpmc,wait-monitoring-ns = <0>; |
| 136 | gpmc,clk-activation-ns = <5>; |
| 137 | gpmc,wr-data-mux-bus-ns = <30>; |
| 138 | gpmc,wr-access-ns = <81>; |
| 139 | gpmc,sync-clk-ps = <15000>; |
| 140 | |
| 141 | /* |
| 142 | * MTD partition table corresponding to Nokia's MeeGo 1.2 |
| 143 | * Harmattan release. |
| 144 | */ |
| 145 | partition@0 { |
| 146 | label = "bootloader"; |
| 147 | reg = <0x00000000 0x00100000>; |
| 148 | }; |
| 149 | partition@1 { |
| 150 | label = "config"; |
| 151 | reg = <0x00100000 0x002c0000>; |
| 152 | }; |
| 153 | partition@2 { |
| 154 | label = "kernel"; |
| 155 | reg = <0x003c0000 0x01000000>; |
| 156 | }; |
| 157 | partition@3 { |
| 158 | label = "log"; |
| 159 | reg = <0x013c0000 0x00200000>; |
| 160 | }; |
| 161 | partition@4 { |
| 162 | label = "var"; |
| 163 | reg = <0x015c0000 0x1ca40000>; |
| 164 | }; |
| 165 | partition@5 { |
| 166 | label = "moslo"; |
| 167 | reg = <0x1e000000 0x02000000>; |
| 168 | }; |
| 169 | partition@6 { |
| 170 | label = "omap2-onenand"; |
| 171 | reg = <0x00000000 0x20000000>; |
| 172 | }; |
| 173 | }; |
| 174 | }; |