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