blob: d731ce060192fce1532c6c69b0f7920172c9a7b7 [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>;
Houston Hoffman17f2dc52014-01-29 08:15:06 -080041 qcom,clk-req-gpio = <&msmgpio 75 0x00>;
Houston Hoffman59c6b5d2013-11-14 05:28:34 -080042 qcom,dis-gpio = <&msmgpio 93 0x00>;
Houston Hoffman17f2dc52014-01-29 08:15:06 -080043 qcom,clk-src-gpio = <&msmgpio 78 0x00>;
Houston Hoffman59c6b5d2013-11-14 05:28:34 -080044 qcom,clk-src = "GPCLK2";
45 interrupt-parent = <&msmgpio>;
Houston Hoffman17f2dc52014-01-29 08:15:06 -080046 interrupts = <77 75 0>;
Houston Hoffman59c6b5d2013-11-14 05:28:34 -080047 qcom,clk-gpio = <&msmgpio 75 0x00>;
48 };
49 };
Houston Hoffmand2a9e0d2013-11-01 19:20:52 -070050};
51
52/ {
53 qrd_batterydata: qcom,battery-data {
54 qcom,rpull-up-kohm = <100>;
55 qcom,vref-batt-therm = <1800000>;
56
57 /include/ "batterydata-qrd-4v2-1300mah.dtsi"
58 };
Bansidhar Gopalachari12f10f62013-10-22 20:38:40 -070059
Xiaocheng Li8580d8f2013-08-23 12:55:21 +080060};
61
62&pm8110_bms {
63 status = "ok";
64 qcom,battery-data = <&qrd_batterydata>;
65};
66
67&pm8110_chg {
68 qcom,battery-data = <&qrd_batterydata>;
69};
70
71&pm8110_vadc {
72 chan@30 {
73 label = "batt_therm";
74 qcom,scale-function = <7>;
75 };
76};
Dhaval Patel0f595bd2013-08-30 17:05:53 -070077
78&mdss_mdp {
79 qcom,mdss-pref-prim-intf = "dsi";
80};
81
82&mdss_dsi0 {
83 qcom,dsi-pref-prim-pan = <&dsi_hx8379a_wvga_vid>;
84};
85
86&dsi_hx8379a_wvga_vid {
87 qcom,cont-splash-enabled;
88};
Bansidhar Gopalachari12f10f62013-10-22 20:38:40 -070089
90&pm8110_gpios {
91 gpio@c000 { /* GPIO 1 */
92 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
93 qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
94 qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
95 qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
96 qcom,master-en = <1>;
97 };
98};
guopingyf736d032014-04-28 13:34:48 +080099
100&sdhc_2 {
101 qcom,nonremovable;
102
103 interrupts = <0 1>;
104 interrupt-map = <0 &intc 0 125 0
105 1 &intc 0 221 0>;
106 interrupt-names = "hc_irq", "pwr_irq";
107 /delete-property/ cd-gpios;
108};
109