Hanumant Singh | ce22223 | 2013-03-19 14:19:59 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2013, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 13 | &soc { |
David Ng | 1ecb8a1 | 2013-04-22 14:39:52 -0700 | [diff] [blame] | 14 | serial@f991e000 { |
Hanumant Singh | ce22223 | 2013-03-19 14:19:59 -0700 | [diff] [blame] | 15 | status = "ok"; |
| 16 | }; |
Chun Zhang | f39a065 | 2013-05-01 15:57:54 -0700 | [diff] [blame] | 17 | |
| 18 | i2c@f9923000{ |
| 19 | atmel_mxt_ts@4a { |
| 20 | compatible = "atmel,mxt-ts"; |
| 21 | reg = <0x4a>; |
| 22 | interrupt-parent = <&msmgpio>; |
| 23 | interrupts = <1 0x2>; |
| 24 | vdd_ana-supply = <&pm8110_l19>; |
| 25 | vcc_i2c-supply = <&pm8110_l14>; |
| 26 | atmel,reset-gpio = <&msmgpio 0 0x00>; |
| 27 | atmel,irq-gpio = <&msmgpio 1 0x00>; |
| 28 | atmel,panel-coords = <0 0 508 880>; |
| 29 | atmel,display-coords = <0 0 480 800>; |
| 30 | atmel,i2c-pull-up; |
| 31 | atmel,no-force-update; |
Mohan Pallaka | dcda1c7 | 2013-07-09 16:41:06 +0530 | [diff] [blame] | 32 | atmel,no-lpm-support; |
Chun Zhang | f39a065 | 2013-05-01 15:57:54 -0700 | [diff] [blame] | 33 | atmel,cfg_1 { |
| 34 | atmel,family-id = <0x81>; |
| 35 | atmel,variant-id = <0x15>; |
| 36 | atmel,version = <0x11>; |
| 37 | atmel,build = <0xaa>; |
| 38 | atmel,config = [ |
| 39 | /* Object 6, Instance = 0 */ |
| 40 | 00 00 00 00 00 00 |
| 41 | /* Object 38, Instance = 0 */ |
Sarada Prasanna Garnayak | 03853f5 | 2013-07-30 13:44:40 +0530 | [diff] [blame] | 42 | 1D 03 00 1E 07 0D 00 00 |
Chun Zhang | f39a065 | 2013-05-01 15:57:54 -0700 | [diff] [blame] | 43 | /* Object 7, Instance = 0 */ |
| 44 | 20 08 32 |
| 45 | /* Object 8, Instance = 0 */ |
| 46 | 19 00 14 14 FF 00 FF 00 00 00 |
| 47 | /* Object 9, Instance = 0 */ |
| 48 | 83 00 00 13 0B 00 20 32 01 03 |
| 49 | 00 32 05 30 0A 05 0A 00 70 03 |
Sarada Prasanna Garnayak | 03853f5 | 2013-07-30 13:44:40 +0530 | [diff] [blame] | 50 | FC 01 04 2F F8 DC 00 00 40 00 |
Chun Zhang | f39a065 | 2013-05-01 15:57:54 -0700 | [diff] [blame] | 51 | 00 0A 00 00 02 |
| 52 | /* Object 18, Instance = 0 */ |
| 53 | 00 00 |
| 54 | /* Object 19, Instance = 0 */ |
| 55 | 00 00 00 00 00 00 |
| 56 | /* Object 25, Instance = 0 */ |
| 57 | 03 00 18 79 A8 61 |
| 58 | /* Object 58, Instance = 0 */ |
| 59 | 00 00 00 00 00 00 00 00 00 00 |
| 60 | 00 |
| 61 | /* Object 42, Instance = 0 */ |
| 62 | 00 00 00 00 00 00 00 00 |
| 63 | /* Object 46, Instance = 0 */ |
| 64 | 04 03 08 10 00 00 00 00 00 |
| 65 | /* Object 47, Instance = 0 */ |
| 66 | 00 00 00 00 00 00 00 00 00 00 |
| 67 | /* Object 48, Instance = 0 */ |
| 68 | 00 00 00 00 00 00 00 00 00 00 |
| 69 | 00 00 00 00 00 00 00 00 00 00 |
| 70 | 00 00 00 00 00 00 00 00 00 00 |
| 71 | 00 00 00 00 00 00 00 00 00 00 |
| 72 | 00 00 00 00 00 00 00 00 00 00 |
| 73 | 00 00 00 00 |
| 74 | /* Object 55, Instance = 0 */ |
| 75 | 00 00 00 00 |
| 76 | ]; |
| 77 | }; |
| 78 | }; |
| 79 | }; |
Chun Zhang | a9508d8 | 2013-05-08 13:33:55 -0700 | [diff] [blame] | 80 | |
Xiaocheng Li | 4d83268 | 2013-06-30 17:17:22 -0700 | [diff] [blame] | 81 | i2c@f9925000 { |
| 82 | mpu3050@68 { |
| 83 | #address-cells = <1>; |
| 84 | #size-cells = <0>; |
| 85 | status = "okay"; |
| 86 | reg = <0x68>; |
| 87 | compatible = "invn,mpu3050"; |
| 88 | interrupt-parent = <&msmgpio>; |
| 89 | interrupts = <84 0x2>; |
| 90 | vlogic-supply = <&pm8110_l14>; |
| 91 | vdd-supply = <&pm8110_l19>; |
| 92 | invn,gpio-int = <&msmgpio 84 0x2>; |
| 93 | invn,gpio-en = <&pm8110_gpios 2 0x2>; |
| 94 | invn,poll-interval = <200>; |
| 95 | }; |
Xiaocheng Li | 6a95478 | 2013-06-30 18:31:33 -0700 | [diff] [blame] | 96 | |
| 97 | bmp180@77 { |
| 98 | reg = <0x77>; |
| 99 | compatible = "bosch,bmp18x"; |
| 100 | vdd-supply = <&pm8110_l19>; |
| 101 | vddio-supply = <&pm8110_l14>; |
| 102 | bosch,chip-id = <0x55>; |
| 103 | bosch,oversample = <3>; |
| 104 | bosch,period = <1000>; |
| 105 | }; |
Xiaocheng Li | 3fe43b3 | 2013-06-30 22:58:18 -0700 | [diff] [blame] | 106 | |
| 107 | mma8x5x@1d { |
| 108 | reg = <0x1d>; |
| 109 | compatible = "fsl,mma8x5x"; |
| 110 | interrupt-parent = <&msmgpio>; |
| 111 | interrupts = <81 0x2>; |
| 112 | vdd-supply = <&pm8110_l19>; |
| 113 | vio-supply = <&pm8110_l14>; |
| 114 | fsl,irq-gpio = <&msmgpio 81 0x00>; |
| 115 | fsl,sensors-position = <5>; |
| 116 | }; |
Oliver Wang | e7878c1 | 2013-08-15 14:45:17 +0800 | [diff] [blame] | 117 | capella@60 { |
| 118 | compatible = "capella,cm36283"; |
| 119 | reg = <0x60>; |
| 120 | interrupt-parent = <&msmgpio>; |
| 121 | interrupts = <80 0x2>; |
| 122 | vdd-supply = <&pm8110_l19>; |
| 123 | vio-supply = <&pm8110_l14>; |
| 124 | capella,use-polling; |
| 125 | capella,interrupt-gpio = <&msmgpio 80 0x2>; |
| 126 | capella,levels = <0x0A 0xA0 0xE1 0x140 0x280 0x500 0xA28 0x16A8 0x1F40 |
| 127 | 0x2800>; |
| 128 | capella,ps_close_thd_set = <0xa>; |
| 129 | capella,ps_away_thd_set = <0x5>; |
| 130 | capella,ls_cmd = <0x44>; /* PS_IT=160ms, INT_PERS=2*/ |
| 131 | capella,ps_conf1_val = <0x0006>; |
| 132 | capella,ps_conf3_val = <0x3010>; |
| 133 | }; |
Xiaocheng Li | 4d83268 | 2013-06-30 17:17:22 -0700 | [diff] [blame] | 134 | }; |
| 135 | |
Chun Zhang | a9508d8 | 2013-05-08 13:33:55 -0700 | [diff] [blame] | 136 | gen-vkeys { |
| 137 | compatible = "qcom,gen-vkeys"; |
| 138 | label = "atmel_mxt_ts"; |
| 139 | qcom,disp-maxx = <480>; |
| 140 | qcom,disp-maxy = <800>; |
| 141 | qcom,panel-maxx = <508>; |
| 142 | qcom,panel-maxy = <880>; |
| 143 | qcom,key-codes = <158 102 139>; |
| 144 | qcom,y-offset = <35>; |
| 145 | }; |
Chun Zhang | 59621fc | 2013-05-08 13:48:31 -0700 | [diff] [blame] | 146 | |
| 147 | gpio_keys { |
| 148 | compatible = "gpio-keys"; |
| 149 | input-name = "gpio-keys"; |
| 150 | |
| 151 | camera_snapshot { |
| 152 | label = "camera_snapshot"; |
| 153 | gpios = <&msmgpio 73 0x1>; |
| 154 | linux,input-type = <1>; |
| 155 | linux,code = <0x2fe>; |
| 156 | gpio-key,wakeup; |
| 157 | debounce-interval = <15>; |
| 158 | }; |
| 159 | |
| 160 | camera_focus { |
| 161 | label = "camera_focus"; |
| 162 | gpios = <&msmgpio 74 0x1>; |
| 163 | linux,input-type = <1>; |
| 164 | linux,code = <0x210>; |
| 165 | gpio-key,wakeup; |
| 166 | debounce-interval = <15>; |
| 167 | }; |
| 168 | |
| 169 | vol_up { |
| 170 | label = "volume_up"; |
| 171 | gpios = <&msmgpio 72 0x1>; |
| 172 | linux,input-type = <1>; |
| 173 | linux,code = <115>; |
| 174 | gpio-key,wakeup; |
| 175 | debounce-interval = <15>; |
| 176 | }; |
| 177 | }; |
quic_yandongy | d6d0bf2 | 2013-05-16 22:13:11 +0800 | [diff] [blame] | 178 | |
| 179 | sound { |
| 180 | qcom,audio-routing = |
| 181 | "RX_BIAS", "MCLK", |
| 182 | "INT_LDO_H", "MCLK", |
| 183 | "MIC BIAS External", "Handset Mic", |
| 184 | "MIC BIAS Internal2", "Headset Mic", |
Kuirong Wang | 4234a66 | 2013-08-30 10:53:10 -0700 | [diff] [blame] | 185 | "MIC BIAS External", "Secondary Mic", |
quic_yandongy | d6d0bf2 | 2013-05-16 22:13:11 +0800 | [diff] [blame] | 186 | "AMIC1", "MIC BIAS External", |
Kuirong Wang | 4234a66 | 2013-08-30 10:53:10 -0700 | [diff] [blame] | 187 | "AMIC2", "MIC BIAS Internal2", |
| 188 | "AMIC3", "MIC BIAS External"; |
quic_yandongy | d6d0bf2 | 2013-05-16 22:13:11 +0800 | [diff] [blame] | 189 | }; |
Hanumant Singh | ce22223 | 2013-03-19 14:19:59 -0700 | [diff] [blame] | 190 | }; |
| 191 | |
Kuirong Wang | c6d072c | 2013-01-29 10:33:03 -0800 | [diff] [blame] | 192 | &i2c_cdc { |
| 193 | msm8x10_wcd_codec@0d{ |
| 194 | compatible = "qcom,msm8x10-wcd-i2c"; |
| 195 | reg = <0x0d>; |
Bhalchandra Gajare | 8d1f1b8 | 2013-07-11 16:37:19 -0700 | [diff] [blame] | 196 | |
| 197 | interrupt-parent = <&wcd9xxx_intc>; |
| 198 | interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
| 199 | 17 18 19 20 21 22 23>; |
| 200 | |
Kuirong Wang | c6d072c | 2013-01-29 10:33:03 -0800 | [diff] [blame] | 201 | cdc-vdda-cp-supply = <&pm8110_s4>; |
Kuirong Wang | 237eca7 | 2013-05-22 16:53:32 -0700 | [diff] [blame] | 202 | qcom,cdc-vdda-cp-voltage = <1800000 2150000>; |
Kuirong Wang | c6d072c | 2013-01-29 10:33:03 -0800 | [diff] [blame] | 203 | qcom,cdc-vdda-cp-current = <650000>; |
| 204 | |
| 205 | cdc-vdda-h-supply = <&pm8110_l6>; |
| 206 | qcom,cdc-vdda-h-voltage = <1800000 1800000>; |
Walter Yang | 83b6387 | 2013-07-08 11:48:40 +0800 | [diff] [blame] | 207 | qcom,cdc-vdda-h-current = <25000>; |
Kuirong Wang | c6d072c | 2013-01-29 10:33:03 -0800 | [diff] [blame] | 208 | |
| 209 | cdc-vdd-px-supply = <&pm8110_l6>; |
| 210 | qcom,cdc-vdd-px-voltage = <1800000 1800000>; |
| 211 | qcom,cdc-vdd-px-current = <10000>; |
| 212 | |
| 213 | cdc-vdd-1p2v-supply = <&pm8110_l4>; |
| 214 | qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; |
| 215 | qcom,cdc-vdd-1p2v-current = <5000>; |
| 216 | |
| 217 | cdc-vdd-mic-bias-supply = <&pm8110_l20>; |
| 218 | qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; |
| 219 | qcom,cdc-vdd-mic-bias-current = <25000>; |
| 220 | |
| 221 | qcom,cdc-micbias-cfilt-sel = <0x0>; |
| 222 | qcom,cdc-micbias-cfilt-mv = <1800000>; |
| 223 | qcom,cdc-mclk-clk-rate = <12288000>; |
Kuirong Wang | 237eca7 | 2013-05-22 16:53:32 -0700 | [diff] [blame] | 224 | |
| 225 | qcom,cdc-static-supplies = "cdc-vdda-h", |
| 226 | "cdc-vdd-px", |
| 227 | "cdc-vdd-1p2v"; |
| 228 | |
| 229 | qcom,cdc-on-demand-supplies = "cdc-vdda-cp", |
| 230 | "cdc-vdd-mic-bias"; |
Bhalchandra Gajare | 31930f8 | 2013-09-19 17:52:02 -0700 | [diff] [blame] | 231 | qcom,cdc-micbias1-ext-cap; |
Kuirong Wang | c6d072c | 2013-01-29 10:33:03 -0800 | [diff] [blame] | 232 | }; |
| 233 | |
| 234 | msm8x10_wcd_codec@77{ |
| 235 | compatible = "qcom,msm8x10-wcd-i2c"; |
| 236 | reg = <0x77>; |
| 237 | }; |
| 238 | |
| 239 | msm8x10_wcd_codec@66{ |
| 240 | compatible = "qcom,msm8x10-wcd-i2c"; |
| 241 | reg = <0x66>; |
| 242 | }; |
| 243 | |
| 244 | msm8x10_wcd_codec@55{ |
| 245 | compatible = "qcom,msm8x10-wcd-i2c"; |
| 246 | reg = <0x55>; |
| 247 | }; |
| 248 | }; |
| 249 | |
Amy Maloche | 9a113c1 | 2013-04-11 19:46:20 -0700 | [diff] [blame] | 250 | &spmi_bus { |
| 251 | qcom,pm8110@0 { |
Chun Zhang | 9e808b8 | 2013-04-18 15:38:18 -0700 | [diff] [blame] | 252 | qcom,leds@a100 { |
| 253 | status = "okay"; |
| 254 | qcom,led_mpp_2 { |
| 255 | label = "mpp"; |
| 256 | linux,name = "button-backlight"; |
| 257 | linux-default-trigger = "hr-trigger"; |
| 258 | qcom,default-state = "off"; |
| 259 | qcom,max-current = <40>; |
| 260 | qcom,id = <6>; |
| 261 | qcom,source-sel = <1>; |
| 262 | qcom,mode-ctrl = <0x60>; |
Amy Maloche | 33b4238 | 2013-05-29 16:13:51 -0700 | [diff] [blame] | 263 | qcom,mode = "manual"; |
Chun Zhang | 9e808b8 | 2013-04-18 15:38:18 -0700 | [diff] [blame] | 264 | }; |
| 265 | }; |
| 266 | |
Amy Maloche | 9a113c1 | 2013-04-11 19:46:20 -0700 | [diff] [blame] | 267 | qcom,leds@a200 { |
| 268 | status = "okay"; |
| 269 | qcom,led_mpp_3 { |
| 270 | label = "mpp"; |
| 271 | linux,name = "wled-backlight"; |
Chun Zhang | 970bf5d | 2013-04-23 13:58:25 -0700 | [diff] [blame] | 272 | linux,default-trigger = "bkl-trigger"; |
Amy Maloche | 9a113c1 | 2013-04-11 19:46:20 -0700 | [diff] [blame] | 273 | qcom,default-state = "on"; |
| 274 | qcom,max-current = <40>; |
| 275 | qcom,id = <6>; |
Chun Zhang | 578e415 | 2013-07-08 17:19:15 -0700 | [diff] [blame] | 276 | qcom,source-sel = <8>; |
Amy Maloche | 9a113c1 | 2013-04-11 19:46:20 -0700 | [diff] [blame] | 277 | qcom,mode-ctrl = <0x10>; |
Chun Zhang | 578e415 | 2013-07-08 17:19:15 -0700 | [diff] [blame] | 278 | qcom,pwm-channel = <0>; |
Prasad Sodagudi | 1a6430c | 2013-08-15 21:09:52 +0530 | [diff] [blame] | 279 | qcom,pwm-us = <27>; |
Chun Zhang | 578e415 | 2013-07-08 17:19:15 -0700 | [diff] [blame] | 280 | qcom,vin-ctrl = <0x03>; |
| 281 | qcom,mode = "pwm"; |
Amy Maloche | 9a113c1 | 2013-04-11 19:46:20 -0700 | [diff] [blame] | 282 | }; |
| 283 | }; |
| 284 | }; |
| 285 | }; |
| 286 | |
Linux Build Service Account | c9771c6 | 2013-05-02 14:18:17 -0700 | [diff] [blame] | 287 | &spmi_bus { |
Chun Zhang | 3450f83 | 2013-04-15 11:46:29 -0700 | [diff] [blame] | 288 | qcom,pm8110@1 { |
| 289 | qcom,vibrator@c000 { |
| 290 | status = "okay"; |
| 291 | qcom,vib-timeout-ms = <15000>; |
| 292 | qcom,vib-vtg-level-mV = <3100>; |
| 293 | }; |
| 294 | }; |
| 295 | }; |
| 296 | |
Venkat Gopalakrishnan | a6ce5f2 | 2013-04-04 14:24:57 -0700 | [diff] [blame] | 297 | &sdhc_1 { |
| 298 | vdd-supply = <&pm8110_l17>; |
Venkat Gopalakrishnan | a6ce5f2 | 2013-04-04 14:24:57 -0700 | [diff] [blame] | 299 | qcom,vdd-voltage-level = <2900000 2900000>; |
| 300 | qcom,vdd-current-level = <200 400000>; |
| 301 | |
| 302 | vdd-io-supply = <&pm8110_l6>; |
| 303 | qcom,vdd-io-always-on; |
Venkat Gopalakrishnan | 7636d14 | 2013-05-17 12:34:45 -0700 | [diff] [blame] | 304 | qcom,vdd-io-lpm-sup; |
Venkat Gopalakrishnan | a6ce5f2 | 2013-04-04 14:24:57 -0700 | [diff] [blame] | 305 | qcom,vdd-io-voltage-level = <1800000 1800000>; |
| 306 | qcom,vdd-io-current-level = <200 60000>; |
| 307 | |
| 308 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 309 | qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 310 | qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ |
| 311 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
| 312 | |
| 313 | qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; |
| 314 | qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; |
| 315 | qcom,nonremovable; |
| 316 | |
Venkat Gopalakrishnan | 587b225 | 2013-04-05 12:16:50 -0700 | [diff] [blame] | 317 | status = "ok"; |
Venkat Gopalakrishnan | a6ce5f2 | 2013-04-04 14:24:57 -0700 | [diff] [blame] | 318 | }; |
| 319 | |
| 320 | &sdhc_2 { |
| 321 | vdd-supply = <&pm8110_l18>; |
| 322 | qcom,vdd-voltage-level = <2950000 2950000>; |
| 323 | qcom,vdd-current-level = <15000 400000>; |
| 324 | |
| 325 | vdd-io-supply = <&pm8110_l21>; |
Venkat Gopalakrishnan | a6ce5f2 | 2013-04-04 14:24:57 -0700 | [diff] [blame] | 326 | qcom,vdd-io-voltage-level = <1800000 2950000>; |
| 327 | qcom,vdd-io-current-level = <200 50000>; |
| 328 | |
| 329 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 330 | qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 331 | qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ |
| 332 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
| 333 | |
| 334 | qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; |
| 335 | |
| 336 | #address-cells = <0>; |
| 337 | interrupt-parent = <&sdhc_2>; |
| 338 | interrupts = <0 1 2>; |
| 339 | #interrupt-cells = <1>; |
| 340 | interrupt-map-mask = <0xffffffff>; |
| 341 | interrupt-map = <0 &intc 0 125 0 |
| 342 | 1 &intc 0 221 0 |
| 343 | 2 &msmgpio 42 0x3>; |
| 344 | interrupt-names = "hc_irq", "pwr_irq", "status_irq"; |
| 345 | cd-gpios = <&msmgpio 42 0x1>; |
| 346 | |
Venkat Gopalakrishnan | 587b225 | 2013-04-05 12:16:50 -0700 | [diff] [blame] | 347 | status = "ok"; |
Venkat Gopalakrishnan | a6ce5f2 | 2013-04-04 14:24:57 -0700 | [diff] [blame] | 348 | }; |
Xiaozhe Shi | f7d9daf | 2013-04-08 15:29:55 -0700 | [diff] [blame] | 349 | |
| 350 | &pm8110_chg { |
| 351 | status = "ok"; |
Xiaozhe Shi | 8bc042a | 2013-04-18 15:44:08 -0700 | [diff] [blame] | 352 | qcom,charging-disabled; |
Xiaozhe Shi | f7d9daf | 2013-04-08 15:29:55 -0700 | [diff] [blame] | 353 | |
Xiaozhe Shi | 8bc042a | 2013-04-18 15:44:08 -0700 | [diff] [blame] | 354 | qcom,chgr@1000 { |
Xiaozhe Shi | f7d9daf | 2013-04-08 15:29:55 -0700 | [diff] [blame] | 355 | status = "ok"; |
| 356 | }; |
| 357 | |
Xiaozhe Shi | 8bc042a | 2013-04-18 15:44:08 -0700 | [diff] [blame] | 358 | qcom,buck@1100 { |
Xiaozhe Shi | f7d9daf | 2013-04-08 15:29:55 -0700 | [diff] [blame] | 359 | status = "ok"; |
| 360 | }; |
| 361 | |
Xiaozhe Shi | 8bc042a | 2013-04-18 15:44:08 -0700 | [diff] [blame] | 362 | qcom,bat-if@1200 { |
Xiaozhe Shi | f7d9daf | 2013-04-08 15:29:55 -0700 | [diff] [blame] | 363 | status = "ok"; |
| 364 | }; |
| 365 | |
Xiaozhe Shi | 8bc042a | 2013-04-18 15:44:08 -0700 | [diff] [blame] | 366 | qcom,usb-chgpth@1300 { |
Xiaozhe Shi | f7d9daf | 2013-04-08 15:29:55 -0700 | [diff] [blame] | 367 | status = "ok"; |
| 368 | }; |
| 369 | |
| 370 | qcom,chg-misc@1600 { |
| 371 | status = "ok"; |
| 372 | }; |
| 373 | }; |
Xiaozhe Shi | 3e3c569 | 2013-04-24 10:36:32 -0700 | [diff] [blame] | 374 | |
| 375 | &pm8110_gpios { |
| 376 | gpio@c000 { /* GPIO 1 */ |
| 377 | }; |
| 378 | |
| 379 | gpio@c100 { /* GPIO 2 */ |
| 380 | }; |
| 381 | |
| 382 | gpio@c200 { /* GPIO 3 */ |
| 383 | }; |
| 384 | |
| 385 | gpio@c300 { /* GPIO 4 */ |
| 386 | }; |
| 387 | }; |
| 388 | |
| 389 | &pm8110_mpps { |
| 390 | mpp@a000 { /* MPP 1 */ |
| 391 | }; |
| 392 | |
| 393 | mpp@a100 { /* MPP 2 */ |
Chun Zhang | d0c63be | 2013-04-26 10:45:02 -0700 | [diff] [blame] | 394 | status = "disabled"; |
Xiaozhe Shi | 3e3c569 | 2013-04-24 10:36:32 -0700 | [diff] [blame] | 395 | }; |
| 396 | |
| 397 | mpp@a200 { /* MPP 3 */ |
Chun Zhang | d0c63be | 2013-04-26 10:45:02 -0700 | [diff] [blame] | 398 | status = "disabled"; |
Xiaozhe Shi | 3e3c569 | 2013-04-24 10:36:32 -0700 | [diff] [blame] | 399 | }; |
| 400 | |
| 401 | mpp@a300 { /* MPP 4 */ |
Siddartha Mohanadoss | 6ef3456 | 2013-05-31 17:54:23 -0700 | [diff] [blame] | 402 | /* PA_THERM config */ |
| 403 | qcom,mode = <4>; /* AIN input */ |
| 404 | qcom,invert = <1>; /* Enable MPP */ |
| 405 | qcom,ain-route = <3>; /* AMUX 8 */ |
| 406 | qcom,master-en = <1>; |
| 407 | qcom,src-sel = <0>; /* Function constant */ |
Xiaozhe Shi | 3e3c569 | 2013-04-24 10:36:32 -0700 | [diff] [blame] | 408 | }; |
| 409 | }; |
Xiaozhe Shi | 294c7e2 | 2013-04-17 14:59:15 -0700 | [diff] [blame] | 410 | |
Xiaozhe Shi | 98f08f3 | 2013-06-19 12:02:13 -0700 | [diff] [blame^] | 411 | / { |
| 412 | mtp_batterydata: qcom,battery-data { |
| 413 | qcom,rpull-up-kohm = <100>; |
| 414 | qcom,vref-batt-therm = <1800000>; |
| 415 | |
| 416 | /include/ "batterydata-palladium.dtsi" |
| 417 | /include/ "batterydata-mtp-3000mah.dtsi" |
| 418 | }; |
| 419 | }; |
| 420 | |
Xiaozhe Shi | 294c7e2 | 2013-04-17 14:59:15 -0700 | [diff] [blame] | 421 | &pm8110_bms { |
| 422 | status = "ok"; |
Xiaozhe Shi | 98f08f3 | 2013-06-19 12:02:13 -0700 | [diff] [blame^] | 423 | qcom,battery-data = <&mtp_batterydata>; |
| 424 | }; |
| 425 | |
| 426 | &pm8110_chg { |
| 427 | qcom,battery-data = <&mtp_batterydata>; |
Xiaozhe Shi | 294c7e2 | 2013-04-17 14:59:15 -0700 | [diff] [blame] | 428 | }; |
Dhaval Patel | 0f595bd | 2013-08-30 17:05:53 -0700 | [diff] [blame] | 429 | |
| 430 | &mdss_mdp { |
| 431 | qcom,mdss-pref-prim-intf = "dsi"; |
| 432 | }; |
| 433 | |
| 434 | &mdss_dsi0 { |
| 435 | qcom,dsi-pref-prim-pan = <&dsi_truly_wvga_vid>; |
| 436 | }; |
| 437 | |
| 438 | &dsi_truly_wvga_vid { |
| 439 | qcom,cont-splash-enabled; |
| 440 | }; |
| 441 | |
| 442 | &dsi_truly_wvga_cmd { |
| 443 | qcom,cont-splash-enabled; |
| 444 | }; |