blob: 394f4a972b5332d91a749a6c82806c976c81cf7f [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";
Susheel Khiania339e262014-03-14 16:28:02 +053025
26};
27
28&qsecom_mem {
29 linux,memory-limit = <0x0>;
Syed Rameez Mustafaa94a1c02013-05-20 16:56:07 -070030};
Patrick Dalyc42e9042013-05-23 13:45:34 -070031
32&soc {
33 qcom,mss@fc880000 {
Patrick Daly678f8462013-06-10 19:00:07 -070034 reg = <0xfc880000 0x100>,
35 <0xfd485000 0x400>,
36 <0xfc820000 0x20>,
37 <0xfc401680 0x4>;
38 reg-names = "qdsp6_base", "halt_base", "rmb_base",
39 "restart_reg";
Patrick Dalyc42e9042013-05-23 13:45:34 -070040 vdd_mss-supply = <&pm8226_s5>;
41 };
Patrick Daly10acc8c2013-06-05 16:44:19 -070042
Patrick Daly3d1e0672013-12-16 12:33:40 -080043 qcom,clock-a7@f9011050 {
Patrick Daly10acc8c2013-06-05 16:44:19 -070044 reg = <0xf9011050 0x8>,
45 <0xfc4b80b0 0x8>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080046 reg-names = "rcg-base", "efuse";
Ke Liu9102dcf2014-02-10 11:50:28 -080047 qcom,speed0-bin-v0 =
48 < 0 0>,
49 < 384000000 2>,
50 < 787200000 4>,
51 <1190400000 7>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080052 qcom,speed0-bin-v1 =
53 < 0 0>,
Ke Liua7ed4f52014-01-10 11:58:33 -080054 < 384000000 2>,
55 < 787200000 4>,
56 <1190400000 7>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080057 qcom,speed2-bin-v1 =
58 < 0 0>,
Ke Liua7ed4f52014-01-10 11:58:33 -080059 < 384000000 2>,
60 < 787200000 4>,
61 <1401600000 10>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080062 qcom,speed1-bin-v1 =
63 < 0 0>,
Ke Liua7ed4f52014-01-10 11:58:33 -080064 < 384000000 2>,
65 < 787200000 4>,
66 < 998400000 5>,
67 <1094400000 6>,
68 <1190400000 7>,
69 <1305600000 8>,
70 <1344000000 9>,
71 <1401600000 10>,
72 <1497600000 11>,
73 <1593600000 12>;
Patrick Dalycd999822014-01-17 15:16:52 -080074 qcom,speed5-bin-v1 =
75 < 0 0>,
76 < 384000000 2>,
77 < 787200000 4>,
78 < 998400000 5>,
79 <1094400000 6>,
80 <1190400000 7>,
81 <1305600000 8>,
82 <1344000000 9>,
83 <1401600000 10>,
84 <1497600000 11>,
85 <1593600000 12>,
86 <1689600000 13>,
87 <1785600000 14>;
Patrick Daly10acc8c2013-06-05 16:44:19 -070088 };
Jennifer Liu993487f2013-10-01 10:47:18 -070089
90 qcom,msm-thermal {
91 qcom,cpu-sensors = "tsens_tz_sensor5", "tsens_tz_sensor5",
92 "tsens_tz_sensor1", "tsens_tz_sensor1";
93 };
Murali Nalajalaea5957b2013-10-04 11:41:13 +053094
95 qcom,mpm@fc4281d0 {
96 qcom,gpio-map = <3 1>,
97 <4 4 >,
98 <5 5 >,
99 <6 9 >,
100 <7 13>,
101 <8 17>,
102 <9 21>,
103 <10 27>,
104 <11 29>,
105 <12 31>,
106 <13 33>,
107 <14 35>,
108 <15 37>,
109 <16 38>,
110 <17 39>,
111 <18 41>,
112 <19 46>,
113 <20 48>,
114 <21 49>,
115 <22 50>,
116 <23 51>,
117 <24 52>,
118 <25 54>,
119 <26 62>,
120 <27 63>,
121 <28 64>,
122 <29 65>,
123 <30 66>,
124 <31 67>,
125 <32 68>,
126 <33 69>,
127 <34 71>,
128 <35 72>,
129 <36 106>,
130 <37 107>,
131 <38 108>,
132 <39 109>,
133 <40 110>,
134 <41 119>,
135 <54 111>,
136 <55 113>;
137 };
Patrick Dalyc42e9042013-05-23 13:45:34 -0700138};
David Collinsf2d9b202013-06-04 13:53:17 -0700139
David Collinsf2d9b202013-06-04 13:53:17 -0700140&apc_vreg_corner {
Ke Liu7abaef82013-12-23 10:22:26 -0800141 qcom,cpr-up-threshold = <0>;
Ke Liu3853bd12014-02-01 10:57:17 -0800142 qcom,cpr-down-threshold = <2>;
Ke Liu9102dcf2014-02-10 11:50:28 -0800143 regulator-min-microvolt = <1>;
144 regulator-max-microvolt = <14>;
145 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 -0800146 qcom,cpr-quotient-adjustment = <0 72 72>;
Wu Fenglinf337df12014-01-14 20:59:58 +0800147 qcom,pvs-version-fuse-sel = <22 4 2 0>;
148 qcom,cpr-corner-frequency-map =
149 <1 300000000>,
150 <2 384000000>,
151 <3 600000000>,
152 <4 787200000>,
153 <5 998400000>,
154 <6 1094400000>,
155 <7 1190400000>,
156 <8 1305600000>,
157 <9 1344000000>,
158 <10 1401600000>,
159 <11 1497600000>,
160 <12 1593600000>,
161 <13 1689600000>,
162 <14 1785600000>;
163 qcom,cpr-speed-bin-max-corners =
164 <0 1 2 4 7>,
165 <1 1 2 4 12>,
166 <2 1 2 4 10>,
167 <5 1 2 4 14>;
168 qcom,cpr-quot-adjust-scaling-factor-max = <650>;
David Collinsf2d9b202013-06-04 13:53:17 -0700169};
Siddartha Mohanadoss36666c92013-07-17 20:42:12 -0700170
171&tsens {
172 qcom,sensors = <6>;
173 qcom,slope = <2901 2846 3038 2955 2901 2846>;
174};
Neeti Desaif82314e2013-08-09 15:59:54 -0700175
Syed Rameez Mustafa9c079a92013-07-29 14:59:54 -0700176&msmgpio {
Pavankumar Kondetide068422013-09-24 16:15:38 +0530177 ngpio = <121>;
Syed Rameez Mustafa9c079a92013-07-29 14:59:54 -0700178};
179
Neeti Desaif82314e2013-08-09 15:59:54 -0700180&memory_hole {
181 qcom,memblock-remove = <0x08000000 0x7500000
182 0x0fa00000 0x500000>; /* Address and size of the hole */
183};
Pavankumar Kondeti7c69f622013-09-24 15:48:20 +0530184
185&hsic_host {
186 interrupt-map = <0 &intc 0 136 0
187 1 &intc 0 148 0
188 2 &msmgpio 119 0x8>;
189 hsic,strobe-gpio = <&msmgpio 119 0x00>;
190 hsic,data-gpio = <&msmgpio 120 0x00>;
191};
Saket Saurabhb39f0f92014-02-19 11:52:17 +0530192
193&usb_otg {
194 /delete-property/ qcom,hsusb-otg-disable-reset;
195 qcom,ahb-async-bridge-bypass;
196};
197