Houston Hoffman | 59c6b5d | 2013-11-14 05:28:34 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2013, The Linux Foundation. All rights reserved. |
Xiaocheng Li | 8580d8f | 2013-08-23 12:55:21 +0800 | [diff] [blame] | 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 { |
| 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 Cui | c3065b4 | 2013-09-03 15:33:07 +0800 | [diff] [blame] | 31 | usb@f9a55000 { |
| 32 | qcom,hsusb-otg-phy-init-seq = |
| 33 | <0x44 0x80 0x6a 0x81 0x34 0x82 0x13 0x83 0xffffffff>; |
| 34 | }; |
Bansidhar Gopalachari | 12f10f6 | 2013-10-22 20:38:40 -0700 | [diff] [blame] | 35 | |
Houston Hoffman | 59c6b5d | 2013-11-14 05:28:34 -0800 | [diff] [blame] | 36 | 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 Hoffman | 17f2dc5 | 2014-01-29 08:15:06 -0800 | [diff] [blame] | 41 | qcom,clk-req-gpio = <&msmgpio 75 0x00>; |
Houston Hoffman | 59c6b5d | 2013-11-14 05:28:34 -0800 | [diff] [blame] | 42 | qcom,dis-gpio = <&msmgpio 93 0x00>; |
Houston Hoffman | 17f2dc5 | 2014-01-29 08:15:06 -0800 | [diff] [blame] | 43 | qcom,clk-src-gpio = <&msmgpio 78 0x00>; |
Houston Hoffman | 59c6b5d | 2013-11-14 05:28:34 -0800 | [diff] [blame] | 44 | qcom,clk-src = "GPCLK2"; |
| 45 | interrupt-parent = <&msmgpio>; |
Houston Hoffman | 17f2dc5 | 2014-01-29 08:15:06 -0800 | [diff] [blame] | 46 | interrupts = <77 75 0>; |
Houston Hoffman | 59c6b5d | 2013-11-14 05:28:34 -0800 | [diff] [blame] | 47 | qcom,clk-gpio = <&msmgpio 75 0x00>; |
| 48 | }; |
| 49 | }; |
Houston Hoffman | d2a9e0d | 2013-11-01 19:20:52 -0700 | [diff] [blame] | 50 | }; |
| 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 Gopalachari | 12f10f6 | 2013-10-22 20:38:40 -0700 | [diff] [blame] | 59 | |
Xiaocheng Li | 8580d8f | 2013-08-23 12:55:21 +0800 | [diff] [blame] | 60 | }; |
| 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 Patel | 0f595bd | 2013-08-30 17:05:53 -0700 | [diff] [blame] | 77 | |
| 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 Gopalachari | 12f10f6 | 2013-10-22 20:38:40 -0700 | [diff] [blame] | 89 | |
| 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 | }; |
guopingy | f736d03 | 2014-04-28 13:34:48 +0800 | [diff] [blame] | 99 | |
| 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 | |