Mayank Rana | 3d073cf | 2012-12-18 10:23:27 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | /include/ "dsi-panel-toshiba-720p-video.dtsi" |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 14 | /include/ "msm8974-camera-sensor.dtsi" |
Amy Maloche | 24de28b | 2012-09-17 12:09:56 -0700 | [diff] [blame] | 15 | /include/ "msm8974-leds.dtsi" |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 16 | |
| 17 | / { |
| 18 | serial@f991e000 { |
| 19 | status = "ok"; |
| 20 | }; |
| 21 | |
Chandan Uddaraju | 0c33e77 | 2012-12-13 22:49:58 -0800 | [diff] [blame] | 22 | qcom,mdss_dsi_toshiba_720p_video { |
| 23 | status = "ok"; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | qcom,hdmi_tx@fd922100 { |
| 27 | status = "disabled"; |
| 28 | }; |
| 29 | |
| 30 | i2c@f9924000 { |
| 31 | atmel_mxt_ts@4a { |
| 32 | compatible = "atmel,mxt-ts"; |
| 33 | reg = <0x4a>; |
| 34 | interrupt-parent = <&msmgpio>; |
| 35 | interrupts = <61 0x2>; |
| 36 | vdd_ana-supply = <&pm8941_l18>; |
| 37 | vcc_i2c-supply = <&pm8941_lvs1>; |
| 38 | atmel,reset-gpio = <&msmgpio 60 0x00>; |
| 39 | atmel,irq-gpio = <&msmgpio 61 0x00>; |
| 40 | atmel,panel-coords = <0 0 760 1424>; |
| 41 | atmel,display-coords = <0 0 720 1280>; |
Sreenivasulu Chalam Charla | bf7f621 | 2012-10-17 22:10:24 +0530 | [diff] [blame] | 42 | atmel,i2c-pull-up; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 43 | atmel,cfg_1 { |
| 44 | atmel,family-id = <0x82>; |
| 45 | atmel,variant-id = <0x19>; |
| 46 | atmel,version = <0x10>; |
| 47 | atmel,build = <0xaa>; |
| 48 | atmel,config = [ |
| 49 | /* Object 6, Instance = 0 */ |
| 50 | 00 00 00 00 00 00 |
| 51 | /* Object 38, Instance = 0 */ |
Amy Maloche | 8463721 | 2012-12-14 15:12:19 -0800 | [diff] [blame] | 52 | 15 01 00 03 0A 0C 00 00 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 53 | /* Object 7, Instance = 0 */ |
Amy Maloche | 8463721 | 2012-12-14 15:12:19 -0800 | [diff] [blame] | 54 | 20 08 32 03 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 55 | /* Object 8, Instance = 0 */ |
Amy Maloche | 8463721 | 2012-12-14 15:12:19 -0800 | [diff] [blame] | 56 | 0F 00 0A 0A 00 00 0A 0A 00 00 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 57 | /* Object 9, Instance = 0 */ |
Amy Maloche | 8463721 | 2012-12-14 15:12:19 -0800 | [diff] [blame] | 58 | 83 00 00 18 0E 00 70 46 02 01 |
| 59 | 00 0A 03 31 04 05 0A 0A 90 05 |
| 60 | F8 02 05 F1 F1 0F 00 00 08 2D |
| 61 | 12 06 00 00 00 01 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 62 | /* Object 15, Instance = 0 */ |
| 63 | 00 00 00 00 00 00 00 00 00 00 |
| 64 | 00 |
| 65 | /* Object 18, Instance = 0 */ |
| 66 | 00 00 |
| 67 | /* Object 19, Instance = 0 */ |
| 68 | 00 00 00 00 00 00 |
| 69 | /* Object 23, Instance = 0 */ |
| 70 | 00 00 00 00 00 00 00 00 00 00 |
| 71 | 00 00 00 00 00 |
| 72 | /* Object 25, Instance = 0 */ |
| 73 | 00 00 00 00 00 00 00 00 00 00 |
| 74 | 00 00 00 00 00 |
| 75 | /* Object 40, Instance = 0 */ |
| 76 | 00 00 00 00 00 |
| 77 | /* Object 42, Instance = 0 */ |
Amy Maloche | 8463721 | 2012-12-14 15:12:19 -0800 | [diff] [blame] | 78 | 33 1E 19 10 80 00 00 00 FF 00 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 79 | /* Object 46, Instance = 0 */ |
| 80 | 00 00 10 10 00 00 03 00 00 01 |
| 81 | /* Object 47, Instance = 0 */ |
| 82 | 08 0A 28 0A 02 0A 00 8C 00 20 |
| 83 | 00 00 00 |
| 84 | /* Object 55, Instance = 0 */ |
| 85 | 00 00 00 00 00 00 |
| 86 | /* Object 56, Instance = 0 */ |
Amy Maloche | 8463721 | 2012-12-14 15:12:19 -0800 | [diff] [blame] | 87 | 00 00 00 18 05 05 05 05 05 05 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 88 | 05 05 05 05 05 05 05 05 05 05 |
| 89 | 05 05 05 05 05 05 05 05 00 00 |
| 90 | 00 00 00 00 00 00 00 00 00 00 |
| 91 | 00 00 |
| 92 | /* Object 57, Instance = 0 */ |
| 93 | 00 00 00 |
| 94 | /* Object 61, Instance = 0 */ |
| 95 | 00 00 00 00 00 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 96 | /* Object 62, Instance = 0 */ |
Amy Maloche | 8463721 | 2012-12-14 15:12:19 -0800 | [diff] [blame] | 97 | 01 2A 00 16 00 00 00 00 0B 01 |
| 98 | 02 03 04 08 00 00 08 10 18 05 |
| 99 | 00 0A 05 05 50 14 19 34 1A 7F |
| 100 | 00 00 00 00 00 00 00 00 00 30 |
| 101 | 05 02 00 01 00 05 00 00 00 00 |
| 102 | 00 00 00 00 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 103 | ]; |
| 104 | }; |
| 105 | }; |
| 106 | }; |
| 107 | |
Amy Maloche | 932657e | 2012-11-26 11:31:55 -0800 | [diff] [blame] | 108 | gen-vkeys { |
| 109 | compatible = "qcom,gen-vkeys"; |
| 110 | label = "atmel_mxt_ts"; |
| 111 | qcom,disp-maxx = <720>; |
| 112 | qcom,disp-maxy = <1280>; |
| 113 | qcom,panel-maxx = <760>; |
| 114 | qcom,panel-maxy = <1424>; |
| 115 | qcom,key-codes = <158 139 102 217>; |
| 116 | }; |
| 117 | |
Amy Maloche | 527acc4 | 2012-12-07 18:40:54 -0800 | [diff] [blame] | 118 | i2c@f9967000 { |
| 119 | isa1200@48 { |
| 120 | status = "okay"; |
| 121 | reg = <0x48>; |
| 122 | vcc_i2c-supply = <&pm8941_s3>; |
| 123 | compatible = "imagis,isa1200"; |
| 124 | label = "vibrator"; |
| 125 | imagis,chip-en; |
| 126 | imagis,need-pwm-clk; |
| 127 | imagis,ext-clk-en; |
| 128 | imagis,hap-en-gpio = <&msmgpio 86 0x00>; |
| 129 | imagis,max-timeout = <15000>; |
| 130 | imagis,pwm-div = <256>; |
| 131 | imagis,mode-ctrl = <2>; |
| 132 | imagis,regulator { |
| 133 | regulator-name = "vcc_i2c"; |
| 134 | regulator-min-microvolt = <1800000>; |
| 135 | regulator-max-microvolt = <1800000>; |
| 136 | regulator-max-microamp = <9360>; |
| 137 | }; |
| 138 | }; |
| 139 | }; |
| 140 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 141 | gpio_keys { |
| 142 | compatible = "gpio-keys"; |
| 143 | input-name = "gpio-keys"; |
| 144 | |
| 145 | camera_snapshot { |
| 146 | label = "camera_snapshot"; |
| 147 | gpios = <&pm8941_gpios 3 0x1>; |
| 148 | linux,input-type = <1>; |
| 149 | linux,code = <0x2fe>; |
| 150 | gpio-key,wakeup; |
| 151 | debounce-interval = <15>; |
| 152 | }; |
| 153 | |
| 154 | camera_focus { |
| 155 | label = "camera_focus"; |
| 156 | gpios = <&pm8941_gpios 4 0x1>; |
| 157 | linux,input-type = <1>; |
| 158 | linux,code = <0x210>; |
| 159 | gpio-key,wakeup; |
| 160 | debounce-interval = <15>; |
| 161 | }; |
| 162 | |
| 163 | vol_up { |
| 164 | label = "volume_up"; |
| 165 | gpios = <&pm8941_gpios 5 0x1>; |
| 166 | linux,input-type = <1>; |
| 167 | linux,code = <115>; |
| 168 | gpio-key,wakeup; |
| 169 | debounce-interval = <15>; |
| 170 | }; |
| 171 | }; |
| 172 | |
| 173 | spi@f9923000 { |
| 174 | ethernet-switch@2 { |
| 175 | compatible = "micrel,ks8851"; |
| 176 | reg = <2>; |
| 177 | interrupt-parent = <&msmgpio>; |
| 178 | interrupts = <94 0>; |
| 179 | spi-max-frequency = <4800000>; |
| 180 | rst-gpio = <&pm8941_mpps 6 0>; |
| 181 | vdd-io-supply = <&spi_eth_vreg>; |
| 182 | vdd-phy-supply = <&spi_eth_vreg>; |
| 183 | }; |
| 184 | }; |
Phani Kumar Uppalapati | a212987 | 2012-11-08 20:36:45 -0800 | [diff] [blame] | 185 | |
| 186 | sound { |
Phani Kumar Uppalapati | a212987 | 2012-11-08 20:36:45 -0800 | [diff] [blame] | 187 | qcom,model = "msm8974-taiko-mtp-snd-card"; |
Phani Kumar Uppalapati | a212987 | 2012-11-08 20:36:45 -0800 | [diff] [blame] | 188 | }; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 189 | }; |
| 190 | |
Amy Maloche | 24de28b | 2012-09-17 12:09:56 -0700 | [diff] [blame] | 191 | &spmi_bus { |
| 192 | qcom,pm8941@1 { |
| 193 | qcom,leds@d800 { |
| 194 | status = "okay"; |
| 195 | qcom,wled_0 { |
| 196 | label = "wled"; |
| 197 | linux,name = "wled:backlight"; |
| 198 | linux,default-trigger = "bkl-trigger"; |
| 199 | qcom,cs-out-en; |
| 200 | qcom,op-fdbck; |
| 201 | qcom,default-state = "off"; |
| 202 | qcom,max-current = <25>; |
| 203 | qcom,ctrl-delay-us = <0>; |
| 204 | qcom,boost-curr-lim = <3>; |
| 205 | qcom,cp-sel = <0>; |
| 206 | qcom,switch-freq = <2>; |
| 207 | qcom,ovp-val = <2>; |
| 208 | qcom,num-strings = <1>; |
| 209 | qcom,id = <0>; |
| 210 | }; |
| 211 | }; |
| 212 | |
| 213 | qcom,leds@d900 { |
| 214 | status = "disabled"; |
| 215 | }; |
| 216 | |
| 217 | qcom,leds@da00 { |
| 218 | status = "disabled"; |
| 219 | }; |
| 220 | |
| 221 | qcom,leds@db00 { |
| 222 | status = "disabled"; |
| 223 | }; |
| 224 | |
| 225 | qcom,leds@dc00 { |
| 226 | status = "disabled"; |
| 227 | }; |
| 228 | |
| 229 | qcom,leds@dd00 { |
| 230 | status = "disabled"; |
| 231 | }; |
| 232 | |
| 233 | qcom,leds@de00 { |
| 234 | status = "disabled"; |
| 235 | }; |
| 236 | |
| 237 | qcom,leds@df00 { |
| 238 | status = "disabled"; |
| 239 | }; |
| 240 | |
| 241 | qcom,leds@e000 { |
| 242 | status = "disabled"; |
| 243 | }; |
| 244 | |
| 245 | qcom,leds@e100 { |
| 246 | status = "disabled"; |
| 247 | }; |
| 248 | }; |
| 249 | }; |
| 250 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 251 | &sdcc2 { |
| 252 | #address-cells = <0>; |
| 253 | interrupt-parent = <&sdcc2>; |
| 254 | interrupts = <0 1 2>; |
| 255 | #interrupt-cells = <1>; |
| 256 | interrupt-map-mask = <0xffffffff>; |
| 257 | interrupt-map = <0 &intc 0 125 0 |
| 258 | 1 &intc 0 220 0 |
| 259 | 2 &msmgpio 62 0x3>; |
| 260 | interrupt-names = "core_irq", "bam_irq", "status_irq"; |
| 261 | cd-gpios = <&msmgpio 62 0x1>; |
| 262 | }; |
| 263 | |
| 264 | &usb_otg { |
| 265 | qcom,hsusb-otg-otg-control = <2>; |
| 266 | }; |
| 267 | |
Mayank Rana | 3d073cf | 2012-12-18 10:23:27 +0530 | [diff] [blame] | 268 | &uart7 { |
| 269 | status = "ok"; |
| 270 | }; |
| 271 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 272 | &usb3 { |
Manu Gautam | 6c0ff03 | 2012-11-02 14:55:35 +0530 | [diff] [blame] | 273 | qcom,otg-capability; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 274 | }; |
| 275 | |
Xiaozhe Shi | 03a44bf | 2012-11-12 15:59:27 -0800 | [diff] [blame] | 276 | &pm8941_bms { |
| 277 | status = "ok"; |
| 278 | }; |
| 279 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 280 | &pm8941_chg { |
| 281 | status = "ok"; |
| 282 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 283 | qcom,chg-chgr@1000 { |
| 284 | status = "ok"; |
| 285 | }; |
| 286 | |
| 287 | qcom,chg-buck@1100 { |
| 288 | status = "ok"; |
| 289 | }; |
| 290 | |
| 291 | qcom,chg-bat-if@1200 { |
| 292 | status = "ok"; |
| 293 | }; |
| 294 | |
| 295 | qcom,chg-usb-chgpth@1300 { |
| 296 | status = "ok"; |
| 297 | }; |
| 298 | |
| 299 | qcom,chg-dc-chgpth@1400 { |
| 300 | status = "ok"; |
| 301 | }; |
| 302 | |
| 303 | qcom,chg-boost@1500 { |
| 304 | status = "ok"; |
| 305 | }; |
| 306 | |
| 307 | qcom,chg-misc@1600 { |
| 308 | status = "ok"; |
| 309 | }; |
| 310 | }; |
| 311 | |
| 312 | &pm8941_gpios { |
| 313 | gpio@c000 { /* GPIO 1 */ |
| 314 | }; |
| 315 | |
| 316 | gpio@c100 { /* GPIO 2 */ |
| 317 | }; |
| 318 | |
| 319 | gpio@c200 { /* GPIO 3 */ |
| 320 | qcom,mode = <0>; |
| 321 | qcom,pull = <0>; |
| 322 | qcom,vin-sel = <2>; |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 323 | qcom,src-sel = <0>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 324 | }; |
| 325 | |
| 326 | gpio@c300 { /* GPIO 4 */ |
| 327 | qcom,mode = <0>; |
| 328 | qcom,pull = <0>; |
| 329 | qcom,vin-sel = <2>; |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 330 | qcom,src-sel = <0>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 331 | }; |
| 332 | |
| 333 | gpio@c400 { /* GPIO 5 */ |
| 334 | qcom,mode = <0>; |
| 335 | qcom,pull = <0>; |
| 336 | qcom,vin-sel = <2>; |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 337 | qcom,src-sel = <0>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 338 | }; |
| 339 | |
| 340 | gpio@c500 { /* GPIO 6 */ |
| 341 | }; |
| 342 | |
| 343 | gpio@c600 { /* GPIO 7 */ |
| 344 | }; |
| 345 | |
| 346 | gpio@c700 { /* GPIO 8 */ |
| 347 | }; |
| 348 | |
| 349 | gpio@c800 { /* GPIO 9 */ |
| 350 | }; |
| 351 | |
| 352 | gpio@c900 { /* GPIO 10 */ |
| 353 | }; |
| 354 | |
| 355 | gpio@ca00 { /* GPIO 11 */ |
| 356 | }; |
| 357 | |
| 358 | gpio@cb00 { /* GPIO 12 */ |
| 359 | }; |
| 360 | |
| 361 | gpio@cc00 { /* GPIO 13 */ |
| 362 | }; |
| 363 | |
| 364 | gpio@cd00 { /* GPIO 14 */ |
| 365 | }; |
| 366 | |
| 367 | gpio@ce00 { /* GPIO 15 */ |
| 368 | qcom,mode = <1>; |
| 369 | qcom,output-type = <0>; |
| 370 | qcom,pull = <5>; |
| 371 | qcom,vin-sel = <2>; |
| 372 | qcom,out-strength = <3>; |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 373 | qcom,src-sel = <2>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 374 | qcom,master-en = <1>; |
| 375 | }; |
| 376 | |
| 377 | gpio@cf00 { /* GPIO 16 */ |
Amy Maloche | 527acc4 | 2012-12-07 18:40:54 -0800 | [diff] [blame] | 378 | qcom,mode = <1>; |
| 379 | qcom,output-type = <0>; |
| 380 | qcom,pull = <5>; |
| 381 | qcom,vin-sel = <2>; |
| 382 | qcom,out-strength = <3>; |
| 383 | qcom,src-sel = <2>; |
| 384 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 385 | }; |
| 386 | |
| 387 | gpio@d000 { /* GPIO 17 */ |
| 388 | }; |
| 389 | |
| 390 | gpio@d100 { /* GPIO 18 */ |
| 391 | }; |
| 392 | |
| 393 | gpio@d200 { /* GPIO 19 */ |
| 394 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 395 | qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ |
| 396 | qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ |
| 397 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
| 398 | qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 399 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 400 | qcom,master-en = <1>; |
| 401 | }; |
| 402 | |
| 403 | gpio@d300 { /* GPIO 20 */ |
| 404 | }; |
| 405 | |
| 406 | gpio@d400 { /* GPIO 21 */ |
| 407 | }; |
| 408 | |
| 409 | gpio@d500 { /* GPIO 22 */ |
| 410 | }; |
| 411 | |
| 412 | gpio@d600 { /* GPIO 23 */ |
| 413 | }; |
| 414 | |
| 415 | gpio@d700 { /* GPIO 24 */ |
| 416 | }; |
| 417 | |
| 418 | gpio@d800 { /* GPIO 25 */ |
| 419 | }; |
| 420 | |
| 421 | gpio@d900 { /* GPIO 26 */ |
| 422 | }; |
| 423 | |
| 424 | gpio@da00 { /* GPIO 27 */ |
| 425 | }; |
| 426 | |
| 427 | gpio@db00 { /* GPIO 28 */ |
| 428 | }; |
| 429 | |
| 430 | gpio@dc00 { /* GPIO 29 */ |
| 431 | qcom,pull = <0>; /* set to default pull */ |
| 432 | qcom,master-en = <1>; |
| 433 | qcom,vin-sel = <2>; /* select 1.8 V source */ |
| 434 | }; |
| 435 | |
| 436 | gpio@dd00 { /* GPIO 30 */ |
| 437 | }; |
| 438 | |
| 439 | gpio@de00 { /* GPIO 31 */ |
| 440 | }; |
| 441 | |
| 442 | gpio@df00 { /* GPIO 32 */ |
| 443 | }; |
| 444 | |
| 445 | gpio@e000 { /* GPIO 33 */ |
| 446 | }; |
| 447 | |
| 448 | gpio@e100 { /* GPIO 34 */ |
| 449 | }; |
| 450 | |
| 451 | gpio@e200 { /* GPIO 35 */ |
| 452 | }; |
| 453 | |
| 454 | gpio@e300 { /* GPIO 36 */ |
| 455 | }; |
| 456 | }; |
| 457 | |
| 458 | &pm8941_mpps { |
| 459 | |
| 460 | mpp@a000 { /* MPP 1 */ |
| 461 | }; |
| 462 | |
| 463 | mpp@a100 { /* MPP 2 */ |
| 464 | }; |
| 465 | |
| 466 | mpp@a200 { /* MPP 3 */ |
| 467 | }; |
| 468 | |
| 469 | mpp@a300 { /* MPP 4 */ |
| 470 | }; |
| 471 | |
| 472 | mpp@a400 { /* MPP 5 */ |
| 473 | /* SPI_ETH config */ |
| 474 | qcom,mode = <1>; /* DIG_OUT */ |
| 475 | qcom,output-type = <0>; /* CMOS */ |
| 476 | qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 477 | qcom,src-sel = <0>; /* CONSTANT */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 478 | qcom,master-en = <1>; /* ENABLE MPP */ |
| 479 | }; |
| 480 | |
| 481 | mpp@a500 { /* MPP 6 */ |
| 482 | /* SPI_ETH_RST config */ |
| 483 | qcom,mode = <1>; /* DIG_OUT */ |
| 484 | qcom,output-type = <0>; /* CMOS */ |
| 485 | qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 486 | qcom,src-sel = <0>; /* CONSTANT */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 487 | qcom,master-en = <1>; /* ENABLE MPP */ |
| 488 | }; |
| 489 | |
| 490 | mpp@a600 { /* MPP 7 */ |
| 491 | }; |
| 492 | |
| 493 | mpp@a700 { /* MPP 8 */ |
| 494 | }; |
| 495 | }; |
| 496 | |
| 497 | &pm8841_mpps { |
| 498 | |
| 499 | mpp@a000 { /* MPP 1 */ |
| 500 | }; |
| 501 | |
| 502 | mpp@a100 { /* MPP 2 */ |
| 503 | }; |
| 504 | |
| 505 | mpp@a200 { /* MPP 3 */ |
| 506 | }; |
| 507 | |
| 508 | mpp@a300 { /* MPP 4 */ |
| 509 | }; |
| 510 | }; |
| 511 | |
| 512 | &slim_msm { |
| 513 | taiko_codec { |
| 514 | qcom,cdc-micbias2-ext-cap; |
| 515 | }; |
| 516 | }; |
Siddartha Mohanadoss | e9f24de | 2012-11-02 17:13:18 -0700 | [diff] [blame] | 517 | |
| 518 | &spi_epm { |
| 519 | epm-adc@0 { |
| 520 | compatible = "cy,epm-adc-cy8c5568lti-114"; |
| 521 | reg = <0>; |
| 522 | interrupt-parent = <&msmgpio>; |
| 523 | spi-max-frequency = <960000>; |
| 524 | qcom,channels = <31>; |
| 525 | qcom,gain = <100 100 100 50 100 100 1 100 1 50 |
| 526 | 1 100 1 100 50 50 50 50 50 50 |
| 527 | 100 50 100 50 50 50 50 50 50 50 |
| 528 | 50>; |
| 529 | qcom,rsense = <2 2 2 200 20 2 1 2 1 30 |
| 530 | 1 10 1 30 50 30 500 30 100 30 |
| 531 | 100 500 20 200 1000 20 1000 1000 70 200 |
| 532 | 50>; |
| 533 | qcom,channel-type = <0x1540>; |
| 534 | }; |
| 535 | }; |