blob: e86628657a3eb15877bce19b9f83f3b1d4beef1a [file] [log] [blame]
Hanumant Singh14301b42014-01-16 11:58:29 -08001/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
Syed Rameez Mustafaa94a1c02013-05-20 16:56:07 -07002 *
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/*
14 * Only 8926-specific property overrides should be placed inside this
15 * file. Device definitions should be placed inside the msm8226.dtsi
16 * file.
17 */
18
19/include/ "msm8226.dtsi"
Syed Rameez Mustafa59547c62013-08-22 21:12:19 -070020/include/ "msm8226-v2-pm.dtsi"
Syed Rameez Mustafaa94a1c02013-05-20 16:56:07 -070021
22/ {
23 model = "Qualcomm MSM 8926";
24 compatible = "qcom,msm8926";
25};
Patrick Dalyc42e9042013-05-23 13:45:34 -070026
27&soc {
28 qcom,mss@fc880000 {
Patrick Daly678f8462013-06-10 19:00:07 -070029 reg = <0xfc880000 0x100>,
30 <0xfd485000 0x400>,
31 <0xfc820000 0x20>,
32 <0xfc401680 0x4>;
33 reg-names = "qdsp6_base", "halt_base", "rmb_base",
34 "restart_reg";
Patrick Dalyc42e9042013-05-23 13:45:34 -070035 vdd_mss-supply = <&pm8226_s5>;
36 };
Patrick Daly10acc8c2013-06-05 16:44:19 -070037
Patrick Daly3d1e0672013-12-16 12:33:40 -080038 qcom,clock-a7@f9011050 {
Patrick Daly10acc8c2013-06-05 16:44:19 -070039 reg = <0xf9011050 0x8>,
40 <0xfc4b80b0 0x8>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080041 reg-names = "rcg-base", "efuse";
Ke Liu9102dcf2014-02-10 11:50:28 -080042 qcom,speed0-bin-v0 =
43 < 0 0>,
44 < 384000000 2>,
45 < 787200000 4>,
46 <1190400000 7>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080047 qcom,speed0-bin-v1 =
48 < 0 0>,
Ke Liua7ed4f52014-01-10 11:58:33 -080049 < 384000000 2>,
50 < 787200000 4>,
51 <1190400000 7>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080052 qcom,speed2-bin-v1 =
53 < 0 0>,
Ke Liua7ed4f52014-01-10 11:58:33 -080054 < 384000000 2>,
55 < 787200000 4>,
56 <1401600000 10>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080057 qcom,speed1-bin-v1 =
58 < 0 0>,
Ke Liua7ed4f52014-01-10 11:58:33 -080059 < 384000000 2>,
60 < 787200000 4>,
61 < 998400000 5>,
62 <1094400000 6>,
63 <1190400000 7>,
64 <1305600000 8>,
65 <1344000000 9>,
66 <1401600000 10>,
67 <1497600000 11>,
68 <1593600000 12>;
Patrick Dalycd999822014-01-17 15:16:52 -080069 qcom,speed5-bin-v1 =
70 < 0 0>,
71 < 384000000 2>,
72 < 787200000 4>,
73 < 998400000 5>,
74 <1094400000 6>,
75 <1190400000 7>,
76 <1305600000 8>,
77 <1344000000 9>,
78 <1401600000 10>,
79 <1497600000 11>,
80 <1593600000 12>,
81 <1689600000 13>,
82 <1785600000 14>;
Patrick Daly10acc8c2013-06-05 16:44:19 -070083 };
Jennifer Liu993487f2013-10-01 10:47:18 -070084
85 qcom,msm-thermal {
86 qcom,cpu-sensors = "tsens_tz_sensor5", "tsens_tz_sensor5",
87 "tsens_tz_sensor1", "tsens_tz_sensor1";
88 };
Murali Nalajalaea5957b2013-10-04 11:41:13 +053089
90 qcom,mpm@fc4281d0 {
91 qcom,gpio-map = <3 1>,
92 <4 4 >,
93 <5 5 >,
94 <6 9 >,
95 <7 13>,
96 <8 17>,
97 <9 21>,
98 <10 27>,
99 <11 29>,
100 <12 31>,
101 <13 33>,
102 <14 35>,
103 <15 37>,
104 <16 38>,
105 <17 39>,
106 <18 41>,
107 <19 46>,
108 <20 48>,
109 <21 49>,
110 <22 50>,
111 <23 51>,
112 <24 52>,
113 <25 54>,
114 <26 62>,
115 <27 63>,
116 <28 64>,
117 <29 65>,
118 <30 66>,
119 <31 67>,
120 <32 68>,
121 <33 69>,
122 <34 71>,
123 <35 72>,
124 <36 106>,
125 <37 107>,
126 <38 108>,
127 <39 109>,
128 <40 110>,
129 <41 119>,
130 <54 111>,
131 <55 113>;
132 };
Patrick Dalyc42e9042013-05-23 13:45:34 -0700133};
David Collinsf2d9b202013-06-04 13:53:17 -0700134
David Collinsf2d9b202013-06-04 13:53:17 -0700135&apc_vreg_corner {
Ke Liu7abaef82013-12-23 10:22:26 -0800136 qcom,cpr-up-threshold = <0>;
Ke Liu3853bd12014-02-01 10:57:17 -0800137 qcom,cpr-down-threshold = <2>;
Ke Liu9102dcf2014-02-10 11:50:28 -0800138 regulator-min-microvolt = <1>;
139 regulator-max-microvolt = <14>;
140 qcom,cpr-corner-map = <1 1 2 2 3 3 3 3 3 3 3 3 3 3>;
Ke Liu3853bd12014-02-01 10:57:17 -0800141 qcom,cpr-quotient-adjustment = <0 72 72>;
Wu Fenglinf337df12014-01-14 20:59:58 +0800142 qcom,pvs-version-fuse-sel = <22 4 2 0>;
143 qcom,cpr-corner-frequency-map =
144 <1 300000000>,
145 <2 384000000>,
146 <3 600000000>,
147 <4 787200000>,
148 <5 998400000>,
149 <6 1094400000>,
150 <7 1190400000>,
151 <8 1305600000>,
152 <9 1344000000>,
153 <10 1401600000>,
154 <11 1497600000>,
155 <12 1593600000>,
156 <13 1689600000>,
157 <14 1785600000>;
158 qcom,cpr-speed-bin-max-corners =
159 <0 1 2 4 7>,
160 <1 1 2 4 12>,
161 <2 1 2 4 10>,
162 <5 1 2 4 14>;
163 qcom,cpr-quot-adjust-scaling-factor-max = <650>;
David Collinsf2d9b202013-06-04 13:53:17 -0700164};
Siddartha Mohanadoss36666c92013-07-17 20:42:12 -0700165
166&tsens {
167 qcom,sensors = <6>;
168 qcom,slope = <2901 2846 3038 2955 2901 2846>;
169};
Neeti Desaif82314e2013-08-09 15:59:54 -0700170
Syed Rameez Mustafa9c079a92013-07-29 14:59:54 -0700171&msmgpio {
Pavankumar Kondetide068422013-09-24 16:15:38 +0530172 ngpio = <121>;
Syed Rameez Mustafa9c079a92013-07-29 14:59:54 -0700173};
174
Neeti Desaif82314e2013-08-09 15:59:54 -0700175&memory_hole {
176 qcom,memblock-remove = <0x08000000 0x7500000
177 0x0fa00000 0x500000>; /* Address and size of the hole */
178};
Pavankumar Kondeti7c69f622013-09-24 15:48:20 +0530179
180&hsic_host {
181 interrupt-map = <0 &intc 0 136 0
182 1 &intc 0 148 0
183 2 &msmgpio 119 0x8>;
184 hsic,strobe-gpio = <&msmgpio 119 0x00>;
185 hsic,data-gpio = <&msmgpio 120 0x00>;
186};
Saket Saurabhb39f0f92014-02-19 11:52:17 +0530187
188&usb_otg {
189 /delete-property/ qcom,hsusb-otg-disable-reset;
190 qcom,ahb-async-bridge-bypass;
191};
192