Amy Maloche | 71880c5 | 2013-01-04 11:56:23 -0800 | [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 | |
Amy Maloche | 24de28b | 2012-09-17 12:09:56 -0700 | [diff] [blame] | 13 | /include/ "msm8974-leds.dtsi" |
Sreesudhan Ramakrish Ramkumar | dee14bc | 2012-11-14 14:24:19 -0800 | [diff] [blame] | 14 | /include/ "msm8974-camera-sensor-liquid.dtsi" |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 15 | |
Stepan Moskovchenko | 4dd8bab | 2013-07-15 20:38:12 -0700 | [diff] [blame] | 16 | / { |
| 17 | aliases { |
| 18 | serial0 = &blsp1_uart1; |
| 19 | }; |
| 20 | }; |
| 21 | |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 22 | &soc { |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 23 | serial@f991e000 { |
| 24 | status = "ok"; |
| 25 | }; |
| 26 | |
Manoj Rao | 6e2ca2e | 2013-08-13 22:11:57 -0700 | [diff] [blame] | 27 | qcom,mdss_mdp@fd900000 { |
| 28 | qcom,mdss-pref-prim-intf = "edp"; |
| 29 | }; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 30 | |
Manish Kumar | c410a06 | 2013-12-10 22:20:09 -0800 | [diff] [blame] | 31 | qcom,mdss_edp@fd923400 { |
| 32 | status = "ok"; |
| 33 | qcom,cont-splash-enabled; |
Ping Li | ef53e93 | 2014-01-07 14:31:56 -0800 | [diff] [blame] | 34 | qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */ |
| 35 | qcom,panel-pwm-period = <53>; |
Manish Kumar | c410a06 | 2013-12-10 22:20:09 -0800 | [diff] [blame] | 36 | }; |
| 37 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 38 | i2c@f9967000 { |
| 39 | battery@b { |
| 40 | compatible = "ti,bq28400-battery"; |
| 41 | reg = <0xb>; |
Eugene Yasman | d72132d | 2013-01-20 13:00:52 +0200 | [diff] [blame] | 42 | ti,temp-cold = <2>; /* degree celsius */ |
| 43 | ti,temp-hot = <43>; /* degree celsius */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 44 | }; |
Amir Samuelov | 6b72fc6 | 2012-11-01 20:05:04 +0200 | [diff] [blame] | 45 | |
| 46 | charger@2b { |
| 47 | compatible = "summit,smb350-charger"; |
| 48 | reg = <0x2b>; /* 0x56/0x57 */ |
| 49 | summit,stat-gpio = <&pm8941_gpios 30 0x00>; |
| 50 | summit,chg-en-n-gpio = <&pm8941_gpios 10 0x00>; |
| 51 | summit,chg-susp-n-gpio = <&pm8941_gpios 13 0x00>; |
| 52 | summit,chg-current-ma = <1600>; |
| 53 | summit,term-current-ma = <300>; |
| 54 | }; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 55 | }; |
| 56 | |
| 57 | gpio_keys { |
| 58 | compatible = "gpio-keys"; |
| 59 | input-name = "gpio-keys"; |
| 60 | |
| 61 | home { |
| 62 | label = "home"; |
| 63 | gpios = <&pm8941_gpios 1 0x1>; |
| 64 | linux,input-type = <1>; |
| 65 | linux,code = <102>; |
| 66 | gpio-key,wakeup; |
| 67 | debounce-interval = <15>; |
| 68 | }; |
| 69 | |
| 70 | vol_down { |
| 71 | label = "volume_down"; |
| 72 | gpios = <&pm8941_gpios 2 0x1>; |
| 73 | linux,input-type = <1>; |
| 74 | linux,code = <114>; |
| 75 | gpio-key,wakeup; |
| 76 | debounce-interval = <15>; |
| 77 | }; |
| 78 | |
| 79 | vol_up { |
| 80 | label = "volume_up"; |
| 81 | gpios = <&pm8941_gpios 5 0x1>; |
| 82 | linux,input-type = <1>; |
| 83 | linux,code = <115>; |
| 84 | gpio-key,wakeup; |
| 85 | debounce-interval = <15>; |
| 86 | }; |
| 87 | }; |
| 88 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 89 | qcom,hdmi_tx@fd922100 { |
| 90 | status = "ok"; |
Ujwal Patel | 1a83513 | 2012-11-14 22:11:59 -0800 | [diff] [blame] | 91 | |
| 92 | qcom,hdmi-tx-mux-sel = <&pm8841_mpps 3 0>; |
| 93 | qcom,hdmi-tx-mux-en = <&pm8841_mpps 4 0>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 94 | }; |
| 95 | |
Mohan Pallaka | 8cc86d6 | 2012-11-09 11:29:47 +0530 | [diff] [blame] | 96 | drv2667_vreg: drv2667_vdd_vreg { |
| 97 | compatible = "regulator-fixed"; |
| 98 | regulator-name = "vdd_drv2667"; |
| 99 | }; |
| 100 | |
Mohan Pallaka | 28f9fb4 | 2012-09-17 15:25:23 +0530 | [diff] [blame] | 101 | i2c@f9967000 { |
| 102 | ti-drv2667@59 { |
| 103 | compatible = "ti,drv2667"; |
| 104 | reg = <0x59>; |
| 105 | vdd-supply = <&drv2667_vreg>; |
| 106 | vdd-i2c-supply = <&pm8941_s3>; |
| 107 | ti,label = "vibrator"; |
| 108 | ti,gain = <2>; |
| 109 | ti,idle-timeout-ms = <20>; |
| 110 | ti,max-runtime-ms = <15000>; |
| 111 | ti,mode = <2>; |
| 112 | ti,wav-seq = [ |
| 113 | /* wave form id */ |
| 114 | 01 |
| 115 | /* header size, start and stop bytes */ |
| 116 | 05 80 06 00 09 |
| 117 | /* repeat, amp, freq, duration, envelope */ |
| 118 | 01 ff 19 02 00]; |
| 119 | }; |
| 120 | }; |
| 121 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 122 | i2c@f9924000 { |
| 123 | atmel_mxt_ts@4a { |
| 124 | compatible = "atmel,mxt-ts"; |
| 125 | reg = <0x4a>; |
| 126 | interrupt-parent = <&msmgpio>; |
| 127 | interrupts = <61 0x2>; |
| 128 | vdd_ana-supply = <&pm8941_l22>; |
| 129 | vcc_i2c-supply = <&pm8941_s3>; |
| 130 | atmel,reset-gpio = <&msmgpio 60 0x00>; |
| 131 | atmel,irq-gpio = <&msmgpio 61 0x00>; |
| 132 | atmel,panel-coords = <0 0 1080 1920>; |
| 133 | atmel,display-coords = <0 0 1080 1920>; |
Sreenivasulu Chalam Charla | bf7f621 | 2012-10-17 22:10:24 +0530 | [diff] [blame] | 134 | atmel,i2c-pull-up; |
Amy Maloche | 71880c5 | 2013-01-04 11:56:23 -0800 | [diff] [blame] | 135 | atmel,no-force-update; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 136 | atmel,cfg_1 { |
| 137 | atmel,family-id = <0xa2>; |
| 138 | atmel,variant-id = <0x00>; |
| 139 | atmel,version = <0x11>; |
| 140 | atmel,build = <0xaa>; |
| 141 | atmel,config = [ |
| 142 | /* Object 6, Instance = 0 */ |
| 143 | 00 00 00 00 00 00 |
| 144 | /* Object 38, Instance = 0 */ |
| 145 | 16 00 00 14 09 0C 00 00 00 00 |
| 146 | 00 00 00 00 00 00 00 00 00 00 |
| 147 | 00 00 00 00 00 00 00 00 00 00 |
| 148 | 00 00 00 00 00 00 00 00 00 00 |
| 149 | 00 00 00 00 00 00 00 00 00 00 |
| 150 | 00 00 00 00 00 00 00 00 00 00 |
| 151 | 00 00 00 00 |
| 152 | /* Object 7, Instance = 0 */ |
| 153 | FF FF 0A 03 |
| 154 | /* Object 8, Instance = 0 */ |
| 155 | 5F 00 14 14 00 00 00 01 00 00 |
| 156 | /* Object 9, Instance = 0 */ |
| 157 | 8F 00 00 20 34 00 87 3C 08 03 |
| 158 | 00 05 03 80 0A 14 14 0A 80 07 |
| 159 | 38 04 00 00 00 00 00 00 00 00 |
| 160 | 0F 0F 2E 33 02 00 |
| 161 | /* Object 15, Instance = 0 */ |
| 162 | 00 00 00 00 00 00 00 00 00 00 |
| 163 | 00 |
| 164 | /* Object 18, Instance = 0 */ |
| 165 | 04 00 |
| 166 | /* Object 24, Instance = 0 */ |
| 167 | 00 00 00 00 00 00 00 00 00 00 |
| 168 | 00 00 00 00 00 00 00 00 00 |
| 169 | /* Object 25, Instance = 0 */ |
| 170 | 00 00 54 6F F0 55 00 00 00 00 |
| 171 | 00 00 00 00 00 |
| 172 | /* Object 27, Instance = 0 */ |
| 173 | 00 00 00 00 00 00 00 |
| 174 | /* Object 40, Instance = 0 */ |
| 175 | 00 14 14 14 14 |
| 176 | /* Object 42, Instance = 0 */ |
| 177 | 20 14 00 00 00 14 11 00 03 00 |
| 178 | /* Object 43, Instance = 0 */ |
| 179 | 09 00 01 01 91 00 80 00 00 00 |
| 180 | 00 00 |
| 181 | /* Object 46, Instance = 0 */ |
| 182 | 00 00 10 10 00 00 01 00 00 0F |
| 183 | 0A |
| 184 | /* Object 47, Instance = 0 */ |
| 185 | 00 14 23 02 05 1E 01 78 03 10 |
| 186 | 00 00 0C 00 00 00 00 00 00 00 |
| 187 | 00 00 |
| 188 | /* Object 55, Instance = 0 */ |
| 189 | 00 00 00 00 00 00 00 |
| 190 | /* Object 56, Instance = 0 */ |
| 191 | 02 00 01 30 13 14 14 14 15 15 |
| 192 | 15 15 15 15 15 16 16 16 16 16 |
| 193 | 16 16 16 16 16 15 14 14 14 14 |
| 194 | 15 14 14 14 14 13 00 00 01 02 |
| 195 | 05 05 00 00 00 00 00 00 00 00 |
| 196 | 00 |
| 197 | /* Object 57, Instance = 0 */ |
| 198 | 00 00 00 |
| 199 | /* Object 61, Instance = 0 */ |
| 200 | 00 00 00 00 00 |
| 201 | /* Object 62, Instance = 0 */ |
| 202 | 00 01 03 01 00 00 00 00 00 0A |
| 203 | 0F 14 19 23 05 00 0A 05 05 69 |
| 204 | 23 23 34 11 64 06 06 04 40 00 |
| 205 | 00 00 00 00 69 4B 02 00 00 80 |
| 206 | 0A 14 14 18 18 10 10 80 00 80 |
| 207 | 00 00 0F 02 00 00 00 00 00 00 |
| 208 | 00 00 00 00 00 00 00 00 00 00 |
| 209 | 00 00 00 00 |
| 210 | /* Object 63, Instance = 0 */ |
| 211 | 00 00 00 00 00 00 00 00 00 00 |
| 212 | 00 00 |
| 213 | ]; |
| 214 | }; |
Amy Maloche | f78eacc | 2013-02-25 19:30:00 -0800 | [diff] [blame] | 215 | atmel,cfg_2 { |
| 216 | atmel,family-id = <0xa2>; |
| 217 | atmel,variant-id = <0x00>; |
| 218 | atmel,version = <0x11>; |
| 219 | atmel,build = <0xaa>; |
| 220 | atmel,config = [ |
| 221 | /* Object 6, Instance = 0 */ |
| 222 | 00 00 00 00 00 00 |
| 223 | /* Object 38, Instance = 0 */ |
Amy Maloche | 3f8e5ec | 2013-08-07 15:16:53 -0700 | [diff] [blame] | 224 | 19 04 00 07 08 0D 00 00 00 00 |
Amy Maloche | f78eacc | 2013-02-25 19:30:00 -0800 | [diff] [blame] | 225 | 00 00 00 00 00 00 00 00 00 00 |
| 226 | 00 00 00 00 00 00 00 00 00 00 |
| 227 | 00 00 00 00 00 00 00 00 00 00 |
| 228 | 00 00 00 00 00 00 00 00 00 00 |
| 229 | 00 00 00 00 00 00 00 00 00 00 |
| 230 | 00 00 00 00 |
| 231 | /* Object 7, Instance = 0 */ |
| 232 | 20 08 32 C3 |
| 233 | /* Object 8, Instance = 0 */ |
| 234 | 41 00 14 14 00 00 00 01 00 00 |
| 235 | /* Object 9, Instance = 0 */ |
| 236 | 8F 00 00 20 34 00 87 4B 02 03 |
Amy Maloche | 77b64f9 | 2013-05-29 15:51:17 -0700 | [diff] [blame] | 237 | 00 05 03 41 0A 14 14 0A 80 07 |
| 238 | 38 04 00 00 03 03 08 28 02 3C |
Amy Maloche | f78eacc | 2013-02-25 19:30:00 -0800 | [diff] [blame] | 239 | 0F 0F 2E 33 01 00 |
| 240 | /* Object 15, Instance = 0 */ |
| 241 | 00 00 00 00 00 00 00 00 00 00 |
| 242 | 00 |
| 243 | /* Object 18, Instance = 0 */ |
| 244 | 04 00 |
| 245 | /* Object 24, Instance = 0 */ |
| 246 | 00 00 00 00 00 00 00 00 00 00 |
| 247 | 00 00 00 00 00 00 00 00 00 |
| 248 | /* Object 25, Instance = 0 */ |
| 249 | 00 00 54 6F F0 55 00 00 00 00 |
Amy Maloche | 3f8e5ec | 2013-08-07 15:16:53 -0700 | [diff] [blame] | 250 | 00 00 00 00 0C |
Amy Maloche | f78eacc | 2013-02-25 19:30:00 -0800 | [diff] [blame] | 251 | /* Object 27, Instance = 0 */ |
| 252 | 00 00 00 00 00 00 00 |
| 253 | /* Object 40, Instance = 0 */ |
| 254 | 00 14 14 14 14 |
| 255 | /* Object 42, Instance = 0 */ |
| 256 | 23 32 14 14 80 00 0A 00 05 05 |
| 257 | /* Object 43, Instance = 0 */ |
| 258 | 08 00 01 01 91 00 80 00 00 00 |
| 259 | 00 00 |
| 260 | /* Object 46, Instance = 0 */ |
| 261 | 00 00 18 18 00 00 01 00 00 0F |
| 262 | 0A |
| 263 | /* Object 47, Instance = 0 */ |
| 264 | 00 14 28 02 05 28 01 78 03 10 |
| 265 | 00 00 0C 00 00 00 00 00 00 00 |
| 266 | 00 00 |
| 267 | /* Object 55, Instance = 0 */ |
| 268 | 00 00 00 00 00 00 00 |
| 269 | /* Object 56, Instance = 0 */ |
| 270 | 01 00 00 30 13 14 14 14 15 15 |
| 271 | 15 15 15 15 15 16 16 16 16 16 |
| 272 | 16 16 16 16 16 15 14 14 14 14 |
| 273 | 15 14 14 14 14 13 03 20 03 01 |
| 274 | 0A 04 00 00 00 00 00 00 00 00 |
| 275 | 1A |
| 276 | /* Object 57, Instance = 0 */ |
| 277 | 00 00 00 |
| 278 | /* Object 61, Instance = 0 */ |
| 279 | 00 00 00 00 00 |
| 280 | /* Object 62, Instance = 0 */ |
| 281 | 00 03 00 07 02 00 00 00 00 00 |
| 282 | 0F 17 23 2D 05 00 05 03 03 69 |
| 283 | 14 14 34 11 64 06 06 04 40 00 |
| 284 | 00 00 00 00 69 3C 02 04 01 00 |
| 285 | 0A 14 14 03 03 03 03 00 00 00 |
| 286 | 00 64 1E 01 00 00 00 00 00 00 |
| 287 | 00 00 00 00 00 00 00 00 00 00 |
| 288 | 00 00 00 00 |
| 289 | /* Object 63, Instance = 0 */ |
| 290 | 00 00 00 00 00 00 00 00 00 00 |
| 291 | 00 00 |
| 292 | /* Object 65, Instance = 0 */ |
| 293 | 00 00 00 00 00 00 00 00 00 00 |
| 294 | 00 00 00 00 00 00 00 |
| 295 | /* Object 66, Instance = 0 */ |
| 296 | 00 00 00 00 00 |
| 297 | ]; |
| 298 | }; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 299 | }; |
| 300 | }; |
| 301 | |
| 302 | ext_5v: regulator-smb210 { |
| 303 | compatible = "regulator-fixed"; |
| 304 | regulator-name = "ext_5v"; |
| 305 | gpio = <&pm8941_mpps 2 0>; |
Eugene Yasman | 8d2d68d | 2012-11-13 15:00:58 +0200 | [diff] [blame] | 306 | startup-delay-us = <12000>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 307 | enable-active-high; |
| 308 | }; |
Tanya Finkel | b4fea12 | 2012-11-14 14:23:37 +0200 | [diff] [blame] | 309 | |
Ram Mohan Korukonda | 5583920 | 2013-04-20 23:39:17 -0700 | [diff] [blame] | 310 | ath_chip_pwd_l: ath_chip_reset { |
| 311 | compatible = "regulator-fixed"; |
| 312 | regulator-name = "ath_chip_pwd_l"; |
| 313 | gpio = <&pm8941_gpios 33 0>; |
| 314 | enable-active-high; |
| 315 | }; |
| 316 | |
Pradeep Panigrahi | c2a86fe | 2013-02-22 10:49:01 +0530 | [diff] [blame] | 317 | bt_ar3002 { |
| 318 | compatible = "qca,ar3002"; |
| 319 | qca,bt-reset-gpio = <&pm8941_gpios 34 0>; |
Ram Mohan Korukonda | 5583920 | 2013-04-20 23:39:17 -0700 | [diff] [blame] | 320 | qca,bt-chip-pwd-supply = <&ath_chip_pwd_l>; |
Ming-yi Lin | c782042 | 2014-02-04 23:17:00 +0800 | [diff] [blame] | 321 | qca,bt-vdd-io-supply = <&pm8941_l10>; |
Ram Mohan Korukonda | 5583920 | 2013-04-20 23:39:17 -0700 | [diff] [blame] | 322 | qca,bt-vdd-pa-supply = <&pm8941_l19>; |
Pradeep Panigrahi | c2a86fe | 2013-02-22 10:49:01 +0530 | [diff] [blame] | 323 | }; |
| 324 | |
Ram Mohan Korukonda | e7baad9 | 2013-03-13 02:23:45 +0530 | [diff] [blame] | 325 | bt_ar3002_sleep { |
| 326 | compatible = "qca,ar3002_bluesleep"; |
| 327 | host-wake-gpio = <&msmgpio 79 0>; |
| 328 | ext-wake-gpio = <&msmgpio 51 0>; |
| 329 | interrupt-parent = <&msmgpio>; |
| 330 | interrupts = <79 2>; |
| 331 | interrupt-names = "host_wake"; |
| 332 | }; |
| 333 | |
Tanya Finkel | b4fea12 | 2012-11-14 14:23:37 +0200 | [diff] [blame] | 334 | sound { |
| 335 | qcom,model = "msm8974-taiko-liquid-snd-card"; |
Tanya Finkel | 4ecb6a0 | 2012-11-30 22:04:42 +0200 | [diff] [blame] | 336 | |
| 337 | qcom,audio-routing = |
| 338 | "RX_BIAS", "MCLK", |
| 339 | "LDO_H", "MCLK", |
| 340 | "Lineout_1 amp", "LINEOUT1", |
| 341 | "Lineout_3 amp", "LINEOUT3", |
| 342 | "Lineout_2 amp", "LINEOUT2", |
| 343 | "Lineout_4 amp", "LINEOUT4", |
Baruch Eruchimovitch | 212b1ac | 2013-04-17 20:28:54 +0300 | [diff] [blame] | 344 | "SPK_ultrasound amp", "SPK_OUT", |
Tanya Finkel | 8834011 | 2013-01-21 15:38:55 +0200 | [diff] [blame] | 345 | "AMIC1", "MIC BIAS4 External", |
| 346 | "MIC BIAS4 External", "Analog Mic4", |
Tanya Finkel | 4ecb6a0 | 2012-11-30 22:04:42 +0200 | [diff] [blame] | 347 | "AMIC2", "MIC BIAS2 External", |
| 348 | "MIC BIAS2 External", "Headset Mic", |
| 349 | "AMIC3", "MIC BIAS2 External", |
| 350 | "MIC BIAS2 External", "ANCRight Headset Mic", |
| 351 | "AMIC4", "MIC BIAS2 External", |
| 352 | "MIC BIAS2 External", "ANCLeft Headset Mic", |
Tanya Finkel | 8834011 | 2013-01-21 15:38:55 +0200 | [diff] [blame] | 353 | "AMIC5", "MIC BIAS1 External", |
| 354 | "MIC BIAS1 External", "Analog Mic6", |
| 355 | "AMIC6", "MIC BIAS1 External", |
| 356 | "MIC BIAS1 External", "Analog Mic7", |
Tanya Finkel | 70e29ed | 2012-12-06 21:51:16 +0200 | [diff] [blame] | 357 | "DMIC1", "MIC BIAS3 External", |
Tanya Finkel | 8834011 | 2013-01-21 15:38:55 +0200 | [diff] [blame] | 358 | "MIC BIAS3 External", "Digital Mic1", |
Tanya Finkel | 70e29ed | 2012-12-06 21:51:16 +0200 | [diff] [blame] | 359 | "DMIC2", "MIC BIAS3 External", |
Tanya Finkel | 8834011 | 2013-01-21 15:38:55 +0200 | [diff] [blame] | 360 | "MIC BIAS3 External", "Digital Mic2", |
Tanya Finkel | 70e29ed | 2012-12-06 21:51:16 +0200 | [diff] [blame] | 361 | "DMIC3", "MIC BIAS2 External", |
Tanya Finkel | 8834011 | 2013-01-21 15:38:55 +0200 | [diff] [blame] | 362 | "MIC BIAS2 External", "Digital Mic3", |
Tanya Finkel | 4ecb6a0 | 2012-11-30 22:04:42 +0200 | [diff] [blame] | 363 | "DMIC4", "MIC BIAS3 External", |
| 364 | "MIC BIAS3 External", "Digital Mic4", |
Tanya Finkel | 70e29ed | 2012-12-06 21:51:16 +0200 | [diff] [blame] | 365 | "DMIC5", "MIC BIAS2 External", |
Tanya Finkel | 8834011 | 2013-01-21 15:38:55 +0200 | [diff] [blame] | 366 | "MIC BIAS2 External", "Digital Mic5", |
Tanya Finkel | 70e29ed | 2012-12-06 21:51:16 +0200 | [diff] [blame] | 367 | "DMIC6", "MIC BIAS2 External", |
Tanya Finkel | 8834011 | 2013-01-21 15:38:55 +0200 | [diff] [blame] | 368 | "MIC BIAS2 External", "Digital Mic6"; |
Tanya Finkel | 4ecb6a0 | 2012-11-30 22:04:42 +0200 | [diff] [blame] | 369 | |
Tanya Finkel | b4fea12 | 2012-11-14 14:23:37 +0200 | [diff] [blame] | 370 | qcom,ext-spk-amp-supply = <&ext_5v>; |
| 371 | qcom,ext-spk-amp-gpio = <&pm8841_mpps 1 0>; |
Tanya Finkel | ca61932 | 2013-01-20 15:43:58 +0200 | [diff] [blame] | 372 | qcom,dock-plug-det-irq = <&pm8841_mpps 2 0>; |
Baruch Eruchimovitch | 212b1ac | 2013-04-17 20:28:54 +0300 | [diff] [blame] | 373 | qcom,ext-ult-spk-amp-gpio = <&pm8941_gpios 6 0>; |
Kiran Kandi | 5265032 | 2012-12-11 15:49:39 -0800 | [diff] [blame] | 374 | qcom,hdmi-audio-rx; |
Banajit Goswami | f8ce89a | 2013-04-09 18:02:15 -0700 | [diff] [blame] | 375 | |
| 376 | qcom,prim-auxpcm-gpio-clk = <&msmgpio 74 0>; |
| 377 | qcom,prim-auxpcm-gpio-sync = <&msmgpio 75 0>; |
| 378 | qcom,prim-auxpcm-gpio-din = <&msmgpio 76 0>; |
| 379 | qcom,prim-auxpcm-gpio-dout = <&msmgpio 77 0>; |
| 380 | qcom,prim-auxpcm-gpio-set = "prim-gpio-tert"; |
Tanya Finkel | b4fea12 | 2012-11-14 14:23:37 +0200 | [diff] [blame] | 381 | }; |
Eugene Yasman | 588351a | 2012-12-10 11:37:17 +0200 | [diff] [blame] | 382 | |
Ming-yi Lin | a6cf864 | 2014-02-04 22:59:26 +0800 | [diff] [blame] | 383 | hsic_host: hsic@f9a00000 { |
| 384 | compatible = "qcom,hsic-host"; |
| 385 | reg = <0xf9a00000 0x400>; |
| 386 | #address-cells = <0>; |
| 387 | interrupt-parent = <&hsic_host>; |
| 388 | interrupts = <0 1 2>; |
| 389 | #interrupt-cells = <1>; |
| 390 | interrupt-map-mask = <0xffffffff>; |
| 391 | interrupt-map = <0 &intc 0 136 0 |
| 392 | 1 &intc 0 148 0 |
| 393 | 2 &msmgpio 144 0x8>; |
| 394 | interrupt-names = "core_irq", "async_irq", "wakeup"; |
| 395 | hsic_vdd_dig-supply = <&pm8841_s2_corner>; |
| 396 | HSIC_GDSC-supply = <&gdsc_usb_hsic>; |
| 397 | hsic,strobe-gpio = <&msmgpio 144 0x00>; |
| 398 | hsic,data-gpio = <&msmgpio 145 0x00>; |
| 399 | hsic,ignore-cal-pad-config; |
| 400 | hsic,strobe-pad-offset = <0x2050>; |
| 401 | hsic,data-pad-offset = <0x2054>; |
| 402 | qcom,phy-susp-sof-workaround; |
| 403 | hsic,vdd-voltage-level = <1 5 7>; |
Eugene Yasman | 588351a | 2012-12-10 11:37:17 +0200 | [diff] [blame] | 404 | |
Ming-yi Lin | a6cf864 | 2014-02-04 22:59:26 +0800 | [diff] [blame] | 405 | qcom,msm-bus,name = "hsic"; |
| 406 | qcom,msm-bus,num-cases = <2>; |
| 407 | qcom,msm-bus,num-paths = <1>; |
| 408 | qcom,msm-bus,vectors-KBps = |
| 409 | <85 512 0 0>, |
| 410 | <85 512 40000 160000>; |
Eugene Yasman | 588351a | 2012-12-10 11:37:17 +0200 | [diff] [blame] | 411 | }; |
Ming-yi Lin | efc7990 | 2013-05-27 15:48:14 +0800 | [diff] [blame] | 412 | |
| 413 | wlan0: qca,wlan { |
| 414 | compatible = "qca,ar6004-hsic"; |
| 415 | qcom,msm-bus,name = "wlan"; |
| 416 | qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; |
| 417 | qca,wifi-vddpa-supply = <&pm8941_l19>; |
| 418 | qca,wifi-vddio-supply = <&pm8941_l10>; |
| 419 | qcom,msm-bus,num-cases = <5>; |
| 420 | qcom,msm-bus,active-only = <0>; |
| 421 | qcom,msm-bus,num-paths = <1>; |
| 422 | qcom,msm-bus,vectors-KBps = |
| 423 | <85 512 0 0>, |
| 424 | <85 512 40000 160000>, |
| 425 | <85 512 40000 320000>, |
| 426 | <85 512 40000 480000>, |
| 427 | <85 512 40000 800000>; |
| 428 | }; |
| 429 | |
| 430 | wlan_sdio:qca,wlan_sdio { |
| 431 | compatible = "qca,ar6004-sdio"; |
| 432 | qcom,msm-bus,name = "wlan_sdio"; |
| 433 | qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; |
| 434 | }; |
Ming-yi Lin | 7252fb6 | 2014-02-04 23:14:18 +0800 | [diff] [blame] | 435 | |
| 436 | qcom,pronto@fb21b000 { |
| 437 | status = "disabled"; |
| 438 | }; |
| 439 | |
| 440 | qcom,iris-fm { |
| 441 | status = "disabled"; |
| 442 | }; |
| 443 | |
| 444 | qcom,wcnss-wlan@fb000000 { |
| 445 | status = "disabled"; |
| 446 | }; |
| 447 | |
| 448 | qcom,smd-wcnss { |
| 449 | status = "disabled"; |
| 450 | }; |
| 451 | |
| 452 | qcom,smsm-wcnss { |
| 453 | status = "disabled"; |
| 454 | }; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 455 | }; |
| 456 | |
Ming-yi Lin | c782042 | 2014-02-04 23:17:00 +0800 | [diff] [blame] | 457 | &pm8941_l19 { |
| 458 | regulator-min-microvolt = <3300000>; |
| 459 | regulator-max-microvolt = <3300000>; |
| 460 | qcom,init-voltage = <3300000>; |
| 461 | }; |
| 462 | |
| 463 | &pm8941_l10 { |
| 464 | regulator-min-microvolt = <1800000>; |
| 465 | regulator-max-microvolt = <1800000>; |
| 466 | qcom,init-voltage = <1800000>; |
| 467 | }; |
| 468 | |
Adrian Salido-Moreno | 9954ca6 | 2013-01-30 14:39:04 -0800 | [diff] [blame] | 469 | &mdss_fb0 { |
| 470 | qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ |
| 471 | }; |
| 472 | |
Mayank Rana | 35f2780 | 2013-02-14 18:22:50 +0530 | [diff] [blame] | 473 | &uart7 { |
| 474 | status = "ok"; |
| 475 | qcom,tx-gpio = <&msmgpio 41 0x00>; |
| 476 | qcom,rx-gpio = <&msmgpio 42 0x00>; |
| 477 | qcom,cts-gpio = <&msmgpio 43 0x00>; |
| 478 | qcom,rfr-gpio = <&msmgpio 44 0x00>; |
| 479 | }; |
| 480 | |
Manu Gautam | 5ee5403 | 2012-11-02 15:17:32 +0530 | [diff] [blame] | 481 | &usb3 { |
David Keitel | f2170cc | 2013-02-20 17:49:03 -0800 | [diff] [blame] | 482 | qcom,otg-capability; |
Manu Gautam | 5ee5403 | 2012-11-02 15:17:32 +0530 | [diff] [blame] | 483 | }; |
| 484 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 485 | &pm8941_mvs2 { |
| 486 | parent-supply = <&ext_5v>; |
| 487 | }; |
| 488 | |
| 489 | &pm8941_gpios { |
| 490 | gpio@c000 { /* GPIO 1 */ |
| 491 | qcom,mode = <0>; |
| 492 | qcom,pull = <0>; |
| 493 | qcom,vin-sel = <2>; |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 494 | qcom,src-sel = <0>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 495 | }; |
| 496 | |
| 497 | gpio@c100 { /* GPIO 2 */ |
| 498 | qcom,mode = <0>; |
| 499 | qcom,pull = <0>; |
| 500 | qcom,vin-sel = <2>; |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 501 | qcom,src-sel = <0>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 502 | }; |
| 503 | |
| 504 | gpio@c200 { /* GPIO 3 */ |
| 505 | }; |
| 506 | |
| 507 | gpio@c300 { /* GPIO 4 */ |
| 508 | }; |
| 509 | |
| 510 | gpio@c400 { /* GPIO 5 */ |
| 511 | qcom,mode = <0>; |
| 512 | qcom,pull = <0>; |
| 513 | qcom,vin-sel = <2>; |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 514 | qcom,src-sel = <0>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 515 | }; |
| 516 | |
| 517 | gpio@c500 { /* GPIO 6 */ |
Baruch Eruchimovitch | 212b1ac | 2013-04-17 20:28:54 +0300 | [diff] [blame] | 518 | /* ULTRASOUND_EN_1 PA AB enable */ |
| 519 | qcom,mode = <1>; /* DIG_OUT */ |
| 520 | qcom,output-type = <0>; /* CMOS */ |
| 521 | qcom,pull = <4>; /* PULL_DOWN */ |
| 522 | qcom,vin-sel = <0>; /* VPH */ |
| 523 | qcom,out-strength = <2>; /* STRENGTH_MED */ |
| 524 | qcom,src-sel = <0>; /* CONSTANT */ |
| 525 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 526 | }; |
| 527 | |
| 528 | gpio@c600 { /* GPIO 7 */ |
| 529 | }; |
| 530 | |
| 531 | gpio@c700 { /* GPIO 8 */ |
Eugene Yasman | 588351a | 2012-12-10 11:37:17 +0200 | [diff] [blame] | 532 | /* HSIC_HUB-RESET */ |
| 533 | qcom,mode = <1>; /* DIG_OUT */ |
| 534 | qcom,pull = <5>; /* PULL_NO */ |
| 535 | qcom,out-strength = <2>; /* STRENGTH_MED */ |
| 536 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 537 | }; |
| 538 | |
| 539 | gpio@c800 { /* GPIO 9 */ |
| 540 | }; |
| 541 | |
| 542 | gpio@c900 { /* GPIO 10 */ |
Amir Samuelov | 6b72fc6 | 2012-11-01 20:05:04 +0200 | [diff] [blame] | 543 | /* SMB350-CHG-EN-N */ |
| 544 | qcom,mode = <1>; /* DIG_OUT */ |
| 545 | qcom,output-type = <0>; /* CMOS */ |
| 546 | qcom,pull = <5>; /* PULL_NO */ |
| 547 | qcom,vin-sel = <0>; /* VPH */ |
| 548 | qcom,out-strength = <2>; /* STRENGTH_MED */ |
| 549 | qcom,src-sel = <0>; /* CONSTANT */ |
| 550 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 551 | }; |
| 552 | |
| 553 | gpio@ca00 { /* GPIO 11 */ |
| 554 | }; |
| 555 | |
| 556 | gpio@cb00 { /* GPIO 12 */ |
| 557 | }; |
| 558 | |
| 559 | gpio@cc00 { /* GPIO 13 */ |
Amir Samuelov | 6b72fc6 | 2012-11-01 20:05:04 +0200 | [diff] [blame] | 560 | /* SMB350-CHG-SUSP-N */ |
| 561 | qcom,mode = <1>; /* DIG_OUT */ |
| 562 | qcom,output-type = <0>; /* CMOS */ |
| 563 | qcom,pull = <5>; /* PULL_NO */ |
| 564 | qcom,vin-sel = <0>; /* VPH */ |
| 565 | qcom,out-strength = <2>; /* STRENGTH_MED */ |
| 566 | qcom,src-sel = <0>; /* CONSTANT */ |
| 567 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 568 | }; |
| 569 | |
| 570 | gpio@cd00 { /* GPIO 14 */ |
| 571 | }; |
| 572 | |
| 573 | gpio@ce00 { /* GPIO 15 */ |
| 574 | qcom,mode = <1>; |
| 575 | qcom,output-type = <0>; |
| 576 | qcom,pull = <5>; |
| 577 | qcom,vin-sel = <2>; |
Kiran Kandi | 1a35a22 | 2013-05-02 16:53:53 -0700 | [diff] [blame] | 578 | qcom,out-strength = <1>; |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 579 | qcom,src-sel = <2>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 580 | qcom,master-en = <1>; |
| 581 | }; |
| 582 | |
| 583 | gpio@cf00 { /* GPIO 16 */ |
Eugene Yasman | 588351a | 2012-12-10 11:37:17 +0200 | [diff] [blame] | 584 | /* HSIC_HUB-INT_N */ |
| 585 | qcom,mode = <1>; |
| 586 | qcom,output-type = <0>; |
| 587 | qcom,pull = <5>; |
| 588 | qcom,vin-sel = <2>; |
| 589 | qcom,out-strength = <3>; |
| 590 | qcom,src-sel = <2>; |
| 591 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 592 | }; |
| 593 | |
| 594 | gpio@d000 { /* GPIO 17 */ |
| 595 | }; |
| 596 | |
| 597 | gpio@d100 { /* GPIO 18 */ |
| 598 | }; |
| 599 | |
| 600 | gpio@d200 { /* GPIO 19 */ |
| 601 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 602 | qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ |
| 603 | qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ |
| 604 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
| 605 | qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 606 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 607 | qcom,master-en = <1>; |
| 608 | }; |
| 609 | |
| 610 | gpio@d300 { /* GPIO 20 */ |
| 611 | }; |
| 612 | |
| 613 | gpio@d400 { /* GPIO 21 */ |
| 614 | }; |
| 615 | |
| 616 | gpio@d500 { /* GPIO 22 */ |
| 617 | }; |
| 618 | |
| 619 | gpio@d600 { /* GPIO 23 */ |
| 620 | }; |
| 621 | |
| 622 | gpio@d700 { /* GPIO 24 */ |
| 623 | }; |
| 624 | |
| 625 | gpio@d800 { /* GPIO 25 */ |
| 626 | }; |
| 627 | |
| 628 | gpio@d900 { /* GPIO 26 */ |
| 629 | }; |
| 630 | |
| 631 | gpio@da00 { /* GPIO 27 */ |
| 632 | }; |
| 633 | |
| 634 | gpio@db00 { /* GPIO 28 */ |
| 635 | }; |
| 636 | |
| 637 | gpio@dc00 { /* GPIO 29 */ |
| 638 | qcom,pull = <0>; /* set to default pull */ |
| 639 | qcom,master-en = <1>; |
| 640 | qcom,vin-sel = <2>; /* select 1.8 V source */ |
| 641 | }; |
| 642 | |
| 643 | gpio@dd00 { /* GPIO 30 */ |
Amir Samuelov | 6b72fc6 | 2012-11-01 20:05:04 +0200 | [diff] [blame] | 644 | /* SMB350-STAT */ |
| 645 | qcom,mode = <0>; /* DIG_IN */ |
| 646 | qcom,pull = <5>; /* PULL_NO */ |
| 647 | qcom,vin-sel = <2>; /* S3 1.8V */ |
| 648 | qcom,src-sel = <0>; /* CONSTANT */ |
| 649 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 650 | }; |
| 651 | |
| 652 | gpio@de00 { /* GPIO 31 */ |
| 653 | }; |
| 654 | |
| 655 | gpio@df00 { /* GPIO 32 */ |
| 656 | }; |
| 657 | |
| 658 | gpio@e000 { /* GPIO 33 */ |
Alexander Lifshitz | 7cddb5e | 2012-11-14 15:46:37 +0200 | [diff] [blame] | 659 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 660 | qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ |
| 661 | qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ |
| 662 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
| 663 | qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ |
| 664 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
| 665 | qcom,invert = <1>; |
| 666 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 667 | }; |
| 668 | |
| 669 | gpio@e100 { /* GPIO 34 */ |
Alexander Lifshitz | 7cddb5e | 2012-11-14 15:46:37 +0200 | [diff] [blame] | 670 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 671 | qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ |
| 672 | qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ |
| 673 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
| 674 | qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ |
| 675 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
| 676 | qcom,invert = <0>; |
| 677 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 678 | }; |
| 679 | |
| 680 | gpio@e200 { /* GPIO 35 */ |
| 681 | }; |
| 682 | |
| 683 | gpio@e300 { /* GPIO 36 */ |
| 684 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 685 | qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ |
| 686 | qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ |
| 687 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
| 688 | qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 689 | qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 690 | qcom,master-en = <1>; |
| 691 | }; |
| 692 | }; |
| 693 | |
| 694 | &pm8941_mpps { |
| 695 | |
| 696 | mpp@a000 { /* MPP 1 */ |
Michael Bohan | bea1f58 | 2013-03-21 17:29:49 -0700 | [diff] [blame] | 697 | status = "disabled"; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 698 | }; |
| 699 | |
| 700 | mpp@a100 { /* MPP 2 */ |
| 701 | /* ext_5v regulator enable */ |
| 702 | qcom,mode = <1>; /* Digital output */ |
| 703 | qcom,invert = <0>; /* Output low initially */ |
| 704 | qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 705 | qcom,src-sel = <0>; /* Constant */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 706 | qcom,master-en = <1>; /* Enable MPP */ |
| 707 | }; |
| 708 | |
| 709 | mpp@a200 { /* MPP 3 */ |
| 710 | }; |
| 711 | |
| 712 | mpp@a300 { /* MPP 4 */ |
| 713 | }; |
| 714 | |
| 715 | mpp@a400 { /* MPP 5 */ |
| 716 | /* SPI_ETH config */ |
| 717 | qcom,mode = <1>; /* DIG_OUT */ |
| 718 | qcom,output-type = <0>; /* CMOS */ |
| 719 | qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 720 | qcom,src-sel = <0>; /* CONSTANT */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 721 | qcom,master-en = <1>; /* ENABLE MPP */ |
| 722 | }; |
| 723 | |
| 724 | mpp@a500 { /* MPP 6 */ |
| 725 | /* SPI_ETH_RST config */ |
| 726 | qcom,mode = <1>; /* DIG_OUT */ |
| 727 | qcom,output-type = <0>; /* CMOS */ |
| 728 | qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 729 | qcom,src-sel = <0>; /* CONSTANT */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 730 | qcom,master-en = <1>; /* ENABLE MPP */ |
| 731 | }; |
| 732 | |
| 733 | mpp@a600 { /* MPP 7 */ |
| 734 | }; |
| 735 | |
| 736 | mpp@a700 { /* MPP 8 */ |
| 737 | }; |
| 738 | }; |
| 739 | |
| 740 | &pm8841_mpps { |
| 741 | |
| 742 | mpp@a000 { /* MPP 1 */ |
Tanya Finkel | b4fea12 | 2012-11-14 14:23:37 +0200 | [diff] [blame] | 743 | /* CLASS_D_EN speakers PA */ |
| 744 | qcom,mode = <1>; /* DIG_OUT */ |
| 745 | qcom,output-type = <0>; /* PNP_PIN_OUT_BUF_CMOS */ |
| 746 | qcom,vin-sel = <2>; /* S3A 1.8v */ |
| 747 | qcom,src-select = <0>; /* CONSTANT */ |
| 748 | qcom,master-en = <1>; /* ENABLE MPP */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 749 | }; |
| 750 | |
| 751 | mpp@a100 { /* MPP 2 */ |
Tanya Finkel | ca61932 | 2013-01-20 15:43:58 +0200 | [diff] [blame] | 752 | /* DOCK_PLUG_DET speakers+docking detect irq*/ |
| 753 | qcom,mode = <0>; /* DIG_IN */ |
| 754 | qcom,vin-sel = <2>; /* S3A 1.8v */ |
| 755 | qcom,src-sel = <0>; /* CONSTANT */ |
| 756 | qcom,master-en = <1>; /* ENABLE MPP */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 757 | }; |
| 758 | |
| 759 | mpp@a200 { /* HDMI_MUX_SEL MPP 3*/ |
| 760 | status = "ok"; |
| 761 | qcom,mode = <1>; /* DIG_OUT */ |
| 762 | qcom,output-type = <0>; /* CMOS */ |
| 763 | qcom,vin-sel = <2>; /* PM8841_S3A 1.8V */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 764 | qcom,src-sel = <0>; /* CONSTANT */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 765 | qcom,master-en = <1>; /* ENABLE MPP */ |
| 766 | }; |
| 767 | |
| 768 | mpp@a300 { /* HDMI_MUX_EN MPP 4*/ |
| 769 | status = "ok"; |
| 770 | qcom,mode = <1>; /* DIG_OUT */ |
| 771 | qcom,output-type = <0>; /* CMOS */ |
| 772 | qcom,vin-sel = <0>; /* PM8841_VPH 3.4V */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 773 | qcom,src-sel = <0>; /* CONSTANT */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 774 | qcom,master-en = <1>; /* ENABLE MPP */ |
| 775 | }; |
Sreenivasulu Chalam Charla | bf7f621 | 2012-10-17 22:10:24 +0530 | [diff] [blame] | 776 | }; |
Siddartha Mohanadoss | e9f24de | 2012-11-02 17:13:18 -0700 | [diff] [blame] | 777 | |
Joonwoo Park | df0d5a9 | 2012-12-12 14:08:32 -0800 | [diff] [blame] | 778 | &vph_pwr_vreg { |
| 779 | status = "ok"; |
| 780 | }; |
| 781 | |
Tanya Finkel | 5f9a3d1 | 2013-01-05 01:25:17 +0200 | [diff] [blame] | 782 | &slim_msm { |
| 783 | taiko_codec { |
Kiran Kandi | 294fc32 | 2013-05-15 13:10:18 -0700 | [diff] [blame] | 784 | qcom,cdc-micbias1-ext-cap; |
Tanya Finkel | 5f9a3d1 | 2013-01-05 01:25:17 +0200 | [diff] [blame] | 785 | qcom,cdc-micbias2-ext-cap; |
Kiran Kandi | 4041f7f | 2013-02-07 23:17:18 -0800 | [diff] [blame] | 786 | qcom,cdc-micbias3-ext-cap; |
Kiran Kandi | 294fc32 | 2013-05-15 13:10:18 -0700 | [diff] [blame] | 787 | qcom,cdc-micbias4-ext-cap; |
Joonwoo Park | df0d5a9 | 2012-12-12 14:08:32 -0800 | [diff] [blame] | 788 | |
| 789 | /* |
| 790 | * Liquid has external spkrdrv supply. Give a dummy supply to |
| 791 | * make codec driver's happy. |
| 792 | */ |
| 793 | cdc-vdd-spkdrv-supply = <&vph_pwr_vreg>; |
| 794 | qcom,cdc-vdd-spkdrv-voltage = <0 0>; |
| 795 | qcom,cdc-vdd-spkdrv-current = <0>; |
| 796 | |
| 797 | qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; |
Tanya Finkel | 5f9a3d1 | 2013-01-05 01:25:17 +0200 | [diff] [blame] | 798 | }; |
| 799 | }; |
| 800 | |
Siddartha Mohanadoss | e9f24de | 2012-11-02 17:13:18 -0700 | [diff] [blame] | 801 | &spi_epm { |
| 802 | epm-adc@0 { |
| 803 | compatible = "cy,epm-adc-cy8c5568lti-114"; |
| 804 | reg = <0>; |
| 805 | interrupt-parent = <&msmgpio>; |
| 806 | spi-max-frequency = <960000>; |
| 807 | qcom,channels = <31>; |
Siddartha Mohanadoss | c4ae9c2 | 2013-06-24 17:11:25 -0700 | [diff] [blame] | 808 | qcom,gain = <50 50 50 50 50 100 50 100 50 50 |
| 809 | 100 50 50 50 50 50 50 50 50 50 |
Siddartha Mohanadoss | e9f24de | 2012-11-02 17:13:18 -0700 | [diff] [blame] | 810 | 50 50 50 100 50 50 50 1 1 1 |
| 811 | 1>; |
Siddartha Mohanadoss | c4ae9c2 | 2013-06-24 17:11:25 -0700 | [diff] [blame] | 812 | qcom,rsense = <50 100 500 10 25 1000 40 200 200 5 |
| 813 | 500 500 75 10 5 25 33 75 25 200 |
| 814 | 10 25 33 100 10 10 3 1000 1000 1000 |
| 815 | 1000>; |
Siddartha Mohanadoss | e9f24de | 2012-11-02 17:13:18 -0700 | [diff] [blame] | 816 | qcom,channel-type = <0xf0000000>; |
| 817 | }; |
| 818 | }; |
Asaf Penso | 001cc3a | 2013-01-21 21:15:10 +0200 | [diff] [blame] | 819 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 820 | &pm8941_lsid1 { |
| 821 | qcom,leds@d000 { |
| 822 | qcom,rgb_2 { |
| 823 | status = "ok"; |
| 824 | qcom,default-state = "on"; |
| 825 | qcom,turn-off-delay-ms = <1000>; |
Asaf Penso | 001cc3a | 2013-01-21 21:15:10 +0200 | [diff] [blame] | 826 | }; |
| 827 | }; |
| 828 | }; |
David Keitel | f2170cc | 2013-02-20 17:49:03 -0800 | [diff] [blame] | 829 | |
| 830 | &pm8941_chg { |
| 831 | status = "ok"; |
David Keitel | a2f8ef9 | 2013-05-16 19:32:52 -0700 | [diff] [blame] | 832 | otg-parent-supply = <&ext_5v>; |
David Keitel | f2170cc | 2013-02-20 17:49:03 -0800 | [diff] [blame] | 833 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame] | 834 | qcom,charging-disabled; |
David Keitel | f2170cc | 2013-02-20 17:49:03 -0800 | [diff] [blame] | 835 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame] | 836 | qcom,chgr@1000 { |
David Keitel | f2170cc | 2013-02-20 17:49:03 -0800 | [diff] [blame] | 837 | status = "ok"; |
| 838 | }; |
| 839 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame] | 840 | qcom,buck@1100 { |
David Keitel | f2170cc | 2013-02-20 17:49:03 -0800 | [diff] [blame] | 841 | status = "ok"; |
| 842 | }; |
| 843 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame] | 844 | qcom,usb-chgpth@1300 { |
David Keitel | f2170cc | 2013-02-20 17:49:03 -0800 | [diff] [blame] | 845 | status = "ok"; |
| 846 | }; |
| 847 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame] | 848 | qcom,dc-chgpth@1400 { |
Eugene Yasman | fc8ffd2 | 2013-06-27 13:21:15 +0300 | [diff] [blame] | 849 | status = "disabled"; |
David Keitel | f2170cc | 2013-02-20 17:49:03 -0800 | [diff] [blame] | 850 | }; |
| 851 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame] | 852 | qcom,boost@1500 { |
David Keitel | f2170cc | 2013-02-20 17:49:03 -0800 | [diff] [blame] | 853 | status = "ok"; |
| 854 | }; |
| 855 | |
| 856 | qcom,chg-misc@1600 { |
| 857 | status = "ok"; |
| 858 | }; |
| 859 | }; |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 860 | |
Venkat Gopalakrishnan | d446a12 | 2012-11-05 14:10:44 -0800 | [diff] [blame] | 861 | &sdcc1 { |
| 862 | status = "disabled"; |
| 863 | }; |
| 864 | |
| 865 | &sdcc2 { |
| 866 | status = "disabled"; |
| 867 | }; |
| 868 | |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 869 | &sdhc_1 { |
| 870 | vdd-supply = <&pm8941_l20>; |
| 871 | vdd-io-supply = <&pm8941_s3>; |
| 872 | |
Sahitya Tummala | d0fc2dd | 2013-03-27 10:34:35 +0530 | [diff] [blame] | 873 | qcom,vdd-always-on; |
| 874 | qcom,vdd-lpm-sup; |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 875 | qcom,vdd-voltage-level = <2950000 2950000>; |
| 876 | qcom,vdd-current-level = <800 500000>; |
| 877 | |
| 878 | qcom,vdd-io-always-on; |
| 879 | qcom,vdd-io-voltage-level = <1800000 1800000>; |
| 880 | qcom,vdd-io-current-level = <250 154000>; |
| 881 | |
| 882 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 883 | qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
Krishna Konda | 6c5d0f4 | 2013-04-12 16:44:26 -0700 | [diff] [blame] | 884 | qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 885 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
| 886 | |
| 887 | qcom,nonremovable; |
Venkat Gopalakrishnan | d446a12 | 2012-11-05 14:10:44 -0800 | [diff] [blame] | 888 | status = "ok"; |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 889 | }; |
| 890 | |
| 891 | &sdhc_2 { |
| 892 | vdd-supply = <&pm8941_l21>; |
| 893 | vdd-io-supply = <&pm8941_l13>; |
| 894 | |
| 895 | qcom,vdd-voltage-level = <2950000 2950000>; |
| 896 | qcom,vdd-current-level = <9000 800000>; |
| 897 | |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 898 | qcom,vdd-io-voltage-level = <1800000 2950000>; |
| 899 | qcom,vdd-io-current-level = <6 22000>; |
| 900 | |
| 901 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 902 | qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
Krishna Konda | 6c5d0f4 | 2013-04-12 16:44:26 -0700 | [diff] [blame] | 903 | qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 904 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
Venkat Gopalakrishnan | d446a12 | 2012-11-05 14:10:44 -0800 | [diff] [blame] | 905 | status = "ok"; |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 906 | }; |
Krishna Konda | 6c5d0f4 | 2013-04-12 16:44:26 -0700 | [diff] [blame] | 907 | |
| 908 | /* Drive strength recommendations for clock line from hardware team is 10 mA. |
| 909 | * But since the driver has been been using the below values from the start |
| 910 | * without any problems, continue to use those. |
| 911 | */ |
| 912 | &sdcc1 { |
| 913 | qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ |
| 914 | }; |
| 915 | |
| 916 | &sdcc2 { |
| 917 | qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ |
| 918 | }; |
| 919 | |
| 920 | &sdhc_1 { |
| 921 | qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ |
| 922 | }; |
| 923 | |
| 924 | &sdhc_2 { |
| 925 | qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ |
| 926 | }; |