blob: 15545754449409ddc79261df160cd61a2ab2769c [file] [log] [blame]
Xiaocheng Li8580d8f2013-08-23 12:55:21 +08001/* 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/include/ "msm8610-qrd.dtsi"
14
15&soc {
Xu Kai64fa0282013-10-18 10:47:47 +080016 gpio-leds {
17 compatible = "gpio-leds";
18 status = "disabled";
19
20 gpio_flash: gpio-flash {
21 gpios = <&pm8110_gpios 1 0>;
22 label = "gpio-flash";
23 linux,default-trigger = "gpio_flash_trigger";
24 };
25 };
Xiaocheng Li8580d8f2013-08-23 12:55:21 +080026 sound {
27 qcom,model = "msm8x10-skuab-snd-card";
28
29 qcom,audio-routing =
30 "RX_BIAS", "MCLK",
31 "INT_LDO_H", "MCLK",
32 "Lineout amp", "LINEOUT",
33 "MIC BIAS Internal1", "Handset Mic",
34 "MIC BIAS Internal2", "Headset Mic",
35 "AMIC1", "MIC BIAS Internal1",
36 "AMIC2", "MIC BIAS Internal2";
37
38 qcom,ext-spk-amp-gpio = <&msmgpio 92 0x0>;
39 };
40 i2c@f9923000{
41 focaltech@38{
42 compatible = "focaltech,5x06";
43 reg = <0x38>;
44 interrupt-parent = <&msmgpio>;
45 interrupts = <1 0x2>;
46 vdd-supply = <&pm8110_l19>;
47 vcc_i2c-supply = <&pm8110_l14>;
48 focaltech,family-id = <0x06>;
49 focaltech,reset-gpio = <&msmgpio 0 0x00>;
50 focaltech,irq-gpio = <&msmgpio 1 0x00>;
51 focaltech,display-coords = <0 0 480 854>;
52 focaltech,panel-coords = <0 0 480 946>;
53 focaltech,button-map= <139 102 158>;
54 focaltech,no-force-update;
55 focaltech,i2c-pull-up;
56 };
Bingzhe Caiedae8cc2013-09-25 18:18:32 +080057 goodix@5d {
58 compatible = "goodix,gt9xx";
59 reg = <0x5d>;
60 interrupt-parent = <&msmgpio>;
61 interrupts = <1 0x2008>;
62 reset-gpios = <&msmgpio 0 0x00>;
63 interrupt-gpios = <&msmgpio 1 0x00>;
64 vdd-supply = <&pm8110_l19>;
Bingzhe Caic3f252d2013-10-17 14:51:40 +080065 vcc-i2c-supply = <&pm8110_l14>;
Bingzhe Caiedae8cc2013-09-25 18:18:32 +080066 goodix,panel-coords = <0 0 540 980>;
67 goodix,display-coords = <0 0 540 960>;
Shantanu Jain7ee98722014-01-02 19:29:52 +053068 goodix,button-map= <139 172 158>;
Bingzhe Caic3f252d2013-10-17 14:51:40 +080069 goodix,product-id = "915";
Bingzhe Caifc593072013-11-01 17:16:23 +080070 goodix,enable-power-off;
Bingzhe Caiedae8cc2013-09-25 18:18:32 +080071 goodix,cfg-data0 = [
72 46 1C 02 C0 03 0A 05 11 01 08
73 14 3B 46 32 03 05 00 00 00 00
74 00 00 00 00 00 00 00 8A 09 0B
75 39 00 99 0A 00 00 02 83 03 1D
76 00 08 00 00 00 00 00 00 00 00
77 00 1D 73 94 C5 02 07 00 00 04
78 78 21 00 5C 2C 00 48 3A 00 3A
79 4C 00 2F 65 00 30 10 30 50 00
80 56 45 35 FF FF 17 00 00 00 00
81 00 01 1C 15 0C 14 5F 03 02 00
82 00 00 00 00 00 00 00 00 00 00
83 00 00 16 14 12 10 0E 0C 0A 08
84 06 04 02 FF FF FF 00 00 00 00
85 00 00 00 00 00 00 00 00 00 00
86 00 00 22 21 20 1F 1E 1D 1C 18
87 16 12 10 0F 0C 0A 08 06 04 02
88 00 FF FF FF FF FF FF FF 00 00
89 00 FF FF FF FF FF FF FF FF FF
90 F8 FF FF FF E4 01];
Shantanu Jain76c037f2014-02-06 17:43:04 +053091 goodix,have-touch-key;
92 goodix,driver-send-cfg;
Bingzhe Caiedae8cc2013-09-25 18:18:32 +080093 };
Xiaocheng Li8580d8f2013-08-23 12:55:21 +080094 };
95 gen-vkeys {
96 compatible = "qcom,gen-vkeys";
97 label = "ft5x06_ts";
98 qcom,disp-maxx = <480>;
99 qcom,disp-maxy = <854>;
100 qcom,panel-maxx = <481>;
101 qcom,panel-maxy = <946>;
102 qcom,key-codes = <139 102 158>;
103 qcom,y-offset = <0>;
104 };
Bingzhe Caiedae8cc2013-09-25 18:18:32 +0800105
Houston Hoffman23ceb212013-12-12 23:12:41 -0800106 i2c@f9924000 { /* BLSP-1 QUP-2 */
107 nfc-nci@e {
108 compatible = "qcom,nfc-nci";
109 reg = <0x0e>;
110 qcom,irq-gpio = <&msmgpio 77 0x00>;
111 qcom,dis-gpio = <&msmgpio 93 0x00>;
112 qcom,clk-en-gpio = <&msmgpio 78 0x00>;
113 qcom,clk-src = "GPCLK2";
114 interrupt-parent = <&msmgpio>;
115 interrupts = <77 0>;
116 qcom,clk-gpio = <&msmgpio 75 0x00>;
117 };
118 };
119
Xiaocheng Li8580d8f2013-08-23 12:55:21 +0800120 i2c@f9925000 {
121 fsl@1c {
122 compatible = "fsl,mma8x5x";
123 reg = <0x1c>;
124 interrupt-parent = <&msmgpio>;
125 interrupts = <81 0x2>;
126 vdd-supply = <&pm8110_l19>;
127 vio-supply = <&pm8110_l14>;
128 fsl,irq-gpio = <&msmgpio 81 0x00>;
129 fsl,sensors-position = <1>;
130 };
131 stk@48 {
132 compatible = "stk,stk3x1x";
133 reg = <0x48>;
134 interrupt-parent = <&msmgpio>;
135 interrupts = <80 0x2>;
136 vdd-supply = <&pm8110_l19>;
137 vio-supply = <&pm8110_l14>;
138 stk,irq-gpio = <&msmgpio 80 0x02>;
139 stk,transmittance = <340>;
140 stk,state-reg = <0x00>;
141 stk,psctrl-reg = <0x71>;
142 stk,alsctrl-reg = <0x38>;
143 stk,ledctrl-reg = <0xFF>;
144 stk,wait-reg = <0x07>;
145 stk,ps-thdh = <150>;
146 stk,ps-thdl = <100>;
Bingzhe Cai37a7be72013-09-17 10:22:10 +0800147 stk,use-fir;
Xiaocheng Li8580d8f2013-08-23 12:55:21 +0800148 };
149 };
150
151 usb@f9a55000 {
152 qcom,hsusb-otg-phy-init-seq =
153 <0x44 0x80 0x6a 0x81 0x34 0x82 0x23 0x83 0xffffffff>;
154 };
Xiaocheng Li8580d8f2013-08-23 12:55:21 +0800155};
156
157/ {
158 qrd_batterydata: qcom,battery-data {
159 qcom,rpull-up-kohm = <100>;
160 qcom,vref-batt-therm = <1800000>;
161
162 /include/ "batterydata-qrd-4v2-1800mah.dtsi"
163 };
164};
165
166&pm8110_bms {
167 status = "ok";
168 qcom,battery-data = <&qrd_batterydata>;
169};
170
171&pm8110_chg {
172 qcom,battery-data = <&qrd_batterydata>;
173};
Dhaval Patel0f595bd2013-08-30 17:05:53 -0700174
175&mdss_mdp {
176 qcom,mdss-pref-prim-intf = "dsi";
177};
178
179&mdss_dsi0 {
180 qcom,dsi-pref-prim-pan = <&dsi_otm8018b_fwvga_vid>;
181};
182
183&dsi_otm8018b_fwvga_vid {
184 qcom,cont-splash-enabled;
185};