Mayank Rana | 3d073cf | 2012-12-18 10:23:27 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | /include/ "dsi-panel-toshiba-720p-video.dtsi" |
Sreesudhan Ramakrish Ramkumar | 9765792 | 2013-03-13 10:07:12 -0700 | [diff] [blame] | 14 | /include/ "msm8974-camera-sensor-mtp.dtsi" |
Amy Maloche | 24de28b | 2012-09-17 12:09:56 -0700 | [diff] [blame] | 15 | /include/ "msm8974-leds.dtsi" |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 16 | |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 17 | &soc { |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 18 | serial@f991e000 { |
| 19 | status = "ok"; |
| 20 | }; |
| 21 | |
Chandan Uddaraju | 0c33e77 | 2012-12-13 22:49:58 -0800 | [diff] [blame] | 22 | qcom,mdss_dsi_toshiba_720p_video { |
| 23 | status = "ok"; |
Siddhartha Agrawal | 1d0557b | 2013-03-06 14:53:11 -0800 | [diff] [blame] | 24 | qcom,cont-splash-enabled; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | qcom,hdmi_tx@fd922100 { |
| 28 | status = "disabled"; |
| 29 | }; |
| 30 | |
| 31 | i2c@f9924000 { |
| 32 | atmel_mxt_ts@4a { |
| 33 | compatible = "atmel,mxt-ts"; |
| 34 | reg = <0x4a>; |
| 35 | interrupt-parent = <&msmgpio>; |
| 36 | interrupts = <61 0x2>; |
| 37 | vdd_ana-supply = <&pm8941_l18>; |
| 38 | vcc_i2c-supply = <&pm8941_lvs1>; |
| 39 | atmel,reset-gpio = <&msmgpio 60 0x00>; |
| 40 | atmel,irq-gpio = <&msmgpio 61 0x00>; |
| 41 | atmel,panel-coords = <0 0 760 1424>; |
| 42 | atmel,display-coords = <0 0 720 1280>; |
Sreenivasulu Chalam Charla | bf7f621 | 2012-10-17 22:10:24 +0530 | [diff] [blame] | 43 | atmel,i2c-pull-up; |
Amy Maloche | a90b005 | 2013-02-13 11:57:10 -0800 | [diff] [blame] | 44 | atmel,no-force-update; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 45 | atmel,cfg_1 { |
| 46 | atmel,family-id = <0x82>; |
| 47 | atmel,variant-id = <0x19>; |
| 48 | atmel,version = <0x10>; |
| 49 | atmel,build = <0xaa>; |
| 50 | atmel,config = [ |
| 51 | /* Object 6, Instance = 0 */ |
| 52 | 00 00 00 00 00 00 |
| 53 | /* Object 38, Instance = 0 */ |
Amy Maloche | 8463721 | 2012-12-14 15:12:19 -0800 | [diff] [blame] | 54 | 15 01 00 03 0A 0C 00 00 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 55 | /* Object 7, Instance = 0 */ |
Amy Maloche | 8463721 | 2012-12-14 15:12:19 -0800 | [diff] [blame] | 56 | 20 08 32 03 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 57 | /* Object 8, Instance = 0 */ |
Amy Maloche | 8463721 | 2012-12-14 15:12:19 -0800 | [diff] [blame] | 58 | 0F 00 0A 0A 00 00 0A 0A 00 00 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 59 | /* Object 9, Instance = 0 */ |
Amy Maloche | 8463721 | 2012-12-14 15:12:19 -0800 | [diff] [blame] | 60 | 83 00 00 18 0E 00 70 46 02 01 |
| 61 | 00 0A 03 31 04 05 0A 0A 90 05 |
| 62 | F8 02 05 F1 F1 0F 00 00 08 2D |
| 63 | 12 06 00 00 00 01 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 64 | /* Object 15, Instance = 0 */ |
| 65 | 00 00 00 00 00 00 00 00 00 00 |
| 66 | 00 |
| 67 | /* Object 18, Instance = 0 */ |
| 68 | 00 00 |
| 69 | /* Object 19, Instance = 0 */ |
| 70 | 00 00 00 00 00 00 |
| 71 | /* Object 23, Instance = 0 */ |
| 72 | 00 00 00 00 00 00 00 00 00 00 |
| 73 | 00 00 00 00 00 |
| 74 | /* Object 25, Instance = 0 */ |
| 75 | 00 00 00 00 00 00 00 00 00 00 |
| 76 | 00 00 00 00 00 |
| 77 | /* Object 40, Instance = 0 */ |
| 78 | 00 00 00 00 00 |
| 79 | /* Object 42, Instance = 0 */ |
Amy Maloche | 8463721 | 2012-12-14 15:12:19 -0800 | [diff] [blame] | 80 | 33 1E 19 10 80 00 00 00 FF 00 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 81 | /* Object 46, Instance = 0 */ |
| 82 | 00 00 10 10 00 00 03 00 00 01 |
| 83 | /* Object 47, Instance = 0 */ |
| 84 | 08 0A 28 0A 02 0A 00 8C 00 20 |
| 85 | 00 00 00 |
| 86 | /* Object 55, Instance = 0 */ |
| 87 | 00 00 00 00 00 00 |
| 88 | /* Object 56, Instance = 0 */ |
Amy Maloche | 8463721 | 2012-12-14 15:12:19 -0800 | [diff] [blame] | 89 | 00 00 00 18 05 05 05 05 05 05 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 90 | 05 05 05 05 05 05 05 05 05 05 |
| 91 | 05 05 05 05 05 05 05 05 00 00 |
| 92 | 00 00 00 00 00 00 00 00 00 00 |
| 93 | 00 00 |
| 94 | /* Object 57, Instance = 0 */ |
| 95 | 00 00 00 |
| 96 | /* Object 61, Instance = 0 */ |
| 97 | 00 00 00 00 00 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 98 | /* Object 62, Instance = 0 */ |
Amy Maloche | 8463721 | 2012-12-14 15:12:19 -0800 | [diff] [blame] | 99 | 01 2A 00 16 00 00 00 00 0B 01 |
| 100 | 02 03 04 08 00 00 08 10 18 05 |
| 101 | 00 0A 05 05 50 14 19 34 1A 7F |
| 102 | 00 00 00 00 00 00 00 00 00 30 |
| 103 | 05 02 00 01 00 05 00 00 00 00 |
| 104 | 00 00 00 00 |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 105 | ]; |
| 106 | }; |
| 107 | }; |
| 108 | }; |
| 109 | |
Amy Maloche | 932657e | 2012-11-26 11:31:55 -0800 | [diff] [blame] | 110 | gen-vkeys { |
| 111 | compatible = "qcom,gen-vkeys"; |
| 112 | label = "atmel_mxt_ts"; |
| 113 | qcom,disp-maxx = <720>; |
| 114 | qcom,disp-maxy = <1280>; |
| 115 | qcom,panel-maxx = <760>; |
| 116 | qcom,panel-maxy = <1424>; |
| 117 | qcom,key-codes = <158 139 102 217>; |
| 118 | }; |
| 119 | |
Amy Maloche | 527acc4 | 2012-12-07 18:40:54 -0800 | [diff] [blame] | 120 | i2c@f9967000 { |
| 121 | isa1200@48 { |
| 122 | status = "okay"; |
| 123 | reg = <0x48>; |
| 124 | vcc_i2c-supply = <&pm8941_s3>; |
| 125 | compatible = "imagis,isa1200"; |
| 126 | label = "vibrator"; |
| 127 | imagis,chip-en; |
| 128 | imagis,need-pwm-clk; |
| 129 | imagis,ext-clk-en; |
| 130 | imagis,hap-en-gpio = <&msmgpio 86 0x00>; |
| 131 | imagis,max-timeout = <15000>; |
| 132 | imagis,pwm-div = <256>; |
| 133 | imagis,mode-ctrl = <2>; |
| 134 | imagis,regulator { |
| 135 | regulator-name = "vcc_i2c"; |
| 136 | regulator-min-microvolt = <1800000>; |
| 137 | regulator-max-microvolt = <1800000>; |
| 138 | regulator-max-microamp = <9360>; |
| 139 | }; |
| 140 | }; |
| 141 | }; |
| 142 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 143 | gpio_keys { |
| 144 | compatible = "gpio-keys"; |
| 145 | input-name = "gpio-keys"; |
| 146 | |
| 147 | camera_snapshot { |
| 148 | label = "camera_snapshot"; |
| 149 | gpios = <&pm8941_gpios 3 0x1>; |
| 150 | linux,input-type = <1>; |
| 151 | linux,code = <0x2fe>; |
| 152 | gpio-key,wakeup; |
| 153 | debounce-interval = <15>; |
| 154 | }; |
| 155 | |
| 156 | camera_focus { |
| 157 | label = "camera_focus"; |
| 158 | gpios = <&pm8941_gpios 4 0x1>; |
| 159 | linux,input-type = <1>; |
| 160 | linux,code = <0x210>; |
| 161 | gpio-key,wakeup; |
| 162 | debounce-interval = <15>; |
| 163 | }; |
| 164 | |
| 165 | vol_up { |
| 166 | label = "volume_up"; |
| 167 | gpios = <&pm8941_gpios 5 0x1>; |
| 168 | linux,input-type = <1>; |
| 169 | linux,code = <115>; |
| 170 | gpio-key,wakeup; |
| 171 | debounce-interval = <15>; |
| 172 | }; |
| 173 | }; |
| 174 | |
| 175 | spi@f9923000 { |
| 176 | ethernet-switch@2 { |
| 177 | compatible = "micrel,ks8851"; |
| 178 | reg = <2>; |
| 179 | interrupt-parent = <&msmgpio>; |
| 180 | interrupts = <94 0>; |
| 181 | spi-max-frequency = <4800000>; |
| 182 | rst-gpio = <&pm8941_mpps 6 0>; |
| 183 | vdd-io-supply = <&spi_eth_vreg>; |
| 184 | vdd-phy-supply = <&spi_eth_vreg>; |
| 185 | }; |
| 186 | }; |
Phani Kumar Uppalapati | a212987 | 2012-11-08 20:36:45 -0800 | [diff] [blame] | 187 | |
| 188 | sound { |
Phani Kumar Uppalapati | a212987 | 2012-11-08 20:36:45 -0800 | [diff] [blame] | 189 | qcom,model = "msm8974-taiko-mtp-snd-card"; |
Joonwoo Park | d581a76 | 2013-04-15 17:12:57 -0700 | [diff] [blame] | 190 | qcom,cdc-micbias2-headset-only; |
Phani Kumar Uppalapati | a212987 | 2012-11-08 20:36:45 -0800 | [diff] [blame] | 191 | }; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 192 | }; |
| 193 | |
Amy Maloche | 24de28b | 2012-09-17 12:09:56 -0700 | [diff] [blame] | 194 | &spmi_bus { |
| 195 | qcom,pm8941@1 { |
| 196 | qcom,leds@d800 { |
| 197 | status = "okay"; |
| 198 | qcom,wled_0 { |
| 199 | label = "wled"; |
| 200 | linux,name = "wled:backlight"; |
| 201 | linux,default-trigger = "bkl-trigger"; |
| 202 | qcom,cs-out-en; |
Amy Maloche | bd68767 | 2013-03-18 11:23:45 -0700 | [diff] [blame] | 203 | qcom,op-fdbck = <1>; |
Siddhartha Agrawal | 12315e6 | 2013-02-24 11:23:02 -0800 | [diff] [blame] | 204 | qcom,default-state = "on"; |
Amy Maloche | 24de28b | 2012-09-17 12:09:56 -0700 | [diff] [blame] | 205 | qcom,max-current = <25>; |
| 206 | qcom,ctrl-delay-us = <0>; |
| 207 | qcom,boost-curr-lim = <3>; |
| 208 | qcom,cp-sel = <0>; |
| 209 | qcom,switch-freq = <2>; |
| 210 | qcom,ovp-val = <2>; |
| 211 | qcom,num-strings = <1>; |
| 212 | qcom,id = <0>; |
| 213 | }; |
| 214 | }; |
| 215 | |
| 216 | qcom,leds@d900 { |
| 217 | status = "disabled"; |
| 218 | }; |
| 219 | |
| 220 | qcom,leds@da00 { |
| 221 | status = "disabled"; |
| 222 | }; |
| 223 | |
| 224 | qcom,leds@db00 { |
| 225 | status = "disabled"; |
| 226 | }; |
| 227 | |
| 228 | qcom,leds@dc00 { |
| 229 | status = "disabled"; |
| 230 | }; |
| 231 | |
| 232 | qcom,leds@dd00 { |
| 233 | status = "disabled"; |
| 234 | }; |
| 235 | |
| 236 | qcom,leds@de00 { |
| 237 | status = "disabled"; |
| 238 | }; |
| 239 | |
| 240 | qcom,leds@df00 { |
| 241 | status = "disabled"; |
| 242 | }; |
| 243 | |
| 244 | qcom,leds@e000 { |
| 245 | status = "disabled"; |
| 246 | }; |
| 247 | |
| 248 | qcom,leds@e100 { |
| 249 | status = "disabled"; |
| 250 | }; |
| 251 | }; |
| 252 | }; |
| 253 | |
Venkat Gopalakrishnan | d446a12 | 2012-11-05 14:10:44 -0800 | [diff] [blame] | 254 | &sdcc1 { |
| 255 | status = "disabled"; |
| 256 | }; |
| 257 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 258 | &sdcc2 { |
| 259 | #address-cells = <0>; |
| 260 | interrupt-parent = <&sdcc2>; |
| 261 | interrupts = <0 1 2>; |
| 262 | #interrupt-cells = <1>; |
| 263 | interrupt-map-mask = <0xffffffff>; |
| 264 | interrupt-map = <0 &intc 0 125 0 |
| 265 | 1 &intc 0 220 0 |
| 266 | 2 &msmgpio 62 0x3>; |
| 267 | interrupt-names = "core_irq", "bam_irq", "status_irq"; |
| 268 | cd-gpios = <&msmgpio 62 0x1>; |
Venkat Gopalakrishnan | d446a12 | 2012-11-05 14:10:44 -0800 | [diff] [blame] | 269 | status = "disabled"; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 270 | }; |
| 271 | |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 272 | &sdhc_1 { |
| 273 | vdd-supply = <&pm8941_l20>; |
| 274 | vdd-io-supply = <&pm8941_s3>; |
| 275 | |
Sahitya Tummala | d0fc2dd | 2013-03-27 10:34:35 +0530 | [diff] [blame] | 276 | qcom,vdd-always-on; |
| 277 | qcom,vdd-lpm-sup; |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 278 | qcom,vdd-voltage-level = <2950000 2950000>; |
| 279 | qcom,vdd-current-level = <800 500000>; |
| 280 | |
| 281 | qcom,vdd-io-always-on; |
| 282 | qcom,vdd-io-voltage-level = <1800000 1800000>; |
| 283 | qcom,vdd-io-current-level = <250 154000>; |
| 284 | |
| 285 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 286 | 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] | 287 | qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 288 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
| 289 | |
| 290 | qcom,nonremovable; |
Venkat Gopalakrishnan | d446a12 | 2012-11-05 14:10:44 -0800 | [diff] [blame] | 291 | status = "ok"; |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 292 | }; |
| 293 | |
| 294 | &sdhc_2 { |
Sahitya Tummala | 6b152f8 | 2013-03-12 15:02:12 +0530 | [diff] [blame] | 295 | #address-cells = <0>; |
| 296 | interrupt-parent = <&sdhc_2>; |
| 297 | interrupts = <0 1 2>; |
| 298 | #interrupt-cells = <1>; |
| 299 | interrupt-map-mask = <0xffffffff>; |
| 300 | interrupt-map = <0 &intc 0 125 0 |
| 301 | 1 &intc 0 221 0 |
| 302 | 2 &msmgpio 62 0x3>; |
| 303 | interrupt-names = "hc_irq", "pwr_irq", "status_irq"; |
| 304 | cd-gpios = <&msmgpio 62 0x1>; |
| 305 | |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 306 | vdd-supply = <&pm8941_l21>; |
| 307 | vdd-io-supply = <&pm8941_l13>; |
| 308 | |
| 309 | qcom,vdd-voltage-level = <2950000 2950000>; |
| 310 | qcom,vdd-current-level = <9000 800000>; |
| 311 | |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 312 | qcom,vdd-io-voltage-level = <1800000 2950000>; |
| 313 | qcom,vdd-io-current-level = <6 22000>; |
| 314 | |
| 315 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 316 | 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] | 317 | qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 318 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
Venkat Gopalakrishnan | d446a12 | 2012-11-05 14:10:44 -0800 | [diff] [blame] | 319 | status = "ok"; |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 320 | }; |
| 321 | |
Krishna Konda | 6c5d0f4 | 2013-04-12 16:44:26 -0700 | [diff] [blame] | 322 | /* Drive strength recommendations for clock line from hardware team is 10 mA. |
| 323 | * But since the driver has been been using the below values from the start |
| 324 | * without any problems, continue to use those. |
| 325 | */ |
| 326 | &sdcc1 { |
| 327 | qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ |
| 328 | }; |
| 329 | |
| 330 | &sdcc2 { |
| 331 | qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ |
| 332 | }; |
| 333 | |
| 334 | &sdhc_1 { |
| 335 | qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ |
| 336 | }; |
| 337 | |
| 338 | &sdhc_2 { |
| 339 | qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ |
| 340 | }; |
| 341 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 342 | &usb_otg { |
| 343 | qcom,hsusb-otg-otg-control = <2>; |
| 344 | }; |
| 345 | |
Mayank Rana | 3d073cf | 2012-12-18 10:23:27 +0530 | [diff] [blame] | 346 | &uart7 { |
| 347 | status = "ok"; |
| 348 | }; |
| 349 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 350 | &usb3 { |
Manu Gautam | 6c0ff03 | 2012-11-02 14:55:35 +0530 | [diff] [blame] | 351 | qcom,otg-capability; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 352 | }; |
| 353 | |
Xiaozhe Shi | 03a44bf | 2012-11-12 15:59:27 -0800 | [diff] [blame] | 354 | &pm8941_bms { |
Anirudh Ghayal | b20578c | 2013-06-04 20:27:03 +0530 | [diff] [blame] | 355 | qcom,enable-fcc-learning; |
| 356 | qcom,min-fcc-learning-soc = <20>; |
| 357 | qcom,min-fcc-ocv-pc = <30>; |
| 358 | qcom,min-fcc-learning-samples = <5>; |
Xiaozhe Shi | 03a44bf | 2012-11-12 15:59:27 -0800 | [diff] [blame] | 359 | status = "ok"; |
| 360 | }; |
| 361 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 362 | &pm8941_chg { |
| 363 | status = "ok"; |
David Keitel | a2a6ff8 | 2013-04-09 16:52:54 -0700 | [diff] [blame] | 364 | qcom,charging-disabled; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 365 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame] | 366 | qcom,chgr@1000 { |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 367 | status = "ok"; |
| 368 | }; |
| 369 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame] | 370 | qcom,buck@1100 { |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 371 | status = "ok"; |
| 372 | }; |
| 373 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame] | 374 | qcom,bat-if@1200 { |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 375 | status = "ok"; |
| 376 | }; |
| 377 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame] | 378 | qcom,usb-chgpth@1300 { |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 379 | status = "ok"; |
| 380 | }; |
| 381 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame] | 382 | qcom,dc-chgpth@1400 { |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 383 | status = "ok"; |
| 384 | }; |
| 385 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame] | 386 | qcom,boost@1500 { |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 387 | status = "ok"; |
| 388 | }; |
| 389 | |
| 390 | qcom,chg-misc@1600 { |
| 391 | status = "ok"; |
| 392 | }; |
| 393 | }; |
| 394 | |
| 395 | &pm8941_gpios { |
| 396 | gpio@c000 { /* GPIO 1 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 397 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 398 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
| 399 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 400 | }; |
| 401 | |
| 402 | gpio@c100 { /* GPIO 2 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 403 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 404 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
| 405 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 406 | }; |
| 407 | |
| 408 | gpio@c200 { /* GPIO 3 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 409 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 410 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 411 | qcom,vin-sel = <2>; |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 412 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
| 413 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 414 | }; |
| 415 | |
| 416 | gpio@c300 { /* GPIO 4 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 417 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 418 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
| 419 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
| 420 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
| 421 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 422 | }; |
| 423 | |
| 424 | gpio@c400 { /* GPIO 5 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 425 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 426 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
| 427 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
| 428 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
| 429 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 430 | }; |
| 431 | |
| 432 | gpio@c500 { /* GPIO 6 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 433 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 434 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
| 435 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 436 | }; |
| 437 | |
| 438 | gpio@c600 { /* GPIO 7 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 439 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 440 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
| 441 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 442 | }; |
| 443 | |
| 444 | gpio@c700 { /* GPIO 8 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 445 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 446 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
| 447 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 448 | }; |
| 449 | |
| 450 | gpio@c800 { /* GPIO 9 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 451 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 452 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 453 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 454 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 455 | }; |
| 456 | |
| 457 | gpio@c900 { /* GPIO 10 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 458 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 459 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 460 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 461 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 462 | }; |
| 463 | |
| 464 | gpio@ca00 { /* GPIO 11 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 465 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 466 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 467 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 468 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 469 | }; |
| 470 | |
| 471 | gpio@cb00 { /* GPIO 12 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 472 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 473 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 474 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 475 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 476 | }; |
| 477 | |
| 478 | gpio@cc00 { /* GPIO 13 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 479 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 480 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 481 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 482 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 483 | }; |
| 484 | |
| 485 | gpio@cd00 { /* GPIO 14 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 486 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 487 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 488 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 489 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 490 | }; |
| 491 | |
| 492 | gpio@ce00 { /* GPIO 15 */ |
| 493 | qcom,mode = <1>; |
| 494 | qcom,output-type = <0>; |
| 495 | qcom,pull = <5>; |
| 496 | qcom,vin-sel = <2>; |
Kiran Kandi | 1a35a22 | 2013-05-02 16:53:53 -0700 | [diff] [blame] | 497 | qcom,out-strength = <1>; |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 498 | qcom,src-sel = <2>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 499 | qcom,master-en = <1>; |
| 500 | }; |
| 501 | |
| 502 | gpio@cf00 { /* GPIO 16 */ |
Amy Maloche | 527acc4 | 2012-12-07 18:40:54 -0800 | [diff] [blame] | 503 | qcom,mode = <1>; |
| 504 | qcom,output-type = <0>; |
| 505 | qcom,pull = <5>; |
| 506 | qcom,vin-sel = <2>; |
| 507 | qcom,out-strength = <3>; |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 508 | qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ |
Amy Maloche | 527acc4 | 2012-12-07 18:40:54 -0800 | [diff] [blame] | 509 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 510 | }; |
| 511 | |
| 512 | gpio@d000 { /* GPIO 17 */ |
| 513 | }; |
| 514 | |
| 515 | gpio@d100 { /* GPIO 18 */ |
| 516 | }; |
| 517 | |
| 518 | gpio@d200 { /* GPIO 19 */ |
| 519 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 520 | qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ |
| 521 | qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ |
| 522 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 523 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 524 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 525 | qcom,master-en = <1>; |
| 526 | }; |
| 527 | |
| 528 | gpio@d300 { /* GPIO 20 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 529 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 530 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 531 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 532 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 533 | }; |
| 534 | |
| 535 | gpio@d400 { /* GPIO 21 */ |
| 536 | }; |
| 537 | |
| 538 | gpio@d500 { /* GPIO 22 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 539 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 540 | qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ |
| 541 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 542 | }; |
| 543 | |
| 544 | gpio@d600 { /* GPIO 23 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 545 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 546 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 547 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 548 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 549 | }; |
| 550 | |
| 551 | gpio@d700 { /* GPIO 24 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 552 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 553 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 554 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 555 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 556 | }; |
| 557 | |
| 558 | gpio@d800 { /* GPIO 25 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 559 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 560 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 561 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 562 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 563 | }; |
| 564 | |
| 565 | gpio@d900 { /* GPIO 26 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 566 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 567 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 568 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 569 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 570 | }; |
| 571 | |
| 572 | gpio@da00 { /* GPIO 27 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 573 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 574 | qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ |
| 575 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 576 | }; |
| 577 | |
| 578 | gpio@db00 { /* GPIO 28 */ |
| 579 | }; |
| 580 | |
| 581 | gpio@dc00 { /* GPIO 29 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 582 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 583 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 584 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 585 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 586 | }; |
| 587 | |
| 588 | gpio@dd00 { /* GPIO 30 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 589 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 590 | qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ |
| 591 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 592 | }; |
| 593 | |
| 594 | gpio@de00 { /* GPIO 31 */ |
| 595 | }; |
| 596 | |
| 597 | gpio@df00 { /* GPIO 32 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 598 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 599 | qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ |
| 600 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 601 | }; |
| 602 | |
| 603 | gpio@e000 { /* GPIO 33 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 604 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 605 | qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ |
| 606 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 607 | }; |
| 608 | |
| 609 | gpio@e100 { /* GPIO 34 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 610 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 611 | qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ |
| 612 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 613 | }; |
| 614 | |
| 615 | gpio@e200 { /* GPIO 35 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 616 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 617 | qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ |
| 618 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 619 | }; |
| 620 | |
| 621 | gpio@e300 { /* GPIO 36 */ |
| 622 | }; |
| 623 | }; |
| 624 | |
| 625 | &pm8941_mpps { |
| 626 | |
| 627 | mpp@a000 { /* MPP 1 */ |
Michael Bohan | bea1f58 | 2013-03-21 17:29:49 -0700 | [diff] [blame] | 628 | status = "disabled"; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 629 | }; |
| 630 | |
| 631 | mpp@a100 { /* MPP 2 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 632 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 633 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 634 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 635 | }; |
| 636 | |
| 637 | mpp@a200 { /* MPP 3 */ |
| 638 | }; |
| 639 | |
| 640 | mpp@a300 { /* MPP 4 */ |
| 641 | }; |
| 642 | |
| 643 | mpp@a400 { /* MPP 5 */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 644 | }; |
| 645 | |
| 646 | mpp@a500 { /* MPP 6 */ |
| 647 | /* SPI_ETH_RST config */ |
| 648 | qcom,mode = <1>; /* DIG_OUT */ |
| 649 | qcom,output-type = <0>; /* CMOS */ |
| 650 | qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 651 | qcom,src-sel = <0>; /* CONSTANT */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 652 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 653 | qcom,master-en = <1>; /* ENABLE MPP */ |
| 654 | }; |
| 655 | |
| 656 | mpp@a600 { /* MPP 7 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 657 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 658 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 659 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 660 | }; |
| 661 | |
| 662 | mpp@a700 { /* MPP 8 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 663 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 664 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 665 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 666 | }; |
| 667 | }; |
| 668 | |
| 669 | &pm8841_mpps { |
| 670 | |
| 671 | mpp@a000 { /* MPP 1 */ |
| 672 | }; |
| 673 | |
| 674 | mpp@a100 { /* MPP 2 */ |
| 675 | }; |
| 676 | |
| 677 | mpp@a200 { /* MPP 3 */ |
| 678 | }; |
| 679 | |
| 680 | mpp@a300 { /* MPP 4 */ |
| 681 | }; |
| 682 | }; |
| 683 | |
| 684 | &slim_msm { |
| 685 | taiko_codec { |
Kiran Kandi | 4041f7f | 2013-02-07 23:17:18 -0800 | [diff] [blame] | 686 | qcom,cdc-micbias1-ext-cap; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 687 | qcom,cdc-micbias2-ext-cap; |
Kiran Kandi | 4041f7f | 2013-02-07 23:17:18 -0800 | [diff] [blame] | 688 | qcom,cdc-micbias4-ext-cap; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 689 | }; |
| 690 | }; |
Siddartha Mohanadoss | e9f24de | 2012-11-02 17:13:18 -0700 | [diff] [blame] | 691 | |
| 692 | &spi_epm { |
| 693 | epm-adc@0 { |
| 694 | compatible = "cy,epm-adc-cy8c5568lti-114"; |
| 695 | reg = <0>; |
| 696 | interrupt-parent = <&msmgpio>; |
| 697 | spi-max-frequency = <960000>; |
| 698 | qcom,channels = <31>; |
| 699 | qcom,gain = <100 100 100 50 100 100 1 100 1 50 |
| 700 | 1 100 1 100 50 50 50 50 50 50 |
| 701 | 100 50 100 50 50 50 50 50 50 50 |
| 702 | 50>; |
| 703 | qcom,rsense = <2 2 2 200 20 2 1 2 1 30 |
| 704 | 1 10 1 30 50 30 500 30 100 30 |
| 705 | 100 500 20 200 1000 20 1000 1000 70 200 |
| 706 | 50>; |
| 707 | qcom,channel-type = <0x1540>; |
| 708 | }; |
| 709 | }; |