Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 1 | /* Copyright (c) 2013, The Linux Foundation. All rights reserved. |
| 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-sharp-qhd-video.dtsi" |
Eugene Yasman | df532be | 2013-05-27 13:09:51 +0300 | [diff] [blame] | 14 | /include/ "msm8974-camera-sensor-dragonboard.dtsi" |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 15 | /include/ "msm8974-leds.dtsi" |
| 16 | |
Eugene Yasman | 2861f4f | 2013-05-19 16:20:37 +0300 | [diff] [blame] | 17 | &soc { |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 18 | serial@f991e000 { |
| 19 | status = "ok"; |
| 20 | }; |
| 21 | |
| 22 | qcom,mdss_dsi_sharp_qhd_video { |
| 23 | status = "ok"; |
Asaf Penso | 7c5deed | 2013-04-28 12:41:21 +0300 | [diff] [blame] | 24 | qcom,cont-splash-enabled; |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | qcom,hdmi_tx@fd922100 { |
| 28 | status = "ok"; |
| 29 | }; |
| 30 | |
| 31 | gpio_keys { |
| 32 | compatible = "gpio-keys"; |
| 33 | input-name = "gpio-keys"; |
| 34 | |
| 35 | vol_up { |
| 36 | label = "volume_up"; |
| 37 | gpios = <&pm8941_gpios 5 0x1>; |
| 38 | linux,input-type = <1>; |
| 39 | linux,code = <115>; |
| 40 | gpio-key,wakeup; |
| 41 | debounce-interval = <15>; |
| 42 | }; |
| 43 | |
| 44 | general { |
| 45 | label = "general"; |
| 46 | gpios = <&pm8941_gpios 23 0x1>; |
| 47 | linux,input-type = <1>; |
| 48 | linux,code = <102>; |
| 49 | gpio-key,wakeup; |
| 50 | debounce-interval = <15>; |
| 51 | }; |
| 52 | }; |
| 53 | |
| 54 | bt_ar3002 { |
| 55 | compatible = "qca,ar3002"; |
| 56 | qca,bt-reset-gpio = <&pm8941_gpios 34 0>; |
| 57 | }; |
| 58 | |
| 59 | hsic_hub { |
| 60 | compatible = "qcom,hsic-smsc-hub"; |
| 61 | #address-cells = <1>; |
| 62 | #size-cells = <1>; |
| 63 | ranges; |
| 64 | smsc,reset-gpio = <&pm8941_gpios 8 0x00>; |
| 65 | |
| 66 | hsic_host: hsic@f9a00000 { |
| 67 | compatible = "qcom,hsic-host"; |
| 68 | reg = <0xf9a00000 0x400>; |
| 69 | #address-cells = <0>; |
| 70 | interrupt-parent = <&hsic_host>; |
| 71 | interrupts = <0 1 2>; |
| 72 | #interrupt-cells = <1>; |
| 73 | interrupt-map-mask = <0xffffffff>; |
| 74 | interrupt-map = <0 &intc 0 136 0 |
| 75 | 1 &intc 0 148 0 |
| 76 | 2 &msmgpio 144 0x8>; |
| 77 | interrupt-names = "core_irq", "async_irq", "wakeup"; |
| 78 | HSIC_VDDCX-supply = <&pm8841_s2>; |
| 79 | HSIC_GDSC-supply = <&gdsc_usb_hsic>; |
| 80 | hsic,strobe-gpio = <&msmgpio 144 0x00>; |
| 81 | hsic,data-gpio = <&msmgpio 145 0x00>; |
| 82 | hsic,ignore-cal-pad-config; |
| 83 | hsic,strobe-pad-offset = <0x2050>; |
| 84 | hsic,data-pad-offset = <0x2054>; |
| 85 | |
| 86 | qcom,msm-bus,name = "hsic"; |
| 87 | qcom,msm-bus,num-cases = <2>; |
| 88 | qcom,msm-bus,active-only = <0>; |
| 89 | qcom,msm-bus,num-paths = <1>; |
| 90 | qcom,msm-bus,vectors-KBps = |
| 91 | <85 512 0 0>, |
| 92 | <85 512 40000 160000>; |
| 93 | }; |
| 94 | }; |
| 95 | |
| 96 | i2c@f9923000 { |
Asaf Penso | c4d9741 | 2013-05-16 14:11:20 +0300 | [diff] [blame] | 97 | status = "ok"; |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 98 | atmel_mxt_ts@4a { |
| 99 | compatible = "atmel,mxt-ts"; |
| 100 | reg = <0x4a>; |
| 101 | interrupt-parent = <&msmgpio>; |
| 102 | interrupts = <61 0x2>; |
| 103 | vdd_ana-supply = <&pm8941_l18>; |
| 104 | vcc_i2c-supply = <&pm8941_s3>; |
| 105 | atmel,reset-gpio = <&msmgpio 60 0x00>; |
| 106 | atmel,irq-gpio = <&msmgpio 61 0x00>; |
| 107 | atmel,panel-coords = <0 0 566 1067>; |
| 108 | atmel,display-coords = <0 0 540 960>; |
| 109 | atmel,i2c-pull-up; |
| 110 | atmel,cfg_1 { |
| 111 | atmel,family-id = <0x81>; |
| 112 | atmel,variant-id = <0x19>; |
| 113 | atmel,version = <0x10>; |
| 114 | atmel,build = <0xaa>; |
| 115 | atmel,config = [ |
| 116 | /* Object 38, Instance = 0 */ |
| 117 | 0F 02 00 17 04 0C 00 00 |
| 118 | /* Object 7, Instance = 0 */ |
| 119 | 30 FF 19 |
| 120 | /* Object 8, Instance = 0 */ |
| 121 | 1B 00 05 01 00 00 08 08 00 00 |
| 122 | /* Object 9, Instance = 0 */ |
| 123 | 83 00 00 13 0B 00 10 23 01 03 |
| 124 | 0A 0F 01 0B 04 05 28 0A 2B 04 |
| 125 | 36 02 00 00 00 00 8F 28 8F 50 |
| 126 | 12 0F 32 32 02 |
| 127 | /* Object 15, Instance = 0 */ |
| 128 | 00 00 00 00 00 00 00 00 00 00 |
| 129 | 00 |
| 130 | /* Object 18, Instance = 0 */ |
| 131 | 00 00 |
| 132 | /* Object 19, Instance = 0 */ |
| 133 | 00 00 00 00 00 00 00 00 00 00 |
| 134 | 00 00 00 00 00 00 |
| 135 | /* Object 23, Instance = 0 */ |
| 136 | 00 00 00 00 00 00 00 00 00 00 |
| 137 | 00 00 00 00 00 |
| 138 | /* Object 25, Instance = 0 */ |
| 139 | 00 00 00 00 00 00 00 00 00 00 |
| 140 | 00 00 00 00 |
| 141 | /* Object 40, Instance = 0 */ |
| 142 | 00 00 00 00 00 |
| 143 | /* Object 42, Instance = 0 */ |
| 144 | 00 00 00 00 00 00 00 00 |
| 145 | /* Object 46, Instance = 0 */ |
| 146 | 00 03 10 30 00 00 01 00 00 |
| 147 | /* Object 47, Instance = 0 */ |
| 148 | 00 00 00 00 00 00 00 00 00 00 |
| 149 | /* Object 48, Instance = 0 */ |
| 150 | 00 00 00 00 00 00 00 00 00 00 |
| 151 | 00 00 00 00 00 00 00 00 00 00 |
| 152 | 00 00 00 00 00 00 00 00 00 00 |
| 153 | 00 00 00 00 00 00 00 00 00 00 |
| 154 | 00 00 00 00 00 00 00 00 00 00 |
| 155 | 00 00 00 00 |
| 156 | ]; |
| 157 | }; |
| 158 | }; |
| 159 | }; |
| 160 | |
| 161 | gen-vkeys { |
| 162 | compatible = "qcom,gen-vkeys"; |
| 163 | label = "atmel_mxt_ts"; |
| 164 | qcom,disp-maxx = <540>; |
| 165 | qcom,disp-maxy = <960>; |
| 166 | qcom,panel-maxx = <566>; |
| 167 | qcom,panel-maxy = <1067>; |
| 168 | qcom,key-codes = <158 139 102 217>; |
| 169 | }; |
| 170 | |
| 171 | sound { |
| 172 | qcom,model = "apq8074-taiko-db-snd-card"; |
| 173 | qcom,hdmi-audio-rx; |
| 174 | |
| 175 | qcom,audio-routing = |
| 176 | "RX_BIAS", "MCLK", |
| 177 | "LDO_H", "MCLK", |
| 178 | "AMIC1", "MIC BIAS1 External", |
| 179 | "MIC BIAS1 External", "Analog Mic4", |
| 180 | "AMIC2", "MIC BIAS2 External", |
| 181 | "MIC BIAS2 External", "Headset Mic", |
| 182 | "AMIC3", "MIC BIAS2 External", |
| 183 | "MIC BIAS2 External", "ANCRight Headset Mic", |
| 184 | "AMIC4", "MIC BIAS2 External", |
| 185 | "MIC BIAS2 External", "ANCLeft Headset Mic", |
| 186 | "AMIC5", "MIC BIAS1 External", |
| 187 | "MIC BIAS1 External", "Analog Mic6", |
| 188 | "AMIC6", "MIC BIAS1 External", |
| 189 | "MIC BIAS1 External", "Analog Mic7", |
| 190 | "DMIC1", "MIC BIAS3 External", |
| 191 | "MIC BIAS3 External", "Digital Mic1", |
| 192 | "DMIC2", "MIC BIAS3 External", |
| 193 | "MIC BIAS3 External", "Digital Mic2", |
| 194 | "DMIC3", "MIC BIAS4 External", |
| 195 | "MIC BIAS4 External", "Digital Mic3", |
| 196 | "DMIC4", "MIC BIAS3 External", |
| 197 | "MIC BIAS3 External", "Digital Mic4", |
| 198 | "DMIC5", "MIC BIAS4 External", |
| 199 | "MIC BIAS4 External", "Digital Mic5", |
| 200 | "DMIC6", "MIC BIAS4 External", |
| 201 | "MIC BIAS4 External", "Digital Mic6"; |
| 202 | }; |
Ilia Lin | 284c631 | 2013-06-05 14:43:11 +0300 | [diff] [blame] | 203 | |
| 204 | qcom,pronto@fb21b000 { |
| 205 | status = "disabled"; |
| 206 | }; |
| 207 | |
| 208 | qcom,iris-fm { |
| 209 | status = "disabled"; |
| 210 | }; |
| 211 | |
| 212 | qcom,wcnss-wlan@fb000000 { |
| 213 | status = "disabled"; |
| 214 | }; |
| 215 | |
| 216 | qcom,smd-wcnss { |
| 217 | status = "disabled"; |
| 218 | }; |
| 219 | |
| 220 | qcom,smsm-wcnss { |
| 221 | status = "disabled"; |
| 222 | }; |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 223 | }; |
| 224 | |
| 225 | &mdss_fb0 { |
| 226 | qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ |
| 227 | }; |
| 228 | |
| 229 | &sdcc3 { |
| 230 | qcom,sup-voltages = <2000 2000>; |
| 231 | status = "ok"; |
| 232 | }; |
| 233 | |
| 234 | &pm8941_l19 { |
| 235 | regulator-min-microvolt = <3300000>; |
| 236 | regulator-max-microvolt = <3300000>; |
| 237 | qcom,init-voltage = <3300000>; |
| 238 | regulator-always-on; |
| 239 | }; |
| 240 | |
| 241 | &pm8941_l10 { |
| 242 | regulator-min-microvolt = <1800000>; |
| 243 | regulator-max-microvolt = <1800000>; |
| 244 | qcom,init-voltage = <1800000>; |
| 245 | regulator-always-on; |
| 246 | }; |
| 247 | |
| 248 | &uart7 { |
| 249 | status = "ok"; |
| 250 | qcom,tx-gpio = <&msmgpio 41 0x00>; |
| 251 | qcom,rx-gpio = <&msmgpio 42 0x00>; |
| 252 | qcom,cts-gpio = <&msmgpio 43 0x00>; |
| 253 | qcom,rfr-gpio = <&msmgpio 44 0x00>; |
| 254 | }; |
| 255 | |
Manu Gautam | 1931391 | 2013-04-03 12:14:40 +0530 | [diff] [blame] | 256 | &usb_otg { |
| 257 | status = "ok"; |
| 258 | qcom,hsusb-otg-otg-control = <2>; |
| 259 | qcom,hsusb-otg-mode = <3>; |
| 260 | vbus_otg-supply = <&pm8941_mvs1>; |
| 261 | qcom,usb2-enable-hsphy2; |
| 262 | qcom,dp-manual-pullup; |
| 263 | |
| 264 | #address-cells = <0>; |
| 265 | interrupt-parent = <&usb_otg>; |
| 266 | interrupts = <0 1 2>; |
| 267 | #interrupt-cells = <1>; |
| 268 | interrupt-map-mask = <0xffffffff>; |
| 269 | interrupt-map = <0 &intc 0 134 0 |
| 270 | 1 &intc 0 140 0 |
| 271 | 2 &spmi_bus 0x0 0x0 0x9 0x0>; |
| 272 | interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; |
| 273 | }; |
| 274 | |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 275 | &usb3 { |
| 276 | qcom,charging-disabled; |
Manu Gautam | 1931391 | 2013-04-03 12:14:40 +0530 | [diff] [blame] | 277 | vbus_dwc3-supply = <0>; |
| 278 | dwc3@f9200000 { |
| 279 | host-only-mode; |
| 280 | }; |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 281 | }; |
| 282 | |
| 283 | &slim_msm { |
| 284 | taiko_codec { |
| 285 | qcom,cdc-micbias2-ext-cap; |
| 286 | qcom,cdc-micbias3-ext-cap; |
| 287 | }; |
| 288 | }; |
| 289 | |
| 290 | &pm8941_gpios { |
| 291 | gpio@c000 { /* GPIO 1 */ |
| 292 | qcom,mode = <0>; |
| 293 | qcom,pull = <0>; |
| 294 | qcom,vin-sel = <2>; |
| 295 | qcom,src-sel = <0>; |
| 296 | }; |
| 297 | |
| 298 | gpio@c100 { /* GPIO 2 */ |
| 299 | qcom,mode = <0>; |
| 300 | qcom,pull = <0>; |
| 301 | qcom,vin-sel = <2>; |
| 302 | qcom,src-sel = <0>; |
| 303 | }; |
| 304 | |
| 305 | gpio@c200 { /* GPIO 3 */ |
| 306 | }; |
| 307 | |
| 308 | gpio@c300 { /* GPIO 4 */ |
| 309 | }; |
| 310 | |
| 311 | gpio@c400 { /* GPIO 5 */ |
| 312 | qcom,mode = <0>; |
| 313 | qcom,pull = <0>; |
| 314 | qcom,vin-sel = <2>; |
| 315 | qcom,src-sel = <0>; |
| 316 | }; |
| 317 | |
| 318 | gpio@c500 { /* GPIO 6 */ |
| 319 | /* TUSB3_HUB-RESET */ |
| 320 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 321 | qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ |
| 322 | qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ |
| 323 | qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ |
| 324 | qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ |
| 325 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
| 326 | qcom,invert = <1>; /* Keep it out of reset */ |
| 327 | qcom,master-en = <1>; |
| 328 | }; |
| 329 | |
| 330 | gpio@c600 { /* GPIO 7 */ |
| 331 | }; |
| 332 | |
| 333 | gpio@c700 { /* GPIO 8 */ |
| 334 | /* HSIC_HUB-RESET */ |
| 335 | qcom,mode = <1>; /* DIG_OUT */ |
| 336 | qcom,pull = <5>; /* PULL_NO */ |
| 337 | qcom,out-strength = <2>; /* STRENGTH_MED */ |
| 338 | qcom,master-en = <1>; |
| 339 | }; |
| 340 | |
| 341 | gpio@c800 { /* GPIO 9 */ |
| 342 | /* GbE_RST_N */ |
| 343 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 344 | qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ |
| 345 | qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ |
| 346 | qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ |
| 347 | qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ |
| 348 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
| 349 | qcom,invert = <1>; /* Keep it out of reset */ |
| 350 | qcom,master-en = <1>; |
| 351 | }; |
| 352 | |
| 353 | gpio@c900 { /* GPIO 10 */ |
| 354 | /* SATA_RST_N */ |
| 355 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 356 | qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ |
| 357 | qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ |
| 358 | qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ |
| 359 | qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ |
| 360 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
| 361 | qcom,invert = <1>; /* Keep it out of reset */ |
| 362 | qcom,master-en = <1>; |
| 363 | }; |
| 364 | |
| 365 | gpio@ca00 { /* GPIO 11 */ |
| 366 | }; |
| 367 | |
| 368 | gpio@cb00 { /* GPIO 12 */ |
| 369 | }; |
| 370 | |
| 371 | gpio@cc00 { /* GPIO 13 */ |
| 372 | }; |
| 373 | |
| 374 | gpio@cd00 { /* GPIO 14 */ |
| 375 | }; |
| 376 | |
| 377 | gpio@ce00 { /* GPIO 15 */ |
| 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>; |
| 385 | }; |
| 386 | |
| 387 | gpio@cf00 { /* GPIO 16 */ |
| 388 | }; |
| 389 | |
| 390 | gpio@d000 { /* GPIO 17 */ |
| 391 | }; |
| 392 | |
| 393 | gpio@d100 { /* GPIO 18 */ |
| 394 | }; |
| 395 | |
| 396 | gpio@d200 { /* GPIO 19 */ |
| 397 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 398 | qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ |
| 399 | qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ |
| 400 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
| 401 | qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ |
| 402 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
| 403 | qcom,master-en = <1>; |
| 404 | }; |
| 405 | |
| 406 | gpio@d300 { /* GPIO 20 */ |
| 407 | }; |
| 408 | |
| 409 | gpio@d400 { /* GPIO 21 */ |
| 410 | }; |
| 411 | |
| 412 | gpio@d500 { /* GPIO 22 */ |
| 413 | }; |
| 414 | |
| 415 | gpio@d600 { /* GPIO 23 */ |
| 416 | }; |
| 417 | |
| 418 | gpio@d700 { /* GPIO 24 */ |
| 419 | }; |
| 420 | |
| 421 | gpio@d800 { /* GPIO 25 */ |
| 422 | }; |
| 423 | |
| 424 | gpio@d900 { /* GPIO 26 */ |
| 425 | }; |
| 426 | |
| 427 | gpio@da00 { /* GPIO 27 */ |
| 428 | }; |
| 429 | |
| 430 | gpio@db00 { /* GPIO 28 */ |
| 431 | }; |
| 432 | |
| 433 | gpio@dc00 { /* GPIO 29 */ |
| 434 | qcom,pull = <0>; /* set to default pull */ |
| 435 | qcom,master-en = <1>; |
| 436 | qcom,vin-sel = <2>; /* select 1.8 V source */ |
| 437 | }; |
| 438 | |
| 439 | gpio@dd00 { /* GPIO 30 */ |
| 440 | }; |
| 441 | |
| 442 | gpio@de00 { /* GPIO 31 */ |
| 443 | }; |
| 444 | |
| 445 | gpio@df00 { /* GPIO 32 */ |
| 446 | }; |
| 447 | |
| 448 | gpio@e000 { /* GPIO 33 */ |
| 449 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 450 | qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ |
| 451 | qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ |
| 452 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
| 453 | qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ |
| 454 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
| 455 | qcom,invert = <1>; |
| 456 | qcom,master-en = <1>; |
| 457 | }; |
| 458 | |
| 459 | gpio@e100 { /* GPIO 34 */ |
| 460 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 461 | qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ |
| 462 | qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ |
| 463 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
| 464 | qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ |
| 465 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
| 466 | qcom,invert = <0>; |
| 467 | qcom,master-en = <1>; |
| 468 | }; |
| 469 | |
| 470 | gpio@e200 { /* GPIO 35 */ |
| 471 | }; |
| 472 | |
| 473 | gpio@e300 { /* GPIO 36 */ |
| 474 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 475 | qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ |
| 476 | qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ |
| 477 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
| 478 | qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ |
| 479 | qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ |
| 480 | qcom,master-en = <1>; |
| 481 | }; |
| 482 | }; |
| 483 | |
| 484 | &pm8941_mpps { |
| 485 | |
| 486 | mpp@a000 { /* MPP 1 */ |
| 487 | }; |
| 488 | |
| 489 | mpp@a100 { /* MPP 2 */ |
| 490 | }; |
| 491 | |
| 492 | mpp@a200 { /* MPP 3 */ |
| 493 | }; |
| 494 | |
| 495 | mpp@a300 { /* MPP 4 */ |
| 496 | }; |
| 497 | |
| 498 | mpp@a400 { /* MPP 5 */ |
| 499 | }; |
| 500 | |
| 501 | mpp@a500 { /* MPP 6 */ |
| 502 | }; |
| 503 | |
| 504 | mpp@a600 { /* MPP 7 */ |
| 505 | }; |
| 506 | |
| 507 | mpp@a700 { /* MPP 8 */ |
| 508 | }; |
| 509 | }; |
| 510 | |
| 511 | &pm8841_mpps { |
| 512 | |
| 513 | mpp@a000 { /* MPP 1 */ |
| 514 | }; |
| 515 | |
| 516 | mpp@a100 { /* MPP 2 */ |
| 517 | }; |
| 518 | |
| 519 | mpp@a200 { /* MPP 3*/ |
| 520 | }; |
| 521 | |
| 522 | mpp@a300 { /* MPP 4*/ |
| 523 | }; |
| 524 | }; |
| 525 | |
| 526 | &spi_epm { |
| 527 | epm-adc@0 { |
| 528 | compatible = "cy,epm-adc-cy8c5568lti-114"; |
| 529 | reg = <0>; |
| 530 | interrupt-parent = <&msmgpio>; |
| 531 | spi-max-frequency = <960000>; |
| 532 | qcom,channels = <31>; |
| 533 | qcom,gain = <50 50 50 50 50 100 50 50 50 50 |
| 534 | 50 50 50 50 100 50 50 50 50 100 |
| 535 | 50 50 50 100 50 50 50 1 1 1 |
| 536 | 1>; |
| 537 | qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 |
| 538 | 33 500 200 10 500 100 33 200 25 100 |
| 539 | 75 500 50 200 5 5 3 1 1 1 |
| 540 | 1>; |
| 541 | qcom,channel-type = <0xf0000000>; |
| 542 | }; |
| 543 | }; |
| 544 | |
| 545 | &spmi_bus { |
| 546 | qcom,pm8941@1 { |
| 547 | qcom,leds@d000 { |
| 548 | qcom,rgb_2 { |
| 549 | status = "ok"; |
| 550 | qcom,default-state = "on"; |
| 551 | qcom,turn-off-delay-ms = <1000>; |
| 552 | }; |
| 553 | }; |
| 554 | |
| 555 | qcom,leds@d800 { |
| 556 | status = "okay"; |
| 557 | qcom,wled_0 { |
| 558 | label = "wled"; |
| 559 | linux,name = "wled:backlight"; |
| 560 | linux,default-trigger = "bkl-trigger"; |
| 561 | qcom,cs-out-en; |
| 562 | qcom,op-fdbck = <1>; |
| 563 | qcom,default-state = "on"; |
Asaf Penso | e0f61de | 2013-05-29 16:29:27 +0300 | [diff] [blame] | 564 | qcom,max-current = <20>; |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 565 | qcom,ctrl-delay-us = <0>; |
| 566 | qcom,boost-curr-lim = <3>; |
| 567 | qcom,cp-sel = <0>; |
| 568 | qcom,switch-freq = <2>; |
Asaf Penso | e0f61de | 2013-05-29 16:29:27 +0300 | [diff] [blame] | 569 | qcom,ovp-val = <1>; |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 570 | qcom,num-strings = <1>; |
| 571 | qcom,id = <0>; |
| 572 | }; |
| 573 | }; |
| 574 | }; |
| 575 | }; |
| 576 | |
| 577 | &pm8941_chg { |
| 578 | status = "ok"; |
| 579 | |
Eugene Yasman | f1d4f69 | 2013-05-22 14:22:29 +0300 | [diff] [blame] | 580 | qcom,charging-disabled; |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 581 | |
Eugene Yasman | f1d4f69 | 2013-05-22 14:22:29 +0300 | [diff] [blame] | 582 | qcom,chgr@1000 { |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 583 | status = "ok"; |
| 584 | }; |
| 585 | |
Eugene Yasman | f1d4f69 | 2013-05-22 14:22:29 +0300 | [diff] [blame] | 586 | qcom,buck@1100 { |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 587 | status = "ok"; |
| 588 | }; |
| 589 | |
Eugene Yasman | f1d4f69 | 2013-05-22 14:22:29 +0300 | [diff] [blame] | 590 | qcom,usb-chgpth@1300 { |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 591 | status = "ok"; |
| 592 | }; |
| 593 | |
Eugene Yasman | f1d4f69 | 2013-05-22 14:22:29 +0300 | [diff] [blame] | 594 | qcom,dc-chgpth@1400 { |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 595 | status = "ok"; |
| 596 | }; |
| 597 | |
Eugene Yasman | f1d4f69 | 2013-05-22 14:22:29 +0300 | [diff] [blame] | 598 | qcom,boost@1500 { |
Eugene Yasman | ac6f463 | 2013-05-06 12:02:31 +0300 | [diff] [blame] | 599 | status = "ok"; |
| 600 | }; |
| 601 | |
| 602 | qcom,chg-misc@1600 { |
| 603 | status = "ok"; |
| 604 | }; |
| 605 | }; |
| 606 | |
| 607 | &sdhc_1 { |
| 608 | vdd-supply = <&pm8941_l20>; |
| 609 | vdd-io-supply = <&pm8941_s3>; |
| 610 | |
| 611 | qcom,vdd-always-on; |
| 612 | qcom,vdd-lpm-sup; |
| 613 | qcom,vdd-voltage-level = <2950000 2950000>; |
| 614 | qcom,vdd-current-level = <800 500000>; |
| 615 | |
| 616 | qcom,vdd-io-always-on; |
| 617 | qcom,vdd-io-voltage-level = <1800000 1800000>; |
| 618 | qcom,vdd-io-current-level = <250 154000>; |
| 619 | |
| 620 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 621 | qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 622 | qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ |
| 623 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
| 624 | |
| 625 | qcom,nonremovable; |
| 626 | status = "ok"; |
| 627 | }; |
| 628 | |
| 629 | &sdhc_2 { |
| 630 | #address-cells = <0>; |
| 631 | interrupt-parent = <&sdhc_2>; |
| 632 | interrupts = <0 1 2>; |
| 633 | #interrupt-cells = <1>; |
| 634 | interrupt-map-mask = <0xffffffff>; |
| 635 | interrupt-map = <0 &intc 0 125 0 |
| 636 | 1 &intc 0 221 0 |
| 637 | 2 &msmgpio 62 0x3>; |
| 638 | interrupt-names = "hc_irq", "pwr_irq", "status_irq"; |
| 639 | cd-gpios = <&msmgpio 62 0x1>; |
| 640 | |
| 641 | vdd-supply = <&pm8941_l21>; |
| 642 | vdd-io-supply = <&pm8941_l13>; |
| 643 | |
| 644 | qcom,vdd-voltage-level = <2950000 2950000>; |
| 645 | qcom,vdd-current-level = <9000 800000>; |
| 646 | |
| 647 | qcom,vdd-io-voltage-level = <1800000 2950000>; |
| 648 | qcom,vdd-io-current-level = <6 22000>; |
| 649 | |
| 650 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 651 | qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 652 | qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ |
| 653 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
| 654 | status = "ok"; |
| 655 | }; |