blob: 9a21aaca33dac6e9617851df954a19defd847b7b [file] [log] [blame]
Jie Cheng53c8afe2013-08-01 15:53:06 +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/dts-v1/;
14/include/ "msm8926.dtsi"
15/include/ "msm8226-qrd.dtsi"
Su Liu1c93f472013-09-09 13:48:40 +080016/include/ "msm8926-camera-sensor-qrd.dtsi"
Jie Cheng53c8afe2013-08-01 15:53:06 +080017
18/ {
19 model = "Qualcomm MSM 8926 QRD SKUG";
20 compatible = "qcom,msm8926-qrd", "qcom,msm8926", "qcom,qrd";
21 qcom,board-id = <11 5>;
Jie Cheng53c8afe2013-08-01 15:53:06 +080022};
Xu Kaibba7aa62013-08-30 11:26:01 +080023
24&qrd_batterydata {
25 qcom,rpull-up-kohm = <100>;
26 qcom,vref-batt-therm = <1800000>;
27
28 /include/ "batterydata-qrd-4v2-2000mah.dtsi"
29};
30
31&pm8226_bms {
32 qcom,battery-data = <&qrd_batterydata>;
33};
34
35&pm8226_chg {
36 qcom,battery-data = <&qrd_batterydata>;
37};
Ray Zhang558ffa22013-09-03 15:26:33 +080038
Bingzhe Caif9d2fe22013-08-16 18:15:44 +080039&soc {
40 i2c@f9927000 { /* BLSP1 QUP5 */
41 focaltech@38 {
42 compatible = "focaltech,5x06";
43 reg = <0x38>;
44 interrupt-parent = <&msmgpio>;
45 interrupts = <17 0x2>;
46 vdd-supply = <&pm8226_l19>;
47 vcc_i2c-supply = <&pm8226_lvs1>;
Bingzhe Cai2455cbf2013-09-23 19:26:52 +080048 focaltech,name = "ft5336";
49 focaltech,family-id = <0x14>;
Bingzhe Caif9d2fe22013-08-16 18:15:44 +080050 focaltech,reset-gpio = <&msmgpio 16 0x00>;
51 focaltech,irq-gpio = <&msmgpio 17 0x00>;
Bingzhe Cai2455cbf2013-09-23 19:26:52 +080052 focaltech,display-coords = <0 0 720 1280>;
53 focaltech,panel-coords = <0 0 720 1400>;
Bingzhe Caif9d2fe22013-08-16 18:15:44 +080054 focaltech,button-map= <139 102 158>;
55 focaltech,no-force-update;
56 focaltech,i2c-pull-up;
Bingzhe Cai2455cbf2013-09-23 19:26:52 +080057 focaltech,group-id = <1>;
58 focaltech,hard-reset-delay-ms = <20>;
59 focaltech,soft-reset-delay-ms = <200>;
60 focaltech,num-max-touches = <5>;
61 focaltech,fw-name = "ft_8926_qrd_fw.bin";
62 focaltech,fw-delay-aa-ms = <30>;
63 focaltech,fw-delay-55-ms = <30>;
64 focaltech,fw-upgrade-id1 = <0x79>;
65 focaltech,fw-upgrade-id2 = <0x08>;
66 focaltech,fw-delay-readid-ms = <10>;
67 focaltech,fw-delay-era-flsh-ms = <2000>;
68 focaltech,fw-auto-cal;
Bingzhe Caif9d2fe22013-08-16 18:15:44 +080069 };
70 };
71
72 gen-vkeys {
73 compatible = "qcom,gen-vkeys";
74 label = "ft5x06_ts";
75 qcom,disp-maxx = <720>;
76 qcom,disp-maxy = <1280>;
77 qcom,panel-maxx = <720>;
78 qcom,panel-maxy = <1404>;
79 qcom,key-codes = <139 172 158>;
80 qcom,y-offset = <0>;
81 };
Zhenhua Huanga82d3ed2013-09-26 15:34:16 +080082
83 gpio-leds {
84 compatible = "gpio-leds";
85 keypad-backlight {
86 gpios = <&msmgpio 34 0>;
87 label = "button-backlight";
88 linux,default-trigger = "none";
89 };
90 };
Bingzhe Caif9d2fe22013-08-16 18:15:44 +080091};
92
Jie Cheng9c39d432013-09-30 14:35:44 +080093&spmi_bus {
94 qcom,pm8226@0 {
95 qcom,leds@a100 {
96 status = "disable";
97 };
98 };
99};
100
Ray Zhang558ffa22013-09-03 15:26:33 +0800101&mdss_dsi0 {
102 qcom,dsi-pref-prim-pan = <&dsi_ssd2080m_720_vid>;
103};
104
105&dsi_ssd2080m_720_vid {
106 qcom,cont-splash-enabled;
107};