blob: c93ea1296fe914f53338984a9ed6e588f0d14eba [file] [log] [blame]
Hanumant Singh14301b42014-01-16 11:58:29 -08001/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
Maria Yu018243b2013-12-16 19:18:18 +08002 *
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
Maria Yu018243b2013-12-16 19:18:18 +080013/include/ "msm8226-qrd.dtsi"
14/include/ "msm8926-camera-sensor-qrd.dtsi"
15
16&qrd_batterydata {
17 qcom,rpull-up-kohm = <100>;
18 qcom,vref-batt-therm = <1800000>;
19
20 /include/ "batterydata-qrd-4v2-2000mah.dtsi"
21};
22
23&pm8226_bms {
24 qcom,battery-data = <&qrd_batterydata>;
25};
26
27&pm8226_chg {
28 qcom,battery-data = <&qrd_batterydata>;
29};
30
31&soc {
32 i2c@f9927000 { /* BLSP1 QUP5 */
33 focaltech@38 {
34 compatible = "focaltech,5x06";
35 reg = <0x38>;
36 interrupt-parent = <&msmgpio>;
37 interrupts = <17 0x2>;
38 vdd-supply = <&pm8226_l19>;
39 vcc_i2c-supply = <&pm8226_lvs1>;
40 focaltech,name = "ft5336";
41 focaltech,family-id = <0x14>;
42 focaltech,reset-gpio = <&msmgpio 16 0x00>;
43 focaltech,irq-gpio = <&msmgpio 17 0x00>;
44 focaltech,display-coords = <0 0 720 1280>;
45 focaltech,panel-coords = <0 0 720 1400>;
46 focaltech,button-map= <139 102 158>;
47 focaltech,no-force-update;
48 focaltech,i2c-pull-up;
49 focaltech,group-id = <1>;
50 focaltech,hard-reset-delay-ms = <20>;
51 focaltech,soft-reset-delay-ms = <200>;
52 focaltech,num-max-touches = <5>;
53 focaltech,fw-name = "ft_8926_qrd_fw.bin";
54 focaltech,fw-delay-aa-ms = <30>;
55 focaltech,fw-delay-55-ms = <30>;
56 focaltech,fw-upgrade-id1 = <0x11>;
57 focaltech,fw-upgrade-id2 = <0x11>;
58 focaltech,fw-delay-readid-ms = <10>;
59 focaltech,fw-delay-era-flsh-ms = <2000>;
60 focaltech,fw-auto-cal;
61 focaltech,ignore-id-check;
62 };
63 };
64
65 gen-vkeys {
66 compatible = "qcom,gen-vkeys";
67 label = "ft5x06_ts";
68 qcom,disp-maxx = <720>;
69 qcom,disp-maxy = <1280>;
70 qcom,panel-maxx = <720>;
71 qcom,panel-maxy = <1404>;
72 qcom,key-codes = <139 172 158>;
73 qcom,y-offset = <0>;
74 };
75
76 gpio-leds {
77 compatible = "gpio-leds";
78 keypad-backlight {
79 gpios = <&msmgpio 34 0>;
80 label = "button-backlight";
81 linux,default-trigger = "none";
82 };
83 };
84};
85
86&spmi_bus {
87 qcom,pm8226@0 {
88 qcom,leds@a100 {
89 status = "disable";
90 };
91 };
92};
93
94&mdss_dsi0 {
95 qcom,dsi-pref-prim-pan = <&dsi_ssd2080m_720_vid>;
96};
97
98&dsi_ssd2080m_720_vid {
99 qcom,cont-splash-enabled;
100};