Maria Yu | ab4a1fb | 2013-09-26 17:00:42 +0800 | [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 | |
| 13 | /dts-v1/; |
| 14 | |
| 15 | /include/ "msm8610-v2.dtsi" |
| 16 | /include/ "msm8610-qrd-skuab.dtsi" |
| 17 | /include/ "msm8612-qrd-camera-sensor.dtsi" |
| 18 | |
| 19 | / { |
| 20 | model = "Qualcomm MSM 8610v2 QRD SKUAB DVT2"; |
| 21 | compatible = "qcom,msm8610-qrd", "qcom,msm8610", "qcom,qrd"; |
| 22 | qcom,board-id = <0x2000b 3>; |
| 23 | }; |
Xu Kai | 64fa028 | 2013-10-18 10:47:47 +0800 | [diff] [blame] | 24 | |
| 25 | &soc { |
| 26 | gpio-leds { |
| 27 | status = "ok"; |
| 28 | }; |
| 29 | }; |
| 30 | |
| 31 | &pm8110_gpios { |
| 32 | gpio@c000 { /* GPIO 1 */ |
| 33 | reg = <0xc000 0x100>; |
| 34 | qcom,pin-num = <1>; |
| 35 | }; |
| 36 | }; |
Xu Kai | 9421565 | 2013-10-21 11:00:46 +0800 | [diff] [blame] | 37 | |
| 38 | &led_flash0 { |
| 39 | status = "ok"; |
| 40 | }; |
| 41 | |
| 42 | &i2c { |
| 43 | qcom,camera@20 { |
| 44 | qcom,led-flash-src = <&led_flash0>; |
| 45 | }; |
| 46 | }; |
shuoy | 44dc852 | 2013-09-26 17:33:58 +0800 | [diff] [blame] | 47 | |
| 48 | &mdss_mdp { |
| 49 | qcom,mdss-pref-prim-intf = "dsi"; |
| 50 | }; |
| 51 | |
| 52 | &mdss_dsi0 { |
| 53 | qcom,dsi-pref-prim-pan = <&dsi_hx8389b_qhd_vid>; |
| 54 | }; |
| 55 | |
| 56 | &dsi_hx8389b_qhd_vid { |
| 57 | qcom,cont-splash-enabled; |
| 58 | }; |
Xu Kai | c5808da | 2013-11-12 15:49:37 +0800 | [diff] [blame] | 59 | |
Bingzhe Cai | 1f6ac08 | 2013-11-01 15:11:50 +0800 | [diff] [blame] | 60 | &soc { |
| 61 | i2c@f9925000 { |
| 62 | fsl@1c { |
| 63 | fsl,sensors-position = <7>; |
| 64 | }; |
| 65 | }; |
Xu Kai | c5808da | 2013-11-12 15:49:37 +0800 | [diff] [blame] | 66 | }; |
| 67 | |
| 68 | &qrd_batterydata { |
| 69 | qcom,rpull-up-kohm = <100>; |
| 70 | qcom,vref-batt-therm = <1800000>; |
| 71 | |
| 72 | /include/ "batterydata-qrd-4v2-2200mah.dtsi" |
| 73 | }; |
| 74 | |
| 75 | &pm8110_bms { |
| 76 | qcom,battery-data = <&qrd_batterydata>; |
| 77 | }; |
| 78 | |
| 79 | &pm8110_chg { |
| 80 | qcom,battery-data = <&qrd_batterydata>; |
| 81 | }; |