Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 ST-Ericsson AB |
| 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License |
| 6 | * Version 2 or later at the following locations: |
| 7 | * |
| 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | */ |
| 11 | |
| 12 | /include/ "dbx5x0.dtsi" |
| 13 | |
| 14 | / { |
| 15 | memory { |
| 16 | reg = <0x00000000 0x20000000>; |
| 17 | }; |
| 18 | |
Lee Jones | 6b8db13 | 2012-09-26 17:09:17 +0100 | [diff] [blame] | 19 | gpio_keys { |
| 20 | compatible = "gpio-keys"; |
| 21 | #address-cells = <1>; |
| 22 | #size-cells = <0>; |
| 23 | |
| 24 | button@1 { |
| 25 | linux,code = <11>; |
| 26 | label = "SFH7741 Proximity Sensor"; |
| 27 | }; |
| 28 | }; |
| 29 | |
Gabriel Fernandez | b1ba143 | 2013-03-01 14:38:07 +0100 | [diff] [blame] | 30 | soc { |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 31 | uart@80120000 { |
| 32 | status = "okay"; |
| 33 | }; |
| 34 | |
| 35 | uart@80121000 { |
| 36 | status = "okay"; |
| 37 | }; |
| 38 | |
| 39 | uart@80007000 { |
| 40 | status = "okay"; |
| 41 | }; |
| 42 | |
| 43 | i2c@80004000 { |
| 44 | tc3589x@42 { |
| 45 | compatible = "tc3589x"; |
| 46 | reg = <0x42>; |
| 47 | interrupt-parent = <&gpio6>; |
| 48 | interrupts = <25 0x1>; |
| 49 | |
| 50 | interrupt-controller; |
| 51 | #interrupt-cells = <2>; |
| 52 | |
| 53 | tc3589x_gpio: tc3589x_gpio { |
| 54 | compatible = "tc3589x-gpio"; |
| 55 | interrupts = <0 0x1>; |
| 56 | |
| 57 | interrupt-controller; |
| 58 | #interrupt-cells = <2>; |
| 59 | gpio-controller; |
| 60 | #gpio-cells = <2>; |
| 61 | }; |
| 62 | }; |
| 63 | }; |
| 64 | |
| 65 | i2c@80128000 { |
Linus Walleij | 2bd7378 | 2013-05-22 10:09:39 +0200 | [diff] [blame^] | 66 | lp5521@33 { |
| 67 | compatible = "national,lp5521"; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 68 | reg = <0x33>; |
Linus Walleij | 2bd7378 | 2013-05-22 10:09:39 +0200 | [diff] [blame^] | 69 | label = "lp5521_pri"; |
| 70 | clock-mode = /bits/ 8 <2>; |
| 71 | chan0 { |
| 72 | led-cur = /bits/ 8 <0x2f>; |
| 73 | max-cur = /bits/ 8 <0x5f>; |
| 74 | }; |
| 75 | chan1 { |
| 76 | led-cur = /bits/ 8 <0x2f>; |
| 77 | max-cur = /bits/ 8 <0x5f>; |
| 78 | }; |
| 79 | chan2 { |
| 80 | led-cur = /bits/ 8 <0x2f>; |
| 81 | max-cur = /bits/ 8 <0x5f>; |
| 82 | }; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 83 | }; |
Linus Walleij | 2bd7378 | 2013-05-22 10:09:39 +0200 | [diff] [blame^] | 84 | lp5521@34 { |
| 85 | compatible = "national,lp5521"; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 86 | reg = <0x34>; |
Linus Walleij | 2bd7378 | 2013-05-22 10:09:39 +0200 | [diff] [blame^] | 87 | label = "lp5521_sec"; |
| 88 | clock-mode = /bits/ 8 <2>; |
| 89 | chan0 { |
| 90 | led-cur = /bits/ 8 <0x2f>; |
| 91 | max-cur = /bits/ 8 <0x5f>; |
| 92 | }; |
| 93 | chan1 { |
| 94 | led-cur = /bits/ 8 <0x2f>; |
| 95 | max-cur = /bits/ 8 <0x5f>; |
| 96 | }; |
| 97 | chan2 { |
| 98 | led-cur = /bits/ 8 <0x2f>; |
| 99 | max-cur = /bits/ 8 <0x5f>; |
| 100 | }; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 101 | }; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 102 | bh1780@0x29 { |
| 103 | compatible = "rohm,bh1780gli"; |
| 104 | reg = <0x33>; |
| 105 | }; |
| 106 | }; |
| 107 | |
| 108 | // External Micro SD slot |
| 109 | sdi0_per1@80126000 { |
| 110 | arm,primecell-periphid = <0x10480180>; |
| 111 | max-frequency = <50000000>; |
| 112 | bus-width = <4>; |
| 113 | mmc-cap-sd-highspeed; |
| 114 | mmc-cap-mmc-highspeed; |
| 115 | vmmc-supply = <&ab8500_ldo_aux3_reg>; |
Lee Jones | d05b066 | 2012-12-06 15:08:45 +0000 | [diff] [blame] | 116 | vqmmc-supply = <&vmmci>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 117 | |
| 118 | cd-gpios = <&tc3589x_gpio 3 0x4>; |
| 119 | |
| 120 | status = "okay"; |
| 121 | }; |
| 122 | |
| 123 | // WLAN SDIO channel |
| 124 | sdi1_per2@80118000 { |
| 125 | arm,primecell-periphid = <0x10480180>; |
| 126 | max-frequency = <50000000>; |
| 127 | bus-width = <4>; |
| 128 | |
| 129 | status = "okay"; |
| 130 | }; |
| 131 | |
| 132 | // PoP:ed eMMC |
| 133 | sdi2_per3@80005000 { |
| 134 | arm,primecell-periphid = <0x10480180>; |
| 135 | max-frequency = <50000000>; |
| 136 | bus-width = <8>; |
| 137 | mmc-cap-mmc-highspeed; |
| 138 | |
| 139 | status = "okay"; |
| 140 | }; |
| 141 | |
| 142 | // On-board eMMC |
| 143 | sdi4_per2@80114000 { |
| 144 | arm,primecell-periphid = <0x10480180>; |
| 145 | max-frequency = <50000000>; |
| 146 | bus-width = <8>; |
| 147 | mmc-cap-mmc-highspeed; |
| 148 | vmmc-supply = <&ab8500_ldo_aux2_reg>; |
| 149 | |
| 150 | status = "okay"; |
| 151 | }; |
| 152 | |
| 153 | sound { |
| 154 | compatible = "stericsson,snd-soc-mop500"; |
| 155 | |
| 156 | stericsson,cpu-dai = <&msp1 &msp3>; |
| 157 | stericsson,audio-codec = <&codec>; |
| 158 | }; |
| 159 | |
| 160 | msp1: msp@80124000 { |
| 161 | status = "okay"; |
| 162 | }; |
| 163 | |
| 164 | msp3: msp@80125000 { |
| 165 | status = "okay"; |
| 166 | }; |
| 167 | |
| 168 | prcmu@80157000 { |
| 169 | db8500-prcmu-regulators { |
| 170 | db8500_vape_reg: db8500_vape { |
| 171 | regulator-name = "db8500-vape"; |
| 172 | }; |
| 173 | |
| 174 | db8500_varm_reg: db8500_varm { |
| 175 | regulator-name = "db8500-varm"; |
| 176 | }; |
| 177 | |
| 178 | db8500_vmodem_reg: db8500_vmodem { |
| 179 | regulator-name = "db8500-vmodem"; |
| 180 | }; |
| 181 | |
| 182 | db8500_vpll_reg: db8500_vpll { |
| 183 | regulator-name = "db8500-vpll"; |
| 184 | }; |
| 185 | |
| 186 | db8500_vsmps1_reg: db8500_vsmps1 { |
| 187 | regulator-name = "db8500-vsmps1"; |
| 188 | }; |
| 189 | |
| 190 | db8500_vsmps2_reg: db8500_vsmps2 { |
| 191 | regulator-name = "db8500-vsmps2"; |
| 192 | }; |
| 193 | |
| 194 | db8500_vsmps3_reg: db8500_vsmps3 { |
| 195 | regulator-name = "db8500-vsmps3"; |
| 196 | }; |
| 197 | |
| 198 | db8500_vrf1_reg: db8500_vrf1 { |
| 199 | regulator-name = "db8500-vrf1"; |
| 200 | }; |
| 201 | |
| 202 | db8500_sva_mmdsp_reg: db8500_sva_mmdsp { |
| 203 | regulator-name = "db8500-sva-mmdsp"; |
| 204 | }; |
| 205 | |
| 206 | db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret { |
| 207 | regulator-name = "db8500-sva-mmdsp-ret"; |
| 208 | }; |
| 209 | |
| 210 | db8500_sva_pipe_reg: db8500_sva_pipe { |
| 211 | regulator-name = "db8500_sva_pipe"; |
| 212 | }; |
| 213 | |
| 214 | db8500_sia_mmdsp_reg: db8500_sia_mmdsp { |
| 215 | regulator-name = "db8500_sia_mmdsp"; |
| 216 | }; |
| 217 | |
| 218 | db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret { |
| 219 | regulator-name = "db8500-sia-mmdsp-ret"; |
| 220 | }; |
| 221 | |
| 222 | db8500_sia_pipe_reg: db8500_sia_pipe { |
| 223 | regulator-name = "db8500-sia-pipe"; |
| 224 | }; |
| 225 | |
| 226 | db8500_sga_reg: db8500_sga { |
| 227 | regulator-name = "db8500-sga"; |
| 228 | }; |
| 229 | |
| 230 | db8500_b2r2_mcde_reg: db8500_b2r2_mcde { |
| 231 | regulator-name = "db8500-b2r2-mcde"; |
| 232 | }; |
| 233 | |
| 234 | db8500_esram12_reg: db8500_esram12 { |
| 235 | regulator-name = "db8500-esram12"; |
| 236 | }; |
| 237 | |
| 238 | db8500_esram12_ret_reg: db8500_esram12_ret { |
| 239 | regulator-name = "db8500-esram12-ret"; |
| 240 | }; |
| 241 | |
| 242 | db8500_esram34_reg: db8500_esram34 { |
| 243 | regulator-name = "db8500-esram34"; |
| 244 | }; |
| 245 | |
| 246 | db8500_esram34_ret_reg: db8500_esram34_ret { |
| 247 | regulator-name = "db8500-esram34-ret"; |
| 248 | }; |
| 249 | }; |
| 250 | |
Arnd Bergmann | d52701d3 | 2013-03-12 09:39:01 +0100 | [diff] [blame] | 251 | ab8500 { |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 252 | ab8500-regulators { |
| 253 | ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { |
| 254 | regulator-name = "V-DISPLAY"; |
| 255 | }; |
| 256 | |
| 257 | ab8500_ldo_aux2_reg: ab8500_ldo_aux2 { |
| 258 | regulator-name = "V-eMMC1"; |
| 259 | }; |
| 260 | |
| 261 | ab8500_ldo_aux3_reg: ab8500_ldo_aux3 { |
| 262 | regulator-name = "V-MMC-SD"; |
| 263 | }; |
| 264 | |
Fabio Baltieri | 99b38ee | 2013-04-09 11:16:56 +0200 | [diff] [blame] | 265 | ab8500_ldo_intcore_reg: ab8500_ldo_intcore { |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 266 | regulator-name = "V-INTCORE"; |
| 267 | }; |
| 268 | |
| 269 | ab8500_ldo_tvout_reg: ab8500_ldo_tvout { |
| 270 | regulator-name = "V-TVOUT"; |
| 271 | }; |
| 272 | |
| 273 | ab8500_ldo_usb_reg: ab8500_ldo_usb { |
| 274 | regulator-name = "dummy"; |
| 275 | }; |
| 276 | |
| 277 | ab8500_ldo_audio_reg: ab8500_ldo_audio { |
| 278 | regulator-name = "V-AUD"; |
| 279 | }; |
| 280 | |
| 281 | ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 { |
| 282 | regulator-name = "V-AMIC1"; |
| 283 | }; |
| 284 | |
| 285 | ab8500_ldo_amamic2_reg: ab8500_ldo_amamic2 { |
| 286 | regulator-name = "V-AMIC2"; |
| 287 | }; |
| 288 | |
| 289 | ab8500_ldo_dmic_reg: ab8500_ldo_dmic { |
| 290 | regulator-name = "V-DMIC"; |
| 291 | }; |
| 292 | |
| 293 | ab8500_ldo_ana_reg: ab8500_ldo_ana { |
| 294 | regulator-name = "V-CSI/DSI"; |
| 295 | }; |
| 296 | }; |
| 297 | }; |
| 298 | }; |
| 299 | }; |
| 300 | }; |