Arnd Bergmann | 5d0769f | 2012-03-02 23:07:21 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Linaro Ltd |
| 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/ "skeleton.dtsi" |
| 13 | |
| 14 | / { |
| 15 | soc-u9500 { |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 18 | compatible = "stericsson,db8500"; |
Lee Jones | dab6487 | 2012-03-07 17:22:30 +0000 | [diff] [blame] | 19 | interrupt-parent = <&intc>; |
Arnd Bergmann | 5d0769f | 2012-03-02 23:07:21 +0000 | [diff] [blame] | 20 | ranges; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 21 | |
Lee Jones | dab6487 | 2012-03-07 17:22:30 +0000 | [diff] [blame] | 22 | intc: interrupt-controller@a0411000 { |
| 23 | compatible = "arm,cortex-a9-gic"; |
| 24 | #interrupt-cells = <3>; |
| 25 | #address-cells = <1>; |
| 26 | interrupt-controller; |
Lee Jones | dab6487 | 2012-03-07 17:22:30 +0000 | [diff] [blame] | 27 | reg = <0xa0411000 0x1000>, |
| 28 | <0xa0410100 0x100>; |
| 29 | }; |
| 30 | |
Lee Jones | f1949ea | 2012-03-08 09:02:02 +0000 | [diff] [blame] | 31 | L2: l2-cache { |
| 32 | compatible = "arm,pl310-cache"; |
| 33 | reg = <0xa0412000 0x1000>; |
| 34 | interrupts = <0 13 4>; |
| 35 | cache-unified; |
| 36 | cache-level = <2>; |
| 37 | }; |
| 38 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 39 | pmu { |
| 40 | compatible = "arm,cortex-a9-pmu"; |
| 41 | interrupts = <0 7 0x4>; |
| 42 | }; |
| 43 | |
Lee Jones | 71de5c4 | 2012-03-16 09:53:24 +0000 | [diff] [blame] | 44 | timer@a0410600 { |
| 45 | compatible = "arm,cortex-a9-twd-timer"; |
| 46 | reg = <0xa0410600 0x20>; |
| 47 | interrupts = <1 13 0x304>; |
| 48 | }; |
| 49 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 50 | rtc@80154000 { |
| 51 | compatible = "stericsson,db8500-rtc"; |
| 52 | reg = <0x80154000 0x1000>; |
| 53 | interrupts = <0 18 0x4>; |
| 54 | }; |
| 55 | |
| 56 | gpio0: gpio@8012e000 { |
| 57 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 58 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 59 | reg = <0x8012e000 0x80>; |
| 60 | interrupts = <0 119 0x4>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 61 | interrupt-controller; |
| 62 | #interrupt-cells = <2>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 63 | supports-sleepmode; |
| 64 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 65 | #gpio-cells = <2>; |
| 66 | gpio-bank = <0>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 67 | }; |
| 68 | |
| 69 | gpio1: gpio@8012e080 { |
| 70 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 71 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 72 | reg = <0x8012e080 0x80>; |
| 73 | interrupts = <0 120 0x4>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 74 | interrupt-controller; |
| 75 | #interrupt-cells = <2>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 76 | supports-sleepmode; |
| 77 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 78 | #gpio-cells = <2>; |
| 79 | gpio-bank = <1>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 80 | }; |
| 81 | |
| 82 | gpio2: gpio@8000e000 { |
| 83 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 84 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 85 | reg = <0x8000e000 0x80>; |
| 86 | interrupts = <0 121 0x4>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 87 | interrupt-controller; |
| 88 | #interrupt-cells = <2>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 89 | supports-sleepmode; |
| 90 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 91 | #gpio-cells = <2>; |
| 92 | gpio-bank = <2>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 93 | }; |
| 94 | |
| 95 | gpio3: gpio@8000e080 { |
| 96 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 97 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 98 | reg = <0x8000e080 0x80>; |
| 99 | interrupts = <0 122 0x4>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 100 | interrupt-controller; |
| 101 | #interrupt-cells = <2>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 102 | supports-sleepmode; |
| 103 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 104 | #gpio-cells = <2>; |
| 105 | gpio-bank = <3>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 106 | }; |
| 107 | |
| 108 | gpio4: gpio@8000e100 { |
| 109 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 110 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 111 | reg = <0x8000e100 0x80>; |
| 112 | interrupts = <0 123 0x4>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 113 | interrupt-controller; |
| 114 | #interrupt-cells = <2>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 115 | supports-sleepmode; |
| 116 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 117 | #gpio-cells = <2>; |
| 118 | gpio-bank = <4>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 119 | }; |
| 120 | |
| 121 | gpio5: gpio@8000e180 { |
| 122 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 123 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 124 | reg = <0x8000e180 0x80>; |
| 125 | interrupts = <0 124 0x4>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 126 | interrupt-controller; |
| 127 | #interrupt-cells = <2>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 128 | supports-sleepmode; |
| 129 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 130 | #gpio-cells = <2>; |
| 131 | gpio-bank = <5>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 132 | }; |
| 133 | |
| 134 | gpio6: gpio@8011e000 { |
| 135 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 136 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 137 | reg = <0x8011e000 0x80>; |
| 138 | interrupts = <0 125 0x4>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 139 | interrupt-controller; |
| 140 | #interrupt-cells = <2>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 141 | supports-sleepmode; |
| 142 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 143 | #gpio-cells = <2>; |
| 144 | gpio-bank = <6>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 145 | }; |
| 146 | |
| 147 | gpio7: gpio@8011e080 { |
| 148 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 149 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 150 | reg = <0x8011e080 0x80>; |
| 151 | interrupts = <0 126 0x4>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 152 | interrupt-controller; |
| 153 | #interrupt-cells = <2>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 154 | supports-sleepmode; |
| 155 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 156 | #gpio-cells = <2>; |
| 157 | gpio-bank = <7>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 158 | }; |
| 159 | |
| 160 | gpio8: gpio@a03fe000 { |
| 161 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 162 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 163 | reg = <0xa03fe000 0x80>; |
| 164 | interrupts = <0 127 0x4>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 165 | interrupt-controller; |
| 166 | #interrupt-cells = <2>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 167 | supports-sleepmode; |
| 168 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 169 | #gpio-cells = <2>; |
| 170 | gpio-bank = <8>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 171 | }; |
| 172 | |
Lee Jones | 5910de9 | 2012-05-26 06:25:36 +0100 | [diff] [blame] | 173 | pinctrl { |
| 174 | compatible = "stericsson,nmk_pinctrl"; |
| 175 | }; |
| 176 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 177 | usb@a03e0000 { |
| 178 | compatible = "stericsson,db8500-musb", |
| 179 | "mentor,musb"; |
| 180 | reg = <0xa03e0000 0x10000>; |
| 181 | interrupts = <0 23 0x4>; |
| 182 | }; |
| 183 | |
| 184 | dma-controller@801C0000 { |
| 185 | compatible = "stericsson,db8500-dma40", |
| 186 | "stericsson,dma40"; |
| 187 | reg = <0x801C0000 0x1000 0x40010000 0x800>; |
| 188 | interrupts = <0 25 0x4>; |
| 189 | }; |
| 190 | |
| 191 | prcmu@80157000 { |
| 192 | compatible = "stericsson,db8500-prcmu"; |
| 193 | reg = <0x80157000 0x1000>; |
Lee Jones | ccf74f7 | 2012-05-28 16:50:49 +0800 | [diff] [blame] | 194 | interrupts = <0 47 0x4>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 195 | #address-cells = <1>; |
Lee Jones | 3de3d74 | 2012-04-24 10:00:15 +0100 | [diff] [blame] | 196 | #size-cells = <1>; |
| 197 | ranges; |
| 198 | |
Lee Jones | ccf74f7 | 2012-05-28 16:50:49 +0800 | [diff] [blame] | 199 | prcmu-timer-4@80157450 { |
Lee Jones | 3de3d74 | 2012-04-24 10:00:15 +0100 | [diff] [blame] | 200 | compatible = "stericsson,db8500-prcmu-timer-4"; |
| 201 | reg = <0x80157450 0xC>; |
| 202 | }; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 203 | |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 204 | db8500-prcmu-regulators { |
| 205 | compatible = "stericsson,db8500-prcmu-regulator"; |
| 206 | |
| 207 | // DB8500_REGULATOR_VAPE |
| 208 | db8500_vape_reg: db8500_vape { |
| 209 | regulator-name = "db8500-vape"; |
| 210 | regulator-always-on; |
| 211 | }; |
| 212 | |
| 213 | // DB8500_REGULATOR_VARM |
| 214 | db8500_varm_reg: db8500_varm { |
| 215 | regulator-name = "db8500-varm"; |
| 216 | }; |
| 217 | |
| 218 | // DB8500_REGULATOR_VMODEM |
| 219 | db8500_vmodem_reg: db8500_vmodem { |
| 220 | regulator-name = "db8500-vmodem"; |
| 221 | }; |
| 222 | |
| 223 | // DB8500_REGULATOR_VPLL |
| 224 | db8500_vpll_reg: db8500_vpll { |
| 225 | regulator-name = "db8500-vpll"; |
| 226 | }; |
| 227 | |
| 228 | // DB8500_REGULATOR_VSMPS1 |
| 229 | db8500_vsmps1_reg: db8500_vsmps1 { |
| 230 | regulator-name = "db8500-vsmps1"; |
| 231 | }; |
| 232 | |
| 233 | // DB8500_REGULATOR_VSMPS2 |
| 234 | db8500_vsmps2_reg: db8500_vsmps2 { |
| 235 | regulator-name = "db8500-vsmps2"; |
| 236 | }; |
| 237 | |
| 238 | // DB8500_REGULATOR_VSMPS3 |
| 239 | db8500_vsmps3_reg: db8500_vsmps3 { |
| 240 | regulator-name = "db8500-vsmps3"; |
| 241 | }; |
| 242 | |
| 243 | // DB8500_REGULATOR_VRF1 |
| 244 | db8500_vrf1_reg: db8500_vrf1 { |
| 245 | regulator-name = "db8500-vrf1"; |
| 246 | }; |
| 247 | |
| 248 | // DB8500_REGULATOR_SWITCH_SVAMMDSP |
| 249 | db8500_sva_mmdsp_reg: db8500_sva_mmdsp { |
| 250 | regulator-name = "db8500-sva-mmdsp"; |
| 251 | }; |
| 252 | |
| 253 | // DB8500_REGULATOR_SWITCH_SVAMMDSPRET |
| 254 | db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret { |
| 255 | regulator-name = "db8500-sva-mmdsp-ret"; |
| 256 | }; |
| 257 | |
| 258 | // DB8500_REGULATOR_SWITCH_SVAPIPE |
| 259 | db8500_sva_pipe_reg: db8500_sva_pipe { |
| 260 | regulator-name = "db8500_sva_pipe"; |
| 261 | }; |
| 262 | |
| 263 | // DB8500_REGULATOR_SWITCH_SIAMMDSP |
| 264 | db8500_sia_mmdsp_reg: db8500_sia_mmdsp { |
| 265 | regulator-name = "db8500_sia_mmdsp"; |
| 266 | }; |
| 267 | |
| 268 | // DB8500_REGULATOR_SWITCH_SIAMMDSPRET |
| 269 | db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret { |
| 270 | regulator-name = "db8500-sia-mmdsp-ret"; |
| 271 | }; |
| 272 | |
| 273 | // DB8500_REGULATOR_SWITCH_SIAPIPE |
| 274 | db8500_sia_pipe_reg: db8500_sia_pipe { |
| 275 | regulator-name = "db8500-sia-pipe"; |
| 276 | }; |
| 277 | |
| 278 | // DB8500_REGULATOR_SWITCH_SGA |
| 279 | db8500_sga_reg: db8500_sga { |
| 280 | regulator-name = "db8500-sga"; |
| 281 | vin-supply = <&db8500_vape_reg>; |
| 282 | }; |
| 283 | |
| 284 | // DB8500_REGULATOR_SWITCH_B2R2_MCDE |
| 285 | db8500_b2r2_mcde_reg: db8500_b2r2_mcde { |
| 286 | regulator-name = "db8500-b2r2-mcde"; |
| 287 | vin-supply = <&db8500_vape_reg>; |
| 288 | }; |
| 289 | |
| 290 | // DB8500_REGULATOR_SWITCH_ESRAM12 |
| 291 | db8500_esram12_reg: db8500_esram12 { |
| 292 | regulator-name = "db8500-esram12"; |
| 293 | }; |
| 294 | |
| 295 | // DB8500_REGULATOR_SWITCH_ESRAM12RET |
| 296 | db8500_esram12_ret_reg: db8500_esram12_ret { |
| 297 | regulator-name = "db8500-esram12-ret"; |
| 298 | }; |
| 299 | |
| 300 | // DB8500_REGULATOR_SWITCH_ESRAM34 |
| 301 | db8500_esram34_reg: db8500_esram34 { |
| 302 | regulator-name = "db8500-esram34"; |
| 303 | }; |
| 304 | |
| 305 | // DB8500_REGULATOR_SWITCH_ESRAM34RET |
| 306 | db8500_esram34_ret_reg: db8500_esram34_ret { |
| 307 | regulator-name = "db8500-esram34-ret"; |
| 308 | }; |
| 309 | }; |
| 310 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 311 | ab8500@5 { |
| 312 | compatible = "stericsson,ab8500"; |
| 313 | reg = <5>; /* mailbox 5 is i2c */ |
| 314 | interrupts = <0 40 0x4>; |
Lee Jones | 732973c | 2012-05-29 10:49:33 +0800 | [diff] [blame^] | 315 | interrupt-controller; |
| 316 | #interrupt-cells = <2>; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 317 | |
Lee Jones | 4eda912 | 2012-05-28 16:59:26 +0800 | [diff] [blame] | 318 | ab8500-gpadc { |
| 319 | compatible = "stericsson,ab8500-gpadc"; |
Lee Jones | 732973c | 2012-05-29 10:49:33 +0800 | [diff] [blame^] | 320 | interrupts = <32 0x4 |
| 321 | 39 0x4>; |
Lee Jones | 4eda912 | 2012-05-28 16:59:26 +0800 | [diff] [blame] | 322 | interrupt-names = "HW_CONV_END", "SW_CONV_END"; |
| 323 | vddadc-supply = <&ab8500_ldo_tvout_reg>; |
| 324 | }; |
| 325 | |
Lee Jones | ee189ce | 2012-05-03 14:40:24 +0100 | [diff] [blame] | 326 | ab8500-usb { |
| 327 | compatible = "stericsson,ab8500-usb"; |
Lee Jones | 732973c | 2012-05-29 10:49:33 +0800 | [diff] [blame^] | 328 | interrupts = < 90 0x4 |
| 329 | 96 0x4 |
| 330 | 14 0x4 |
| 331 | 15 0x4 |
| 332 | 79 0x4 |
| 333 | 74 0x4 |
| 334 | 75 0x4>; |
Lee Jones | ee189ce | 2012-05-03 14:40:24 +0100 | [diff] [blame] | 335 | interrupt-names = "ID_WAKEUP_R", |
| 336 | "ID_WAKEUP_F", |
| 337 | "VBUS_DET_F", |
| 338 | "VBUS_DET_R", |
| 339 | "USB_LINK_STATUS", |
| 340 | "USB_ADP_PROBE_PLUG", |
| 341 | "USB_ADP_PROBE_UNPLUG"; |
| 342 | vddulpivio18-supply = <&ab8500_ldo_initcore_reg>; |
| 343 | v-ape-supply = <&db8500_vape_reg>; |
| 344 | musb_1v8-supply = <&db8500_vsmps2_reg>; |
| 345 | }; |
| 346 | |
Lee Jones | 12cb7bd | 2012-05-02 08:45:40 +0100 | [diff] [blame] | 347 | ab8500-ponkey { |
| 348 | compatible = "stericsson,ab8500-ponkey"; |
Lee Jones | 732973c | 2012-05-29 10:49:33 +0800 | [diff] [blame^] | 349 | interrupts = <6 0x4 |
| 350 | 7 0x4>; |
Lee Jones | 12cb7bd | 2012-05-02 08:45:40 +0100 | [diff] [blame] | 351 | interrupt-names = "ONKEY_DBF", "ONKEY_DBR"; |
| 352 | }; |
| 353 | |
Lee Jones | 401cd1b | 2012-05-03 12:53:55 +0100 | [diff] [blame] | 354 | ab8500-sysctrl { |
| 355 | compatible = "stericsson,ab8500-sysctrl"; |
| 356 | }; |
| 357 | |
Lee Jones | 78451de | 2012-05-03 13:03:59 +0100 | [diff] [blame] | 358 | ab8500-pwm { |
| 359 | compatible = "stericsson,ab8500-pwm"; |
| 360 | }; |
| 361 | |
Lee Jones | 215891e | 2012-05-01 16:11:19 +0100 | [diff] [blame] | 362 | ab8500-debugfs { |
| 363 | compatible = "stericsson,ab8500-debug"; |
| 364 | }; |
| 365 | |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 366 | ab8500-regulators { |
| 367 | compatible = "stericsson,ab8500-regulator"; |
| 368 | |
| 369 | // supplies to the display/camera |
| 370 | ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { |
| 371 | regulator-name = "V-DISPLAY"; |
| 372 | regulator-min-microvolt = <2500000>; |
| 373 | regulator-max-microvolt = <2900000>; |
| 374 | regulator-boot-on; |
| 375 | /* BUG: If turned off MMC will be affected. */ |
| 376 | regulator-always-on; |
| 377 | }; |
| 378 | |
| 379 | // supplies to the on-board eMMC |
| 380 | ab8500_ldo_aux2_reg: ab8500_ldo_aux2 { |
| 381 | regulator-name = "V-eMMC1"; |
| 382 | regulator-min-microvolt = <1100000>; |
| 383 | regulator-max-microvolt = <3300000>; |
| 384 | }; |
| 385 | |
| 386 | // supply for VAUX3; SDcard slots |
| 387 | ab8500_ldo_aux3_reg: ab8500_ldo_aux3 { |
| 388 | regulator-name = "V-MMC-SD"; |
| 389 | regulator-min-microvolt = <1100000>; |
| 390 | regulator-max-microvolt = <3300000>; |
| 391 | }; |
| 392 | |
| 393 | // supply for v-intcore12; VINTCORE12 LDO |
| 394 | ab8500_ldo_initcore_reg: ab8500_ldo_initcore { |
| 395 | regulator-name = "V-INTCORE"; |
| 396 | }; |
| 397 | |
| 398 | // supply for tvout; gpadc; TVOUT LDO |
| 399 | ab8500_ldo_tvout_reg: ab8500_ldo_tvout { |
| 400 | regulator-name = "V-TVOUT"; |
| 401 | }; |
| 402 | |
| 403 | // supply for ab8500-usb; USB LDO |
| 404 | ab8500_ldo_usb_reg: ab8500_ldo_usb { |
| 405 | regulator-name = "dummy"; |
| 406 | }; |
| 407 | |
| 408 | // supply for ab8500-vaudio; VAUDIO LDO |
| 409 | ab8500_ldo_audio_reg: ab8500_ldo_audio { |
| 410 | regulator-name = "V-AUD"; |
| 411 | }; |
| 412 | |
| 413 | // supply for v-anamic1 VAMic1-LDO |
| 414 | ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 { |
| 415 | regulator-name = "V-AMIC1"; |
| 416 | }; |
| 417 | |
| 418 | // supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1 |
| 419 | ab8500_ldo_amamic2_reg: ab8500_ldo_amamic2 { |
| 420 | regulator-name = "V-AMIC2"; |
| 421 | }; |
| 422 | |
| 423 | // supply for v-dmic; VDMIC LDO |
| 424 | ab8500_ldo_dmic_reg: ab8500_ldo_dmic { |
| 425 | regulator-name = "V-DMIC"; |
| 426 | }; |
| 427 | |
| 428 | // supply for U8500 CSI/DSI; VANA LDO |
| 429 | ab8500_ldo_ana_reg: ab8500_ldo_ana { |
| 430 | regulator-name = "V-CSI/DSI"; |
| 431 | }; |
| 432 | }; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 433 | }; |
| 434 | }; |
| 435 | |
| 436 | i2c@80004000 { |
Lee Jones | 785834a | 2012-04-13 15:05:04 +0100 | [diff] [blame] | 437 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 438 | reg = <0x80004000 0x1000>; |
| 439 | interrupts = <0 21 0x4>; |
| 440 | #address-cells = <1>; |
| 441 | #size-cells = <0>; |
| 442 | }; |
| 443 | |
| 444 | i2c@80122000 { |
Lee Jones | 785834a | 2012-04-13 15:05:04 +0100 | [diff] [blame] | 445 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 446 | reg = <0x80122000 0x1000>; |
| 447 | interrupts = <0 22 0x4>; |
| 448 | #address-cells = <1>; |
| 449 | #size-cells = <0>; |
| 450 | }; |
| 451 | |
| 452 | i2c@80128000 { |
Lee Jones | 785834a | 2012-04-13 15:05:04 +0100 | [diff] [blame] | 453 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 454 | reg = <0x80128000 0x1000>; |
| 455 | interrupts = <0 55 0x4>; |
| 456 | #address-cells = <1>; |
| 457 | #size-cells = <0>; |
| 458 | }; |
| 459 | |
| 460 | i2c@80110000 { |
Lee Jones | 785834a | 2012-04-13 15:05:04 +0100 | [diff] [blame] | 461 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 462 | reg = <0x80110000 0x1000>; |
| 463 | interrupts = <0 12 0x4>; |
| 464 | #address-cells = <1>; |
| 465 | #size-cells = <0>; |
| 466 | }; |
| 467 | |
| 468 | i2c@8012a000 { |
Lee Jones | 785834a | 2012-04-13 15:05:04 +0100 | [diff] [blame] | 469 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 470 | reg = <0x8012a000 0x1000>; |
| 471 | interrupts = <0 51 0x4>; |
| 472 | #address-cells = <1>; |
| 473 | #size-cells = <0>; |
| 474 | }; |
| 475 | |
| 476 | ssp@80002000 { |
| 477 | compatible = "arm,pl022", "arm,primecell"; |
| 478 | reg = <80002000 0x1000>; |
| 479 | interrupts = <0 14 0x4>; |
| 480 | #address-cells = <1>; |
| 481 | #size-cells = <0>; |
| 482 | status = "disabled"; |
Lee Jones | 15daf69 | 2012-03-15 16:47:11 +0000 | [diff] [blame] | 483 | |
| 484 | // Add one of these for each child device |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 485 | cs-gpios = <&gpio0 31 0x4 &gpio4 14 0x4 &gpio4 16 0x4 |
| 486 | &gpio6 22 0x4 &gpio7 0 0x4>; |
Lee Jones | 15daf69 | 2012-03-15 16:47:11 +0000 | [diff] [blame] | 487 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 488 | }; |
| 489 | |
| 490 | uart@80120000 { |
| 491 | compatible = "arm,pl011", "arm,primecell"; |
| 492 | reg = <0x80120000 0x1000>; |
| 493 | interrupts = <0 11 0x4>; |
| 494 | status = "disabled"; |
| 495 | }; |
| 496 | uart@80121000 { |
| 497 | compatible = "arm,pl011", "arm,primecell"; |
| 498 | reg = <0x80121000 0x1000>; |
| 499 | interrupts = <0 19 0x4>; |
| 500 | status = "disabled"; |
| 501 | }; |
| 502 | uart@80007000 { |
| 503 | compatible = "arm,pl011", "arm,primecell"; |
| 504 | reg = <0x80007000 0x1000>; |
| 505 | interrupts = <0 26 0x4>; |
| 506 | status = "disabled"; |
| 507 | }; |
| 508 | |
| 509 | sdi@80126000 { |
| 510 | compatible = "arm,pl18x", "arm,primecell"; |
| 511 | reg = <0x80126000 0x1000>; |
| 512 | interrupts = <0 60 0x4>; |
| 513 | status = "disabled"; |
| 514 | }; |
| 515 | sdi@80118000 { |
| 516 | compatible = "arm,pl18x", "arm,primecell"; |
| 517 | reg = <0x80118000 0x1000>; |
| 518 | interrupts = <0 50 0x4>; |
| 519 | status = "disabled"; |
| 520 | }; |
| 521 | sdi@80005000 { |
| 522 | compatible = "arm,pl18x", "arm,primecell"; |
| 523 | reg = <0x80005000 0x1000>; |
| 524 | interrupts = <0 41 0x4>; |
| 525 | status = "disabled"; |
| 526 | }; |
| 527 | sdi@80119000 { |
| 528 | compatible = "arm,pl18x", "arm,primecell"; |
| 529 | reg = <0x80119000 0x1000>; |
| 530 | interrupts = <0 59 0x4>; |
| 531 | status = "disabled"; |
| 532 | }; |
| 533 | sdi@80114000 { |
| 534 | compatible = "arm,pl18x", "arm,primecell"; |
| 535 | reg = <0x80114000 0x1000>; |
| 536 | interrupts = <0 99 0x4>; |
| 537 | status = "disabled"; |
| 538 | }; |
| 539 | sdi@80008000 { |
| 540 | compatible = "arm,pl18x", "arm,primecell"; |
| 541 | reg = <0x80114000 0x1000>; |
| 542 | interrupts = <0 100 0x4>; |
| 543 | status = "disabled"; |
| 544 | }; |
Lee Jones | bf76e06 | 2012-04-24 10:53:18 +0100 | [diff] [blame] | 545 | |
| 546 | external-bus@50000000 { |
| 547 | compatible = "simple-bus"; |
| 548 | reg = <0x50000000 0x4000000>; |
| 549 | #address-cells = <1>; |
| 550 | #size-cells = <1>; |
| 551 | ranges = <0 0x50000000 0x4000000>; |
| 552 | status = "disabled"; |
| 553 | }; |
Arnd Bergmann | 5d0769f | 2012-03-02 23:07:21 +0000 | [diff] [blame] | 554 | }; |
| 555 | }; |