Commit | Line | Data |
---|---|---|
15dfdfad TF |
1 | /* |
2 | * Samsung's Exynos4412 based Trats 2 board device tree source | |
3 | * | |
4 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. | |
5 | * http://www.samsung.com | |
6 | * | |
7 | * Device tree source file for Samsung's Trats 2 board which is based on | |
8 | * Samsung's Exynos4412 SoC. | |
9 | * | |
10 | * This program is free software; you can redistribute it and/or modify | |
11 | * it under the terms of the GNU General Public License version 2 as | |
12 | * published by the Free Software Foundation. | |
13 | */ | |
14 | ||
15 | /dts-v1/; | |
16 | #include "exynos4412.dtsi" | |
17 | ||
18 | / { | |
19 | model = "Samsung Trats 2 based on Exynos4412"; | |
20 | compatible = "samsung,trats2", "samsung,exynos4412"; | |
21 | ||
22 | memory { | |
23 | reg = <0x40000000 0x40000000>; | |
24 | }; | |
25 | ||
26 | chosen { | |
27 | bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; | |
28 | }; | |
29 | ||
30 | firmware@0204F000 { | |
31 | compatible = "samsung,secure-firmware"; | |
32 | reg = <0x0204F000 0x1000>; | |
33 | }; | |
34 | ||
35 | fixed-rate-clocks { | |
36 | xxti { | |
37 | compatible = "samsung,clock-xxti", "fixed-clock"; | |
38 | clock-frequency = <0>; | |
39 | }; | |
40 | ||
41 | xusbxti { | |
42 | compatible = "samsung,clock-xusbxti", "fixed-clock"; | |
43 | clock-frequency = <24000000>; | |
44 | }; | |
45 | }; | |
46 | ||
47 | regulators { | |
48 | compatible = "simple-bus"; | |
49 | #address-cells = <1>; | |
50 | #size-cells = <0>; | |
51 | ||
52 | vemmc_reg: regulator-0 { | |
53 | compatible = "regulator-fixed"; | |
54 | regulator-name = "VMEM_VDD_2.8V"; | |
55 | regulator-min-microvolt = <2800000>; | |
56 | regulator-max-microvolt = <2800000>; | |
57 | gpio = <&gpk0 2 0>; | |
58 | enable-active-high; | |
59 | }; | |
60 | ||
61 | /* More to come */ | |
62 | }; | |
63 | ||
64 | gpio-keys { | |
65 | compatible = "gpio-keys"; | |
66 | ||
67 | key-down { | |
68 | interrupt-parent = <&gpj1>; | |
69 | interrupts = <2 0>; | |
70 | gpios = <&gpj1 2 1>; | |
71 | linux,code = <114>; | |
72 | label = "volume down"; | |
73 | debounce-interval = <10>; | |
74 | }; | |
75 | ||
76 | key-up { | |
77 | interrupt-parent = <&gpj1>; | |
78 | interrupts = <1 0>; | |
79 | gpios = <&gpj1 1 1>; | |
80 | linux,code = <115>; | |
81 | label = "volume up"; | |
82 | debounce-interval = <10>; | |
83 | }; | |
84 | ||
85 | key-power { | |
86 | interrupt-parent = <&gpx2>; | |
87 | interrupts = <7 0>; | |
88 | gpios = <&gpx2 7 1>; | |
89 | linux,code = <116>; | |
90 | label = "power"; | |
91 | debounce-interval = <10>; | |
92 | gpio-key,wakeup; | |
93 | }; | |
94 | }; | |
95 | ||
96 | i2c@13890000 { | |
97 | samsung,i2c-sda-delay = <100>; | |
98 | samsung,i2c-slave-addr = <0x10>; | |
99 | samsung,i2c-max-bus-freq = <400000>; | |
100 | pinctrl-0 = <&i2c3_bus>; | |
101 | pinctrl-names = "default"; | |
102 | status = "okay"; | |
103 | ||
104 | mms114-touchscreen@48 { | |
105 | compatible = "melfas,mms114"; | |
106 | reg = <0x48>; | |
107 | interrupt-parent = <&gpm2>; | |
108 | interrupts = <3 2>; | |
109 | x-size = <720>; | |
110 | y-size = <1280>; | |
111 | avdd-supply = <&ldo23_reg>; | |
112 | vdd-supply = <&ldo24_reg>; | |
113 | }; | |
114 | }; | |
115 | ||
116 | i2c@138D0000 { | |
117 | samsung,i2c-sda-delay = <100>; | |
118 | samsung,i2c-slave-addr = <0x10>; | |
119 | samsung,i2c-max-bus-freq = <100000>; | |
120 | pinctrl-0 = <&i2c7_bus>; | |
121 | pinctrl-names = "default"; | |
122 | status = "okay"; | |
123 | ||
124 | max77686_pmic@09 { | |
125 | compatible = "maxim,max77686"; | |
126 | interrupt-parent = <&gpx0>; | |
127 | interrupts = <7 0>; | |
128 | reg = <0x09>; | |
129 | ||
130 | voltage-regulators { | |
131 | ldo1_reg: ldo1 { | |
132 | regulator-compatible = "LDO1"; | |
133 | regulator-name = "VALIVE_1.0V_AP"; | |
134 | regulator-min-microvolt = <1000000>; | |
135 | regulator-max-microvolt = <1000000>; | |
136 | regulator-always-on; | |
137 | regulator-mem-on; | |
138 | }; | |
139 | ||
140 | ldo2_reg: ldo2 { | |
141 | regulator-compatible = "LDO2"; | |
142 | regulator-name = "VM1M2_1.2V_AP"; | |
143 | regulator-min-microvolt = <1200000>; | |
144 | regulator-max-microvolt = <1200000>; | |
145 | regulator-always-on; | |
146 | regulator-mem-on; | |
147 | }; | |
148 | ||
149 | ldo3_reg: ldo3 { | |
150 | regulator-compatible = "LDO3"; | |
151 | regulator-name = "VCC_1.8V_AP"; | |
152 | regulator-min-microvolt = <1800000>; | |
153 | regulator-max-microvolt = <1800000>; | |
154 | regulator-always-on; | |
155 | regulator-mem-on; | |
156 | }; | |
157 | ||
158 | ldo4_reg: ldo4 { | |
159 | regulator-compatible = "LDO4"; | |
160 | regulator-name = "VCC_2.8V_AP"; | |
161 | regulator-min-microvolt = <2800000>; | |
162 | regulator-max-microvolt = <2800000>; | |
163 | regulator-always-on; | |
164 | regulator-mem-on; | |
165 | }; | |
166 | ||
167 | ldo5_reg: ldo5 { | |
168 | regulator-compatible = "LDO5"; | |
169 | regulator-name = "VCC_1.8V_IO"; | |
170 | regulator-min-microvolt = <1800000>; | |
171 | regulator-max-microvolt = <1800000>; | |
172 | regulator-always-on; | |
173 | regulator-mem-on; | |
174 | }; | |
175 | ||
176 | ldo6_reg: ldo6 { | |
177 | regulator-compatible = "LDO6"; | |
178 | regulator-name = "VMPLL_1.0V_AP"; | |
179 | regulator-min-microvolt = <1000000>; | |
180 | regulator-max-microvolt = <1000000>; | |
181 | regulator-always-on; | |
182 | regulator-mem-on; | |
183 | }; | |
184 | ||
185 | ldo7_reg: ldo7 { | |
186 | regulator-compatible = "LDO7"; | |
187 | regulator-name = "VPLL_1.0V_AP"; | |
188 | regulator-min-microvolt = <1000000>; | |
189 | regulator-max-microvolt = <1000000>; | |
190 | regulator-always-on; | |
191 | regulator-mem-on; | |
192 | }; | |
193 | ||
194 | ldo8_reg: ldo8 { | |
195 | regulator-compatible = "LDO8"; | |
196 | regulator-name = "VMIPI_1.0V"; | |
197 | regulator-min-microvolt = <1000000>; | |
198 | regulator-max-microvolt = <1000000>; | |
199 | regulator-mem-off; | |
200 | }; | |
201 | ||
202 | ldo9_reg: ldo9 { | |
203 | regulator-compatible = "LDO9"; | |
204 | regulator-name = "CAM_ISP_MIPI_1.2V"; | |
205 | regulator-min-microvolt = <1200000>; | |
206 | regulator-max-microvolt = <1200000>; | |
207 | regulator-mem-idle; | |
208 | }; | |
209 | ||
210 | ldo10_reg: ldo10 { | |
211 | regulator-compatible = "LDO10"; | |
212 | regulator-name = "VMIPI_1.8V"; | |
213 | regulator-min-microvolt = <1800000>; | |
214 | regulator-max-microvolt = <1800000>; | |
215 | regulator-mem-off; | |
216 | }; | |
217 | ||
218 | ldo11_reg: ldo11 { | |
219 | regulator-compatible = "LDO11"; | |
220 | regulator-name = "VABB1_1.95V"; | |
221 | regulator-min-microvolt = <1950000>; | |
222 | regulator-max-microvolt = <1950000>; | |
223 | regulator-always-on; | |
224 | regulator-mem-off; | |
225 | }; | |
226 | ||
227 | ldo12_reg: ldo12 { | |
228 | regulator-compatible = "LDO12"; | |
229 | regulator-name = "VUOTG_3.0V"; | |
230 | regulator-min-microvolt = <3000000>; | |
231 | regulator-max-microvolt = <3000000>; | |
232 | regulator-mem-off; | |
233 | }; | |
234 | ||
235 | ldo13_reg: ldo13 { | |
236 | regulator-compatible = "LDO13"; | |
237 | regulator-name = "NFC_AVDD_1.8V"; | |
238 | regulator-min-microvolt = <1800000>; | |
239 | regulator-max-microvolt = <1800000>; | |
240 | regulator-mem-idle; | |
241 | }; | |
242 | ||
243 | ldo14_reg: ldo14 { | |
244 | regulator-compatible = "LDO14"; | |
245 | regulator-name = "VABB2_1.95V"; | |
246 | regulator-min-microvolt = <1950000>; | |
247 | regulator-max-microvolt = <1950000>; | |
248 | regulator-always-on; | |
249 | regulator-mem-off; | |
250 | }; | |
251 | ||
252 | ldo15_reg: ldo15 { | |
253 | regulator-compatible = "LDO15"; | |
254 | regulator-name = "VHSIC_1.0V"; | |
255 | regulator-min-microvolt = <1000000>; | |
256 | regulator-max-microvolt = <1000000>; | |
257 | regulator-mem-off; | |
258 | }; | |
259 | ||
260 | ldo16_reg: ldo16 { | |
261 | regulator-compatible = "LDO16"; | |
262 | regulator-name = "VHSIC_1.8V"; | |
263 | regulator-min-microvolt = <1800000>; | |
264 | regulator-max-microvolt = <1800000>; | |
265 | regulator-mem-off; | |
266 | }; | |
267 | ||
268 | ldo17_reg: ldo17 { | |
269 | regulator-compatible = "LDO17"; | |
270 | regulator-name = "CAM_SENSOR_CORE_1.2V"; | |
271 | regulator-min-microvolt = <1200000>; | |
272 | regulator-max-microvolt = <1200000>; | |
273 | regulator-mem-idle; | |
274 | }; | |
275 | ||
276 | ldo18_reg: ldo18 { | |
277 | regulator-compatible = "LDO18"; | |
278 | regulator-name = "CAM_ISP_SEN_IO_1.8V"; | |
279 | regulator-min-microvolt = <1800000>; | |
280 | regulator-max-microvolt = <1800000>; | |
281 | regulator-mem-idle; | |
282 | }; | |
283 | ||
284 | ldo19_reg: ldo19 { | |
285 | regulator-compatible = "LDO19"; | |
286 | regulator-name = "VT_CAM_1.8V"; | |
287 | regulator-min-microvolt = <1800000>; | |
288 | regulator-max-microvolt = <1800000>; | |
289 | regulator-mem-idle; | |
290 | }; | |
291 | ||
292 | ldo20_reg: ldo20 { | |
293 | regulator-compatible = "LDO20"; | |
294 | regulator-name = "VDDQ_PRE_1.8V"; | |
295 | regulator-min-microvolt = <1800000>; | |
296 | regulator-max-microvolt = <1800000>; | |
297 | regulator-mem-idle; | |
298 | }; | |
299 | ||
300 | ldo21_reg: ldo21 { | |
301 | regulator-compatible = "LDO21"; | |
302 | regulator-name = "VTF_2.8V"; | |
303 | regulator-min-microvolt = <2800000>; | |
304 | regulator-max-microvolt = <2800000>; | |
305 | regulator-mem-idle; | |
306 | }; | |
307 | ||
308 | ldo22_reg: ldo22 { | |
309 | regulator-compatible = "LDO22"; | |
310 | regulator-name = "VMEM_VDD_2.8V"; | |
311 | regulator-min-microvolt = <2800000>; | |
312 | regulator-max-microvolt = <2800000>; | |
313 | regulator-always-on; | |
314 | regulator-mem-off; | |
315 | }; | |
316 | ||
317 | ldo23_reg: ldo23 { | |
318 | regulator-compatible = "LDO23"; | |
319 | regulator-name = "TSP_AVDD_3.3V"; | |
320 | regulator-min-microvolt = <3300000>; | |
321 | regulator-max-microvolt = <3300000>; | |
322 | regulator-mem-idle; | |
323 | }; | |
324 | ||
325 | ldo24_reg: ldo24 { | |
326 | regulator-compatible = "LDO24"; | |
327 | regulator-name = "TSP_VDD_1.8V"; | |
328 | regulator-min-microvolt = <1800000>; | |
329 | regulator-max-microvolt = <1800000>; | |
330 | regulator-mem-idle; | |
331 | }; | |
332 | ||
333 | ldo25_reg: ldo25 { | |
334 | regulator-compatible = "LDO25"; | |
335 | regulator-name = "LCD_VCC_3.3V"; | |
336 | regulator-min-microvolt = <2800000>; | |
337 | regulator-max-microvolt = <2800000>; | |
338 | regulator-mem-idle; | |
339 | }; | |
340 | ||
341 | ldo26_reg: ldo26 { | |
342 | regulator-compatible = "LDO26"; | |
343 | regulator-name = "MOTOR_VCC_3.0V"; | |
344 | regulator-min-microvolt = <3000000>; | |
345 | regulator-max-microvolt = <3000000>; | |
346 | regulator-mem-idle; | |
347 | }; | |
348 | ||
349 | buck1_reg: buck1 { | |
350 | regulator-compatible = "BUCK1"; | |
351 | regulator-name = "vdd_mif"; | |
352 | regulator-min-microvolt = <850000>; | |
353 | regulator-max-microvolt = <1100000>; | |
354 | regulator-always-on; | |
355 | regulator-boot-on; | |
356 | regulator-mem-off; | |
357 | }; | |
358 | ||
359 | buck2_reg: buck2 { | |
360 | regulator-compatible = "BUCK2"; | |
361 | regulator-name = "vdd_arm"; | |
362 | regulator-min-microvolt = <850000>; | |
363 | regulator-max-microvolt = <1500000>; | |
364 | regulator-always-on; | |
365 | regulator-boot-on; | |
366 | regulator-mem-off; | |
367 | }; | |
368 | ||
369 | buck3_reg: buck3 { | |
370 | regulator-compatible = "BUCK3"; | |
371 | regulator-name = "vdd_int"; | |
372 | regulator-min-microvolt = <850000>; | |
373 | regulator-max-microvolt = <1150000>; | |
374 | regulator-always-on; | |
375 | regulator-boot-on; | |
376 | regulator-mem-off; | |
377 | }; | |
378 | ||
379 | buck4_reg: buck4 { | |
380 | regulator-compatible = "BUCK4"; | |
381 | regulator-name = "vdd_g3d"; | |
382 | regulator-min-microvolt = <850000>; | |
383 | regulator-max-microvolt = <1150000>; | |
384 | regulator-boot-on; | |
385 | regulator-mem-off; | |
386 | }; | |
387 | ||
388 | buck5_reg: buck5 { | |
389 | regulator-compatible = "BUCK5"; | |
390 | regulator-name = "VMEM_1.2V_AP"; | |
391 | regulator-min-microvolt = <1200000>; | |
392 | regulator-max-microvolt = <1200000>; | |
393 | regulator-always-on; | |
394 | }; | |
395 | ||
396 | buck6_reg: buck6 { | |
397 | regulator-compatible = "BUCK6"; | |
398 | regulator-name = "VCC_SUB_1.35V"; | |
399 | regulator-min-microvolt = <1350000>; | |
400 | regulator-max-microvolt = <1350000>; | |
401 | regulator-always-on; | |
402 | }; | |
403 | ||
404 | buck7_reg: buck7 { | |
405 | regulator-compatible = "BUCK7"; | |
406 | regulator-name = "VCC_SUB_2.0V"; | |
407 | regulator-min-microvolt = <2000000>; | |
408 | regulator-max-microvolt = <2000000>; | |
409 | regulator-always-on; | |
410 | }; | |
411 | ||
412 | buck8_reg: buck8 { | |
413 | regulator-compatible = "BUCK8"; | |
414 | regulator-name = "VMEM_VDDF_3.0V"; | |
415 | regulator-min-microvolt = <2850000>; | |
416 | regulator-max-microvolt = <2850000>; | |
417 | regulator-always-on; | |
418 | regulator-mem-off; | |
419 | }; | |
420 | ||
421 | buck9_reg: buck9 { | |
422 | regulator-compatible = "BUCK9"; | |
423 | regulator-name = "CAM_ISP_CORE_1.2V"; | |
424 | regulator-min-microvolt = <1000000>; | |
425 | regulator-max-microvolt = <1200000>; | |
426 | regulator-mem-off; | |
427 | }; | |
428 | }; | |
429 | }; | |
430 | }; | |
431 | ||
432 | sdhci@12510000 { | |
433 | bus-width = <8>; | |
434 | non-removable; | |
435 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>; | |
436 | pinctrl-names = "default"; | |
437 | vmmc-supply = <&vemmc_reg>; | |
438 | status = "okay"; | |
439 | }; | |
440 | ||
441 | serial@13800000 { | |
442 | status = "okay"; | |
443 | }; | |
444 | ||
445 | serial@13810000 { | |
446 | status = "okay"; | |
447 | }; | |
448 | ||
449 | serial@13820000 { | |
450 | status = "okay"; | |
451 | }; | |
452 | ||
453 | serial@13830000 { | |
454 | status = "okay"; | |
455 | }; | |
456 | }; |