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