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 | |
| 17 | / { |
| 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"; |
Phani Kumar Uppalapati | a212987 | 2012-11-08 20:36:45 -0800 | [diff] [blame] | 190 | }; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 191 | }; |
| 192 | |
Amy Maloche | 24de28b | 2012-09-17 12:09:56 -0700 | [diff] [blame] | 193 | &spmi_bus { |
| 194 | qcom,pm8941@1 { |
| 195 | qcom,leds@d800 { |
| 196 | status = "okay"; |
| 197 | qcom,wled_0 { |
| 198 | label = "wled"; |
| 199 | linux,name = "wled:backlight"; |
| 200 | linux,default-trigger = "bkl-trigger"; |
| 201 | qcom,cs-out-en; |
Amy Maloche | bd68767 | 2013-03-18 11:23:45 -0700 | [diff] [blame] | 202 | qcom,op-fdbck = <1>; |
Siddhartha Agrawal | 12315e6 | 2013-02-24 11:23:02 -0800 | [diff] [blame] | 203 | qcom,default-state = "on"; |
Amy Maloche | 24de28b | 2012-09-17 12:09:56 -0700 | [diff] [blame] | 204 | qcom,max-current = <25>; |
| 205 | qcom,ctrl-delay-us = <0>; |
| 206 | qcom,boost-curr-lim = <3>; |
| 207 | qcom,cp-sel = <0>; |
| 208 | qcom,switch-freq = <2>; |
| 209 | qcom,ovp-val = <2>; |
| 210 | qcom,num-strings = <1>; |
| 211 | qcom,id = <0>; |
| 212 | }; |
| 213 | }; |
| 214 | |
| 215 | qcom,leds@d900 { |
| 216 | status = "disabled"; |
| 217 | }; |
| 218 | |
| 219 | qcom,leds@da00 { |
| 220 | status = "disabled"; |
| 221 | }; |
| 222 | |
| 223 | qcom,leds@db00 { |
| 224 | status = "disabled"; |
| 225 | }; |
| 226 | |
| 227 | qcom,leds@dc00 { |
| 228 | status = "disabled"; |
| 229 | }; |
| 230 | |
| 231 | qcom,leds@dd00 { |
| 232 | status = "disabled"; |
| 233 | }; |
| 234 | |
| 235 | qcom,leds@de00 { |
| 236 | status = "disabled"; |
| 237 | }; |
| 238 | |
| 239 | qcom,leds@df00 { |
| 240 | status = "disabled"; |
| 241 | }; |
| 242 | |
| 243 | qcom,leds@e000 { |
| 244 | status = "disabled"; |
| 245 | }; |
| 246 | |
| 247 | qcom,leds@e100 { |
| 248 | status = "disabled"; |
| 249 | }; |
| 250 | }; |
| 251 | }; |
| 252 | |
Venkat Gopalakrishnan | d446a12 | 2012-11-05 14:10:44 -0800 | [diff] [blame] | 253 | &sdcc1 { |
| 254 | status = "disabled"; |
| 255 | }; |
| 256 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 257 | &sdcc2 { |
| 258 | #address-cells = <0>; |
| 259 | interrupt-parent = <&sdcc2>; |
| 260 | interrupts = <0 1 2>; |
| 261 | #interrupt-cells = <1>; |
| 262 | interrupt-map-mask = <0xffffffff>; |
| 263 | interrupt-map = <0 &intc 0 125 0 |
| 264 | 1 &intc 0 220 0 |
| 265 | 2 &msmgpio 62 0x3>; |
| 266 | interrupt-names = "core_irq", "bam_irq", "status_irq"; |
| 267 | cd-gpios = <&msmgpio 62 0x1>; |
Venkat Gopalakrishnan | d446a12 | 2012-11-05 14:10:44 -0800 | [diff] [blame] | 268 | status = "disabled"; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 269 | }; |
| 270 | |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 271 | &sdhc_1 { |
| 272 | vdd-supply = <&pm8941_l20>; |
| 273 | vdd-io-supply = <&pm8941_s3>; |
| 274 | |
Sahitya Tummala | d0fc2dd | 2013-03-27 10:34:35 +0530 | [diff] [blame] | 275 | qcom,vdd-always-on; |
| 276 | qcom,vdd-lpm-sup; |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 277 | qcom,vdd-voltage-level = <2950000 2950000>; |
| 278 | qcom,vdd-current-level = <800 500000>; |
| 279 | |
| 280 | qcom,vdd-io-always-on; |
| 281 | qcom,vdd-io-voltage-level = <1800000 1800000>; |
| 282 | qcom,vdd-io-current-level = <250 154000>; |
| 283 | |
| 284 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 285 | qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 286 | qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ |
| 287 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
| 288 | |
| 289 | qcom,nonremovable; |
Venkat Gopalakrishnan | d446a12 | 2012-11-05 14:10:44 -0800 | [diff] [blame] | 290 | status = "ok"; |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 291 | }; |
| 292 | |
| 293 | &sdhc_2 { |
Sahitya Tummala | 6b152f8 | 2013-03-12 15:02:12 +0530 | [diff] [blame] | 294 | #address-cells = <0>; |
| 295 | interrupt-parent = <&sdhc_2>; |
| 296 | interrupts = <0 1 2>; |
| 297 | #interrupt-cells = <1>; |
| 298 | interrupt-map-mask = <0xffffffff>; |
| 299 | interrupt-map = <0 &intc 0 125 0 |
| 300 | 1 &intc 0 221 0 |
| 301 | 2 &msmgpio 62 0x3>; |
| 302 | interrupt-names = "hc_irq", "pwr_irq", "status_irq"; |
| 303 | cd-gpios = <&msmgpio 62 0x1>; |
| 304 | |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 305 | vdd-supply = <&pm8941_l21>; |
| 306 | vdd-io-supply = <&pm8941_l13>; |
| 307 | |
| 308 | qcom,vdd-voltage-level = <2950000 2950000>; |
| 309 | qcom,vdd-current-level = <9000 800000>; |
| 310 | |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 311 | qcom,vdd-io-voltage-level = <1800000 2950000>; |
| 312 | qcom,vdd-io-current-level = <6 22000>; |
| 313 | |
| 314 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 315 | qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 316 | qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ |
| 317 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
Venkat Gopalakrishnan | d446a12 | 2012-11-05 14:10:44 -0800 | [diff] [blame] | 318 | status = "ok"; |
Venkat Gopalakrishnan | 9855edd | 2012-09-17 15:05:13 -0700 | [diff] [blame] | 319 | }; |
| 320 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 321 | &usb_otg { |
| 322 | qcom,hsusb-otg-otg-control = <2>; |
| 323 | }; |
| 324 | |
Mayank Rana | 3d073cf | 2012-12-18 10:23:27 +0530 | [diff] [blame] | 325 | &uart7 { |
| 326 | status = "ok"; |
| 327 | }; |
| 328 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 329 | &usb3 { |
Manu Gautam | 6c0ff03 | 2012-11-02 14:55:35 +0530 | [diff] [blame] | 330 | qcom,otg-capability; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 331 | }; |
| 332 | |
Xiaozhe Shi | 03a44bf | 2012-11-12 15:59:27 -0800 | [diff] [blame] | 333 | &pm8941_bms { |
| 334 | status = "ok"; |
| 335 | }; |
| 336 | |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 337 | &pm8941_chg { |
| 338 | status = "ok"; |
David Keitel | e37b579 | 2013-04-02 12:31:20 -0700 | [diff] [blame] | 339 | qcom,chg-charging-disabled; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 340 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame^] | 341 | qcom,chgr@1000 { |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 342 | status = "ok"; |
| 343 | }; |
| 344 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame^] | 345 | qcom,buck@1100 { |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 346 | status = "ok"; |
| 347 | }; |
| 348 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame^] | 349 | qcom,bat-if@1200 { |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 350 | status = "ok"; |
| 351 | }; |
| 352 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame^] | 353 | qcom,usb-chgpth@1300 { |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 354 | status = "ok"; |
| 355 | }; |
| 356 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame^] | 357 | qcom,dc-chgpth@1400 { |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 358 | status = "ok"; |
| 359 | }; |
| 360 | |
David Keitel | e89d478 | 2013-03-27 11:29:59 -0700 | [diff] [blame^] | 361 | qcom,boost@1500 { |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 362 | status = "ok"; |
| 363 | }; |
| 364 | |
| 365 | qcom,chg-misc@1600 { |
| 366 | status = "ok"; |
| 367 | }; |
| 368 | }; |
| 369 | |
| 370 | &pm8941_gpios { |
| 371 | gpio@c000 { /* GPIO 1 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 372 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 373 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
| 374 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 375 | }; |
| 376 | |
| 377 | gpio@c100 { /* GPIO 2 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 378 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 379 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
| 380 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 381 | }; |
| 382 | |
| 383 | gpio@c200 { /* GPIO 3 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 384 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 385 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 386 | qcom,vin-sel = <2>; |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 387 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
| 388 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 389 | }; |
| 390 | |
| 391 | gpio@c300 { /* GPIO 4 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 392 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 393 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
| 394 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
| 395 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
| 396 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 397 | }; |
| 398 | |
| 399 | gpio@c400 { /* GPIO 5 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 400 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 401 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
| 402 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
| 403 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
| 404 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 405 | }; |
| 406 | |
| 407 | gpio@c500 { /* GPIO 6 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 408 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 409 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
| 410 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 411 | }; |
| 412 | |
| 413 | gpio@c600 { /* GPIO 7 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 414 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 415 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
| 416 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 417 | }; |
| 418 | |
| 419 | gpio@c700 { /* GPIO 8 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 420 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 421 | qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ |
| 422 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 423 | }; |
| 424 | |
| 425 | gpio@c800 { /* GPIO 9 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 426 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 427 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 428 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 429 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 430 | }; |
| 431 | |
| 432 | gpio@c900 { /* GPIO 10 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 433 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 434 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 435 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 436 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 437 | }; |
| 438 | |
| 439 | gpio@ca00 { /* GPIO 11 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 440 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 441 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 442 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 443 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 444 | }; |
| 445 | |
| 446 | gpio@cb00 { /* GPIO 12 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 447 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 448 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 449 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 450 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 451 | }; |
| 452 | |
| 453 | gpio@cc00 { /* GPIO 13 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 454 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 455 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 456 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 457 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 458 | }; |
| 459 | |
| 460 | gpio@cd00 { /* GPIO 14 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 461 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 462 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 463 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 464 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 465 | }; |
| 466 | |
| 467 | gpio@ce00 { /* GPIO 15 */ |
| 468 | qcom,mode = <1>; |
| 469 | qcom,output-type = <0>; |
| 470 | qcom,pull = <5>; |
| 471 | qcom,vin-sel = <2>; |
| 472 | qcom,out-strength = <3>; |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 473 | qcom,src-sel = <2>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 474 | qcom,master-en = <1>; |
| 475 | }; |
| 476 | |
| 477 | gpio@cf00 { /* GPIO 16 */ |
Amy Maloche | 527acc4 | 2012-12-07 18:40:54 -0800 | [diff] [blame] | 478 | qcom,mode = <1>; |
| 479 | qcom,output-type = <0>; |
| 480 | qcom,pull = <5>; |
| 481 | qcom,vin-sel = <2>; |
| 482 | qcom,out-strength = <3>; |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 483 | qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ |
Amy Maloche | 527acc4 | 2012-12-07 18:40:54 -0800 | [diff] [blame] | 484 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 485 | }; |
| 486 | |
| 487 | gpio@d000 { /* GPIO 17 */ |
| 488 | }; |
| 489 | |
| 490 | gpio@d100 { /* GPIO 18 */ |
| 491 | }; |
| 492 | |
| 493 | gpio@d200 { /* GPIO 19 */ |
| 494 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 495 | qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ |
| 496 | qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ |
| 497 | qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 498 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 499 | qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 500 | qcom,master-en = <1>; |
| 501 | }; |
| 502 | |
| 503 | gpio@d300 { /* GPIO 20 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 504 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 505 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 506 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 507 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 508 | }; |
| 509 | |
| 510 | gpio@d400 { /* GPIO 21 */ |
| 511 | }; |
| 512 | |
| 513 | gpio@d500 { /* GPIO 22 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 514 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 515 | qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ |
| 516 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 517 | }; |
| 518 | |
| 519 | gpio@d600 { /* GPIO 23 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 520 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 521 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 522 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 523 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 524 | }; |
| 525 | |
| 526 | gpio@d700 { /* GPIO 24 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 527 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 528 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 529 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 530 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 531 | }; |
| 532 | |
| 533 | gpio@d800 { /* GPIO 25 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 534 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 535 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 536 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 537 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 538 | }; |
| 539 | |
| 540 | gpio@d900 { /* GPIO 26 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 541 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 542 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 543 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
| 544 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 545 | }; |
| 546 | |
| 547 | gpio@da00 { /* GPIO 27 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 548 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 549 | qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ |
| 550 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 551 | }; |
| 552 | |
| 553 | gpio@db00 { /* GPIO 28 */ |
| 554 | }; |
| 555 | |
| 556 | gpio@dc00 { /* GPIO 29 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 557 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 558 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 559 | qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 560 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 561 | }; |
| 562 | |
| 563 | gpio@dd00 { /* GPIO 30 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 564 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 565 | qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ |
| 566 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 567 | }; |
| 568 | |
| 569 | gpio@de00 { /* GPIO 31 */ |
| 570 | }; |
| 571 | |
| 572 | gpio@df00 { /* GPIO 32 */ |
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@e000 { /* GPIO 33 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 579 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 580 | qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ |
| 581 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 582 | }; |
| 583 | |
| 584 | gpio@e100 { /* GPIO 34 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 585 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 586 | qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ |
| 587 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 588 | }; |
| 589 | |
| 590 | gpio@e200 { /* GPIO 35 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 591 | qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ |
| 592 | qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ |
| 593 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 594 | }; |
| 595 | |
| 596 | gpio@e300 { /* GPIO 36 */ |
| 597 | }; |
| 598 | }; |
| 599 | |
| 600 | &pm8941_mpps { |
| 601 | |
| 602 | mpp@a000 { /* MPP 1 */ |
Michael Bohan | bea1f58 | 2013-03-21 17:29:49 -0700 | [diff] [blame] | 603 | status = "disabled"; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 604 | }; |
| 605 | |
| 606 | mpp@a100 { /* MPP 2 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 607 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 608 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 609 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 610 | }; |
| 611 | |
| 612 | mpp@a200 { /* MPP 3 */ |
| 613 | }; |
| 614 | |
| 615 | mpp@a300 { /* MPP 4 */ |
| 616 | }; |
| 617 | |
| 618 | mpp@a400 { /* MPP 5 */ |
| 619 | /* SPI_ETH config */ |
| 620 | qcom,mode = <1>; /* DIG_OUT */ |
| 621 | qcom,output-type = <0>; /* CMOS */ |
| 622 | qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 623 | qcom,src-sel = <0>; /* CONSTANT */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 624 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 625 | qcom,master-en = <1>; /* ENABLE MPP */ |
| 626 | }; |
| 627 | |
| 628 | mpp@a500 { /* MPP 6 */ |
| 629 | /* SPI_ETH_RST config */ |
| 630 | qcom,mode = <1>; /* DIG_OUT */ |
| 631 | qcom,output-type = <0>; /* CMOS */ |
| 632 | qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 633 | qcom,src-sel = <0>; /* CONSTANT */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 634 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 635 | qcom,master-en = <1>; /* ENABLE MPP */ |
| 636 | }; |
| 637 | |
| 638 | mpp@a600 { /* MPP 7 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 639 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 640 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 641 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 642 | }; |
| 643 | |
| 644 | mpp@a700 { /* MPP 8 */ |
Pawan Kumar Nimmagadda | ab3a24c | 2013-04-08 11:33:36 -0700 | [diff] [blame] | 645 | qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ |
| 646 | qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ |
| 647 | qcom,master-en = <1>; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 648 | }; |
| 649 | }; |
| 650 | |
| 651 | &pm8841_mpps { |
| 652 | |
| 653 | mpp@a000 { /* MPP 1 */ |
| 654 | }; |
| 655 | |
| 656 | mpp@a100 { /* MPP 2 */ |
| 657 | }; |
| 658 | |
| 659 | mpp@a200 { /* MPP 3 */ |
| 660 | }; |
| 661 | |
| 662 | mpp@a300 { /* MPP 4 */ |
| 663 | }; |
| 664 | }; |
| 665 | |
| 666 | &slim_msm { |
| 667 | taiko_codec { |
Kiran Kandi | 4041f7f | 2013-02-07 23:17:18 -0800 | [diff] [blame] | 668 | qcom,cdc-micbias1-ext-cap; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 669 | qcom,cdc-micbias2-ext-cap; |
Kiran Kandi | 4041f7f | 2013-02-07 23:17:18 -0800 | [diff] [blame] | 670 | qcom,cdc-micbias4-ext-cap; |
Stepan Moskovchenko | 7731cd1 | 2012-10-23 14:44:15 -0700 | [diff] [blame] | 671 | }; |
| 672 | }; |
Siddartha Mohanadoss | e9f24de | 2012-11-02 17:13:18 -0700 | [diff] [blame] | 673 | |
| 674 | &spi_epm { |
| 675 | epm-adc@0 { |
| 676 | compatible = "cy,epm-adc-cy8c5568lti-114"; |
| 677 | reg = <0>; |
| 678 | interrupt-parent = <&msmgpio>; |
| 679 | spi-max-frequency = <960000>; |
| 680 | qcom,channels = <31>; |
| 681 | qcom,gain = <100 100 100 50 100 100 1 100 1 50 |
| 682 | 1 100 1 100 50 50 50 50 50 50 |
| 683 | 100 50 100 50 50 50 50 50 50 50 |
| 684 | 50>; |
| 685 | qcom,rsense = <2 2 2 200 20 2 1 2 1 30 |
| 686 | 1 10 1 30 50 30 500 30 100 30 |
| 687 | 100 500 20 200 1000 20 1000 1000 70 200 |
| 688 | 50>; |
| 689 | qcom,channel-type = <0x1540>; |
| 690 | }; |
| 691 | }; |