Xiaocheng Li | 8580d8f | 2013-08-23 12:55:21 +0800 | [diff] [blame] | 1 | /* 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 | /include/ "msm8610-qrd.dtsi" |
| 14 | |
| 15 | &soc { |
| 16 | sound { |
| 17 | qcom,model = "msm8x10-skuab-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 | i2c@f9923000{ |
| 31 | focaltech@38{ |
| 32 | compatible = "focaltech,5x06"; |
| 33 | reg = <0x38>; |
| 34 | interrupt-parent = <&msmgpio>; |
| 35 | interrupts = <1 0x2>; |
| 36 | vdd-supply = <&pm8110_l19>; |
| 37 | vcc_i2c-supply = <&pm8110_l14>; |
| 38 | focaltech,family-id = <0x06>; |
| 39 | focaltech,reset-gpio = <&msmgpio 0 0x00>; |
| 40 | focaltech,irq-gpio = <&msmgpio 1 0x00>; |
| 41 | focaltech,display-coords = <0 0 480 854>; |
| 42 | focaltech,panel-coords = <0 0 480 946>; |
| 43 | focaltech,button-map= <139 102 158>; |
| 44 | focaltech,no-force-update; |
| 45 | focaltech,i2c-pull-up; |
| 46 | }; |
Bingzhe Cai | edae8cc | 2013-09-25 18:18:32 +0800 | [diff] [blame] | 47 | goodix@5d { |
| 48 | compatible = "goodix,gt9xx"; |
| 49 | reg = <0x5d>; |
| 50 | interrupt-parent = <&msmgpio>; |
| 51 | interrupts = <1 0x2008>; |
| 52 | reset-gpios = <&msmgpio 0 0x00>; |
| 53 | interrupt-gpios = <&msmgpio 1 0x00>; |
| 54 | vdd-supply = <&pm8110_l19>; |
Bingzhe Cai | c3f252d | 2013-10-17 14:51:40 +0800 | [diff] [blame] | 55 | vcc-i2c-supply = <&pm8110_l14>; |
Bingzhe Cai | edae8cc | 2013-09-25 18:18:32 +0800 | [diff] [blame] | 56 | goodix,panel-coords = <0 0 540 980>; |
| 57 | goodix,display-coords = <0 0 540 960>; |
| 58 | goodix,button-map= <139 102 158>; |
Bingzhe Cai | c3f252d | 2013-10-17 14:51:40 +0800 | [diff] [blame] | 59 | goodix,product-id = "915"; |
Bingzhe Cai | edae8cc | 2013-09-25 18:18:32 +0800 | [diff] [blame] | 60 | goodix,cfg-data0 = [ |
| 61 | 46 1C 02 C0 03 0A 05 11 01 08 |
| 62 | 14 3B 46 32 03 05 00 00 00 00 |
| 63 | 00 00 00 00 00 00 00 8A 09 0B |
| 64 | 39 00 99 0A 00 00 02 83 03 1D |
| 65 | 00 08 00 00 00 00 00 00 00 00 |
| 66 | 00 1D 73 94 C5 02 07 00 00 04 |
| 67 | 78 21 00 5C 2C 00 48 3A 00 3A |
| 68 | 4C 00 2F 65 00 30 10 30 50 00 |
| 69 | 56 45 35 FF FF 17 00 00 00 00 |
| 70 | 00 01 1C 15 0C 14 5F 03 02 00 |
| 71 | 00 00 00 00 00 00 00 00 00 00 |
| 72 | 00 00 16 14 12 10 0E 0C 0A 08 |
| 73 | 06 04 02 FF FF FF 00 00 00 00 |
| 74 | 00 00 00 00 00 00 00 00 00 00 |
| 75 | 00 00 22 21 20 1F 1E 1D 1C 18 |
| 76 | 16 12 10 0F 0C 0A 08 06 04 02 |
| 77 | 00 FF FF FF FF FF FF FF 00 00 |
| 78 | 00 FF FF FF FF FF FF FF FF FF |
| 79 | F8 FF FF FF E4 01]; |
| 80 | }; |
Xiaocheng Li | 8580d8f | 2013-08-23 12:55:21 +0800 | [diff] [blame] | 81 | }; |
| 82 | gen-vkeys { |
| 83 | compatible = "qcom,gen-vkeys"; |
| 84 | label = "ft5x06_ts"; |
| 85 | qcom,disp-maxx = <480>; |
| 86 | qcom,disp-maxy = <854>; |
| 87 | qcom,panel-maxx = <481>; |
| 88 | qcom,panel-maxy = <946>; |
| 89 | qcom,key-codes = <139 102 158>; |
| 90 | qcom,y-offset = <0>; |
| 91 | }; |
Bingzhe Cai | edae8cc | 2013-09-25 18:18:32 +0800 | [diff] [blame] | 92 | |
Xiaocheng Li | 8580d8f | 2013-08-23 12:55:21 +0800 | [diff] [blame] | 93 | i2c@f9925000 { |
| 94 | fsl@1c { |
| 95 | compatible = "fsl,mma8x5x"; |
| 96 | reg = <0x1c>; |
| 97 | interrupt-parent = <&msmgpio>; |
| 98 | interrupts = <81 0x2>; |
| 99 | vdd-supply = <&pm8110_l19>; |
| 100 | vio-supply = <&pm8110_l14>; |
| 101 | fsl,irq-gpio = <&msmgpio 81 0x00>; |
| 102 | fsl,sensors-position = <1>; |
| 103 | }; |
| 104 | stk@48 { |
| 105 | compatible = "stk,stk3x1x"; |
| 106 | reg = <0x48>; |
| 107 | interrupt-parent = <&msmgpio>; |
| 108 | interrupts = <80 0x2>; |
| 109 | vdd-supply = <&pm8110_l19>; |
| 110 | vio-supply = <&pm8110_l14>; |
| 111 | stk,irq-gpio = <&msmgpio 80 0x02>; |
| 112 | stk,transmittance = <340>; |
| 113 | stk,state-reg = <0x00>; |
| 114 | stk,psctrl-reg = <0x71>; |
| 115 | stk,alsctrl-reg = <0x38>; |
| 116 | stk,ledctrl-reg = <0xFF>; |
| 117 | stk,wait-reg = <0x07>; |
| 118 | stk,ps-thdh = <150>; |
| 119 | stk,ps-thdl = <100>; |
Bingzhe Cai | 37a7be7 | 2013-09-17 10:22:10 +0800 | [diff] [blame] | 120 | stk,use-fir; |
Xiaocheng Li | 8580d8f | 2013-08-23 12:55:21 +0800 | [diff] [blame] | 121 | }; |
| 122 | }; |
| 123 | |
| 124 | usb@f9a55000 { |
| 125 | qcom,hsusb-otg-phy-init-seq = |
| 126 | <0x44 0x80 0x6a 0x81 0x34 0x82 0x23 0x83 0xffffffff>; |
| 127 | }; |
Xiaocheng Li | 8580d8f | 2013-08-23 12:55:21 +0800 | [diff] [blame] | 128 | }; |
| 129 | |
| 130 | / { |
| 131 | qrd_batterydata: qcom,battery-data { |
| 132 | qcom,rpull-up-kohm = <100>; |
| 133 | qcom,vref-batt-therm = <1800000>; |
| 134 | |
| 135 | /include/ "batterydata-qrd-4v2-1800mah.dtsi" |
| 136 | }; |
| 137 | }; |
| 138 | |
| 139 | &pm8110_bms { |
| 140 | status = "ok"; |
| 141 | qcom,battery-data = <&qrd_batterydata>; |
| 142 | }; |
| 143 | |
| 144 | &pm8110_chg { |
| 145 | qcom,battery-data = <&qrd_batterydata>; |
| 146 | }; |
Dhaval Patel | 0f595bd | 2013-08-30 17:05:53 -0700 | [diff] [blame] | 147 | |
| 148 | &mdss_mdp { |
| 149 | qcom,mdss-pref-prim-intf = "dsi"; |
| 150 | }; |
| 151 | |
| 152 | &mdss_dsi0 { |
| 153 | qcom,dsi-pref-prim-pan = <&dsi_otm8018b_fwvga_vid>; |
| 154 | }; |
| 155 | |
| 156 | &dsi_otm8018b_fwvga_vid { |
| 157 | qcom,cont-splash-enabled; |
| 158 | }; |