blob: 719830e8d945898a7a638dfe966fdb4e7065147e [file] [log] [blame]
Houston Hoffman59c6b5d2013-11-14 05:28:34 -08001 /* Copyright (c) 2013, The Linux Foundation. All rights reserved.
Xiaocheng Li8580d8f2013-08-23 12:55:21 +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
13/include/ "msm8610-qrd.dtsi"
14
15&soc {
16 sound {
17 qcom,model = "msm8x10-skuaa-snd-card";
18
19 qcom,audio-routing =
20 "RX_BIAS", "MCLK",
21 "INT_LDO_H", "MCLK",
22 "Lineout amp", "LINEOUT",
23 "MIC BIAS Internal1", "Handset Mic",
24 "MIC BIAS Internal2", "Headset Mic",
25 "AMIC1", "MIC BIAS Internal1",
26 "AMIC2", "MIC BIAS Internal2";
27
28 qcom,ext-spk-amp-gpio = <&msmgpio 92 0x0>;
29 };
30
Xiaogang Cuic3065b42013-09-03 15:33:07 +080031 usb@f9a55000 {
32 qcom,hsusb-otg-phy-init-seq =
33 <0x44 0x80 0x6a 0x81 0x34 0x82 0x13 0x83 0xffffffff>;
34 };
Bansidhar Gopalachari12f10f62013-10-22 20:38:40 -070035
Houston Hoffman59c6b5d2013-11-14 05:28:34 -080036 i2c@f9924000 { /* BLSP-1 QUP-2 */
37 nfc-nci@e {
38 compatible = "qcom,nfc-nci";
39 reg = <0x0e>;
40 qcom,irq-gpio = <&msmgpio 77 0x00>;
41 qcom,dis-gpio = <&msmgpio 93 0x00>;
42 qcom,clk-en-gpio = <&msmgpio 78 0x00>;
43 qcom,clk-src = "GPCLK2";
44 interrupt-parent = <&msmgpio>;
45 interrupts = <77 0>;
46 qcom,clk-gpio = <&msmgpio 75 0x00>;
47 };
48 };
Houston Hoffmand2a9e0d2013-11-01 19:20:52 -070049};
50
51/ {
52 qrd_batterydata: qcom,battery-data {
53 qcom,rpull-up-kohm = <100>;
54 qcom,vref-batt-therm = <1800000>;
55
56 /include/ "batterydata-qrd-4v2-1300mah.dtsi"
57 };
Bansidhar Gopalachari12f10f62013-10-22 20:38:40 -070058
Xiaocheng Li8580d8f2013-08-23 12:55:21 +080059};
60
61&pm8110_bms {
62 status = "ok";
63 qcom,battery-data = <&qrd_batterydata>;
64};
65
66&pm8110_chg {
67 qcom,battery-data = <&qrd_batterydata>;
68};
69
70&pm8110_vadc {
71 chan@30 {
72 label = "batt_therm";
73 qcom,scale-function = <7>;
74 };
75};
Dhaval Patel0f595bd2013-08-30 17:05:53 -070076
77&mdss_mdp {
78 qcom,mdss-pref-prim-intf = "dsi";
79};
80
81&mdss_dsi0 {
82 qcom,dsi-pref-prim-pan = <&dsi_hx8379a_wvga_vid>;
83};
84
85&dsi_hx8379a_wvga_vid {
86 qcom,cont-splash-enabled;
87};
Bansidhar Gopalachari12f10f62013-10-22 20:38:40 -070088
89&pm8110_gpios {
90 gpio@c000 { /* GPIO 1 */
91 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
92 qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
93 qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
94 qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
95 qcom,master-en = <1>;
96 };
97};