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