]>
Commit | Line | Data |
---|---|---|
9857a753 | 1 | #include "qcom-msm8974.dtsi" |
c9127893 II |
2 | #include "qcom-pm8841.dtsi" |
3 | #include "qcom-pm8941.dtsi" | |
9857a753 RV |
4 | |
5 | / { | |
6 | model = "Qualcomm APQ8074 Dragonboard"; | |
7 | compatible = "qcom,apq8074-dragonboard", "qcom,apq8074"; | |
3e944c76 | 8 | |
5f769789 SB |
9 | aliases { |
10 | serial0 = &blsp1_uart2; | |
134c544e SB |
11 | usid0 = &pm8941_0; |
12 | usid4 = &pm8841_0; | |
5f769789 SB |
13 | }; |
14 | ||
15 | chosen { | |
16 | stdout-path = "serial0:115200n8"; | |
17 | }; | |
18 | ||
ba08220a KG |
19 | soc { |
20 | serial@f991e000 { | |
21 | status = "ok"; | |
22 | }; | |
23 | ||
3e944c76 GD |
24 | sdhci@f9824900 { |
25 | bus-width = <8>; | |
26 | non-removable; | |
27 | status = "ok"; | |
5fda09b8 SB |
28 | |
29 | vmmc-supply = <&pm8941_l20>; | |
30 | vqmmc-supply = <&pm8941_s3>; | |
31 | ||
32 | pinctrl-names = "default"; | |
33 | pinctrl-0 = <&sdhc1_pin_a>; | |
3e944c76 GD |
34 | }; |
35 | ||
36 | sdhci@f98a4900 { | |
37 | cd-gpios = <&msmgpio 62 0x1>; | |
5fda09b8 SB |
38 | pinctrl-names = "default"; |
39 | pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>; | |
3e944c76 | 40 | bus-width = <4>; |
5fda09b8 SB |
41 | status = "ok"; |
42 | ||
43 | vmmc-supply = <&pm8941_l21>; | |
44 | vqmmc-supply = <&pm8941_l13>; | |
3e944c76 | 45 | }; |
ba08220a | 46 | |
4ac5a200 SB |
47 | usb@f9a55000 { |
48 | status = "ok"; | |
49 | phys = <&usb_hs2_phy>; | |
50 | phy-select = <&tcsr 0xb000 1>; | |
51 | extcon = <&smbb>, <&usb_id>; | |
52 | vbus-supply = <&chg_otg>; | |
53 | hnp-disable; | |
54 | srp-disable; | |
55 | adp-disable; | |
56 | ulpi { | |
57 | phy@b { | |
58 | status = "ok"; | |
59 | v3p3-supply = <&pm8941_l24>; | |
60 | v1p8-supply = <&pm8941_l6>; | |
61 | extcon = <&smbb>; | |
62 | qcom,init-seq = /bits/ 8 <0x1 0x63>; | |
63 | }; | |
64 | }; | |
65 | }; | |
66 | ||
ba08220a KG |
67 | |
68 | pinctrl@fd510000 { | |
bf7f6b04 | 69 | i2c11_pins: i2c11 { |
70 | mux { | |
71 | pins = "gpio83", "gpio84"; | |
72 | function = "blsp_i2c11"; | |
73 | }; | |
74 | }; | |
75 | ||
ba08220a KG |
76 | spi8_default: spi8_default { |
77 | mosi { | |
78 | pins = "gpio45"; | |
79 | function = "blsp_spi8"; | |
80 | }; | |
81 | miso { | |
82 | pins = "gpio46"; | |
83 | function = "blsp_spi8"; | |
84 | }; | |
85 | cs { | |
86 | pins = "gpio47"; | |
87 | function = "blsp_spi8"; | |
88 | }; | |
89 | clk { | |
90 | pins = "gpio48"; | |
91 | function = "blsp_spi8"; | |
92 | }; | |
93 | }; | |
5fda09b8 SB |
94 | |
95 | sdhc1_pin_a: sdhc1-pin-active { | |
96 | clk { | |
97 | pins = "sdc1_clk"; | |
98 | drive-strength = <16>; | |
99 | bias-disable; | |
100 | }; | |
101 | ||
102 | cmd-data { | |
103 | pins = "sdc1_cmd", "sdc1_data"; | |
104 | drive-strength = <10>; | |
105 | bias-pull-up; | |
106 | }; | |
107 | }; | |
108 | ||
109 | sdhc2_cd_pin_a: sdhc2-cd-pin-active { | |
110 | pins = "gpio62"; | |
111 | function = "gpio"; | |
112 | ||
113 | drive-strength = <2>; | |
114 | bias-disable; | |
115 | }; | |
116 | ||
117 | sdhc2_pin_a: sdhc2-pin-active { | |
118 | clk { | |
119 | pins = "sdc2_clk"; | |
120 | drive-strength = <10>; | |
121 | bias-disable; | |
122 | }; | |
123 | ||
124 | cmd-data { | |
125 | pins = "sdc2_cmd", "sdc2_data"; | |
126 | drive-strength = <6>; | |
127 | bias-pull-up; | |
128 | }; | |
129 | }; | |
ba08220a | 130 | }; |
bf7f6b04 | 131 | |
132 | i2c@f9967000 { | |
133 | status = "okay"; | |
134 | clock-frequency = <200000>; | |
135 | pinctrl-0 = <&i2c11_pins>; | |
136 | pinctrl-names = "default"; | |
137 | ||
138 | eeprom: eeprom@52 { | |
139 | compatible = "atmel,24c128"; | |
140 | reg = <0x52>; | |
141 | pagesize = <32>; | |
142 | read-only; | |
143 | }; | |
144 | }; | |
3e944c76 | 145 | }; |
d04dc952 SB |
146 | |
147 | smd { | |
148 | rpm { | |
149 | rpm_requests { | |
150 | pm8841-regulators { | |
151 | s1 { | |
152 | regulator-min-microvolt = <675000>; | |
153 | regulator-max-microvolt = <1050000>; | |
154 | }; | |
155 | ||
156 | s2 { | |
157 | regulator-min-microvolt = <500000>; | |
158 | regulator-max-microvolt = <1050000>; | |
159 | }; | |
160 | ||
161 | s3 { | |
162 | regulator-min-microvolt = <500000>; | |
163 | regulator-max-microvolt = <1050000>; | |
164 | }; | |
165 | ||
166 | s4 { | |
167 | regulator-min-microvolt = <500000>; | |
168 | regulator-max-microvolt = <1050000>; | |
169 | }; | |
170 | }; | |
171 | ||
172 | pm8941-regulators { | |
173 | vdd_l1_l3-supply = <&pm8941_s1>; | |
174 | vdd_l2_lvs1_2_3-supply = <&pm8941_s3>; | |
175 | vdd_l4_l11-supply = <&pm8941_s1>; | |
176 | vdd_l5_l7-supply = <&pm8941_s2>; | |
177 | vdd_l6_l12_l14_l15-supply = <&pm8941_s2>; | |
178 | vin_5vs-supply = <&pm8941_5v>; | |
179 | ||
180 | s1 { | |
181 | regulator-min-microvolt = <1300000>; | |
182 | regulator-max-microvolt = <1300000>; | |
183 | regulator-always-on; | |
184 | regulator-boot-on; | |
185 | }; | |
186 | ||
187 | s2 { | |
188 | regulator-min-microvolt = <2150000>; | |
189 | regulator-max-microvolt = <2150000>; | |
190 | regulator-boot-on; | |
191 | }; | |
192 | ||
193 | s3 { | |
194 | regulator-min-microvolt = <1800000>; | |
195 | regulator-max-microvolt = <1800000>; | |
196 | regulator-always-on; | |
197 | regulator-boot-on; | |
198 | }; | |
199 | ||
200 | l1 { | |
201 | regulator-min-microvolt = <1225000>; | |
202 | regulator-max-microvolt = <1225000>; | |
203 | ||
204 | regulator-always-on; | |
205 | regulator-boot-on; | |
206 | }; | |
207 | ||
208 | l2 { | |
209 | regulator-min-microvolt = <1200000>; | |
210 | regulator-max-microvolt = <1200000>; | |
211 | }; | |
212 | ||
213 | l3 { | |
214 | regulator-min-microvolt = <1225000>; | |
215 | regulator-max-microvolt = <1225000>; | |
216 | }; | |
217 | ||
218 | l4 { | |
219 | regulator-min-microvolt = <1225000>; | |
220 | regulator-max-microvolt = <1225000>; | |
221 | }; | |
222 | ||
223 | l5 { | |
224 | regulator-min-microvolt = <1800000>; | |
225 | regulator-max-microvolt = <1800000>; | |
226 | }; | |
227 | ||
228 | l6 { | |
229 | regulator-min-microvolt = <1800000>; | |
230 | regulator-max-microvolt = <1800000>; | |
231 | ||
232 | regulator-boot-on; | |
233 | }; | |
234 | ||
235 | l7 { | |
236 | regulator-min-microvolt = <1800000>; | |
237 | regulator-max-microvolt = <1800000>; | |
238 | ||
239 | regulator-boot-on; | |
240 | }; | |
241 | ||
242 | l8 { | |
243 | regulator-min-microvolt = <1800000>; | |
244 | regulator-max-microvolt = <1800000>; | |
245 | }; | |
246 | ||
247 | l9 { | |
248 | regulator-min-microvolt = <1800000>; | |
249 | regulator-max-microvolt = <2950000>; | |
250 | }; | |
251 | ||
252 | l10 { | |
253 | regulator-min-microvolt = <1800000>; | |
254 | regulator-max-microvolt = <1800000>; | |
255 | regulator-always-on; | |
256 | }; | |
257 | ||
258 | l11 { | |
259 | regulator-min-microvolt = <1300000>; | |
260 | regulator-max-microvolt = <1300000>; | |
261 | }; | |
262 | ||
263 | l12 { | |
264 | regulator-min-microvolt = <1800000>; | |
265 | regulator-max-microvolt = <1800000>; | |
266 | ||
267 | regulator-always-on; | |
268 | regulator-boot-on; | |
269 | }; | |
270 | ||
271 | l13 { | |
272 | regulator-min-microvolt = <1800000>; | |
273 | regulator-max-microvolt = <2950000>; | |
274 | ||
275 | regulator-boot-on; | |
276 | }; | |
277 | ||
278 | l14 { | |
279 | regulator-min-microvolt = <1800000>; | |
280 | regulator-max-microvolt = <1800000>; | |
281 | }; | |
282 | ||
283 | l15 { | |
284 | regulator-min-microvolt = <2050000>; | |
285 | regulator-max-microvolt = <2050000>; | |
286 | }; | |
287 | ||
288 | l16 { | |
289 | regulator-min-microvolt = <2700000>; | |
290 | regulator-max-microvolt = <2700000>; | |
291 | }; | |
292 | ||
293 | l17 { | |
294 | regulator-min-microvolt = <2700000>; | |
295 | regulator-max-microvolt = <2700000>; | |
296 | }; | |
297 | ||
298 | l18 { | |
299 | regulator-min-microvolt = <2850000>; | |
300 | regulator-max-microvolt = <2850000>; | |
301 | }; | |
302 | ||
303 | l19 { | |
304 | regulator-min-microvolt = <3300000>; | |
305 | regulator-max-microvolt = <3300000>; | |
306 | regulator-always-on; | |
307 | }; | |
308 | ||
309 | l20 { | |
310 | regulator-min-microvolt = <2950000>; | |
311 | regulator-max-microvolt = <2950000>; | |
312 | ||
313 | regulator-allow-set-load; | |
314 | regulator-boot-on; | |
315 | regulator-system-load = <200000>; | |
316 | }; | |
317 | ||
318 | l21 { | |
319 | regulator-min-microvolt = <2950000>; | |
320 | regulator-max-microvolt = <2950000>; | |
321 | ||
322 | regulator-boot-on; | |
323 | }; | |
324 | ||
325 | l22 { | |
326 | regulator-min-microvolt = <3000000>; | |
327 | regulator-max-microvolt = <3000000>; | |
328 | }; | |
329 | ||
330 | l23 { | |
331 | regulator-min-microvolt = <3000000>; | |
332 | regulator-max-microvolt = <3000000>; | |
333 | }; | |
334 | ||
335 | l24 { | |
336 | regulator-min-microvolt = <3075000>; | |
337 | regulator-max-microvolt = <3075000>; | |
338 | ||
339 | regulator-boot-on; | |
340 | }; | |
341 | }; | |
342 | }; | |
343 | }; | |
344 | }; | |
9857a753 | 345 | }; |