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 { |
| 66 | lp5521@0x33 { |
| 67 | compatible = "lp5521"; |
| 68 | reg = <0x33>; |
| 69 | }; |
| 70 | |
| 71 | lp5521@0x34 { |
| 72 | compatible = "lp5521"; |
| 73 | reg = <0x34>; |
| 74 | }; |
| 75 | |
| 76 | bh1780@0x29 { |
| 77 | compatible = "rohm,bh1780gli"; |
| 78 | reg = <0x33>; |
| 79 | }; |
| 80 | }; |
| 81 | |
| 82 | // External Micro SD slot |
| 83 | sdi0_per1@80126000 { |
| 84 | arm,primecell-periphid = <0x10480180>; |
| 85 | max-frequency = <50000000>; |
| 86 | bus-width = <4>; |
| 87 | mmc-cap-sd-highspeed; |
| 88 | mmc-cap-mmc-highspeed; |
| 89 | vmmc-supply = <&ab8500_ldo_aux3_reg>; |
Lee Jones | d05b066 | 2012-12-06 15:08:45 +0000 | [diff] [blame] | 90 | vqmmc-supply = <&vmmci>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 91 | |
| 92 | cd-gpios = <&tc3589x_gpio 3 0x4>; |
| 93 | |
| 94 | status = "okay"; |
| 95 | }; |
| 96 | |
| 97 | // WLAN SDIO channel |
| 98 | sdi1_per2@80118000 { |
| 99 | arm,primecell-periphid = <0x10480180>; |
| 100 | max-frequency = <50000000>; |
| 101 | bus-width = <4>; |
| 102 | |
| 103 | status = "okay"; |
| 104 | }; |
| 105 | |
| 106 | // PoP:ed eMMC |
| 107 | sdi2_per3@80005000 { |
| 108 | arm,primecell-periphid = <0x10480180>; |
| 109 | max-frequency = <50000000>; |
| 110 | bus-width = <8>; |
| 111 | mmc-cap-mmc-highspeed; |
| 112 | |
| 113 | status = "okay"; |
| 114 | }; |
| 115 | |
| 116 | // On-board eMMC |
| 117 | sdi4_per2@80114000 { |
| 118 | arm,primecell-periphid = <0x10480180>; |
| 119 | max-frequency = <50000000>; |
| 120 | bus-width = <8>; |
| 121 | mmc-cap-mmc-highspeed; |
| 122 | vmmc-supply = <&ab8500_ldo_aux2_reg>; |
| 123 | |
| 124 | status = "okay"; |
| 125 | }; |
| 126 | |
| 127 | sound { |
| 128 | compatible = "stericsson,snd-soc-mop500"; |
| 129 | |
| 130 | stericsson,cpu-dai = <&msp1 &msp3>; |
| 131 | stericsson,audio-codec = <&codec>; |
| 132 | }; |
| 133 | |
| 134 | msp1: msp@80124000 { |
| 135 | status = "okay"; |
| 136 | }; |
| 137 | |
| 138 | msp3: msp@80125000 { |
| 139 | status = "okay"; |
| 140 | }; |
| 141 | |
| 142 | prcmu@80157000 { |
| 143 | db8500-prcmu-regulators { |
| 144 | db8500_vape_reg: db8500_vape { |
| 145 | regulator-name = "db8500-vape"; |
| 146 | }; |
| 147 | |
| 148 | db8500_varm_reg: db8500_varm { |
| 149 | regulator-name = "db8500-varm"; |
| 150 | }; |
| 151 | |
| 152 | db8500_vmodem_reg: db8500_vmodem { |
| 153 | regulator-name = "db8500-vmodem"; |
| 154 | }; |
| 155 | |
| 156 | db8500_vpll_reg: db8500_vpll { |
| 157 | regulator-name = "db8500-vpll"; |
| 158 | }; |
| 159 | |
| 160 | db8500_vsmps1_reg: db8500_vsmps1 { |
| 161 | regulator-name = "db8500-vsmps1"; |
| 162 | }; |
| 163 | |
| 164 | db8500_vsmps2_reg: db8500_vsmps2 { |
| 165 | regulator-name = "db8500-vsmps2"; |
| 166 | }; |
| 167 | |
| 168 | db8500_vsmps3_reg: db8500_vsmps3 { |
| 169 | regulator-name = "db8500-vsmps3"; |
| 170 | }; |
| 171 | |
| 172 | db8500_vrf1_reg: db8500_vrf1 { |
| 173 | regulator-name = "db8500-vrf1"; |
| 174 | }; |
| 175 | |
| 176 | db8500_sva_mmdsp_reg: db8500_sva_mmdsp { |
| 177 | regulator-name = "db8500-sva-mmdsp"; |
| 178 | }; |
| 179 | |
| 180 | db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret { |
| 181 | regulator-name = "db8500-sva-mmdsp-ret"; |
| 182 | }; |
| 183 | |
| 184 | db8500_sva_pipe_reg: db8500_sva_pipe { |
| 185 | regulator-name = "db8500_sva_pipe"; |
| 186 | }; |
| 187 | |
| 188 | db8500_sia_mmdsp_reg: db8500_sia_mmdsp { |
| 189 | regulator-name = "db8500_sia_mmdsp"; |
| 190 | }; |
| 191 | |
| 192 | db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret { |
| 193 | regulator-name = "db8500-sia-mmdsp-ret"; |
| 194 | }; |
| 195 | |
| 196 | db8500_sia_pipe_reg: db8500_sia_pipe { |
| 197 | regulator-name = "db8500-sia-pipe"; |
| 198 | }; |
| 199 | |
| 200 | db8500_sga_reg: db8500_sga { |
| 201 | regulator-name = "db8500-sga"; |
| 202 | }; |
| 203 | |
| 204 | db8500_b2r2_mcde_reg: db8500_b2r2_mcde { |
| 205 | regulator-name = "db8500-b2r2-mcde"; |
| 206 | }; |
| 207 | |
| 208 | db8500_esram12_reg: db8500_esram12 { |
| 209 | regulator-name = "db8500-esram12"; |
| 210 | }; |
| 211 | |
| 212 | db8500_esram12_ret_reg: db8500_esram12_ret { |
| 213 | regulator-name = "db8500-esram12-ret"; |
| 214 | }; |
| 215 | |
| 216 | db8500_esram34_reg: db8500_esram34 { |
| 217 | regulator-name = "db8500-esram34"; |
| 218 | }; |
| 219 | |
| 220 | db8500_esram34_ret_reg: db8500_esram34_ret { |
| 221 | regulator-name = "db8500-esram34-ret"; |
| 222 | }; |
| 223 | }; |
| 224 | |
Arnd Bergmann | d52701d3 | 2013-03-12 09:39:01 +0100 | [diff] [blame] | 225 | ab8500 { |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 226 | ab8500-regulators { |
| 227 | ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { |
| 228 | regulator-name = "V-DISPLAY"; |
| 229 | }; |
| 230 | |
| 231 | ab8500_ldo_aux2_reg: ab8500_ldo_aux2 { |
| 232 | regulator-name = "V-eMMC1"; |
| 233 | }; |
| 234 | |
| 235 | ab8500_ldo_aux3_reg: ab8500_ldo_aux3 { |
| 236 | regulator-name = "V-MMC-SD"; |
| 237 | }; |
| 238 | |
Fabio Baltieri | 99b38ee | 2013-04-09 11:16:56 +0200 | [diff] [blame^] | 239 | ab8500_ldo_intcore_reg: ab8500_ldo_intcore { |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 240 | regulator-name = "V-INTCORE"; |
| 241 | }; |
| 242 | |
| 243 | ab8500_ldo_tvout_reg: ab8500_ldo_tvout { |
| 244 | regulator-name = "V-TVOUT"; |
| 245 | }; |
| 246 | |
| 247 | ab8500_ldo_usb_reg: ab8500_ldo_usb { |
| 248 | regulator-name = "dummy"; |
| 249 | }; |
| 250 | |
| 251 | ab8500_ldo_audio_reg: ab8500_ldo_audio { |
| 252 | regulator-name = "V-AUD"; |
| 253 | }; |
| 254 | |
| 255 | ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 { |
| 256 | regulator-name = "V-AMIC1"; |
| 257 | }; |
| 258 | |
| 259 | ab8500_ldo_amamic2_reg: ab8500_ldo_amamic2 { |
| 260 | regulator-name = "V-AMIC2"; |
| 261 | }; |
| 262 | |
| 263 | ab8500_ldo_dmic_reg: ab8500_ldo_dmic { |
| 264 | regulator-name = "V-DMIC"; |
| 265 | }; |
| 266 | |
| 267 | ab8500_ldo_ana_reg: ab8500_ldo_ana { |
| 268 | regulator-name = "V-CSI/DSI"; |
| 269 | }; |
| 270 | }; |
| 271 | }; |
| 272 | }; |
| 273 | }; |
| 274 | }; |