]>
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"; | |
8bdb31b4 | 20 | compatible = "samsung,trats2", "samsung,exynos4412", "samsung,exynos4"; |
15dfdfad | 21 | |
9f1eaef2 | 22 | aliases { |
6af2ba90 | 23 | i2c9 = &i2c_ak8975; |
85cb4e0b | 24 | i2c10 = &i2c_cm36651; |
9f1eaef2 JA |
25 | }; |
26 | ||
15dfdfad TF |
27 | memory { |
28 | reg = <0x40000000 0x40000000>; | |
29 | }; | |
30 | ||
31 | chosen { | |
32 | bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; | |
33 | }; | |
34 | ||
35 | firmware@0204F000 { | |
36 | compatible = "samsung,secure-firmware"; | |
37 | reg = <0x0204F000 0x1000>; | |
38 | }; | |
39 | ||
40 | fixed-rate-clocks { | |
41 | xxti { | |
42 | compatible = "samsung,clock-xxti", "fixed-clock"; | |
43 | clock-frequency = <0>; | |
44 | }; | |
45 | ||
46 | xusbxti { | |
47 | compatible = "samsung,clock-xusbxti", "fixed-clock"; | |
48 | clock-frequency = <24000000>; | |
49 | }; | |
50 | }; | |
51 | ||
52 | regulators { | |
53 | compatible = "simple-bus"; | |
54 | #address-cells = <1>; | |
55 | #size-cells = <0>; | |
56 | ||
57 | vemmc_reg: regulator-0 { | |
58 | compatible = "regulator-fixed"; | |
59 | regulator-name = "VMEM_VDD_2.8V"; | |
60 | regulator-min-microvolt = <2800000>; | |
61 | regulator-max-microvolt = <2800000>; | |
62 | gpio = <&gpk0 2 0>; | |
63 | enable-active-high; | |
64 | }; | |
65 | ||
b4fec647 SN |
66 | cam_io_reg: voltage-regulator-1 { |
67 | compatible = "regulator-fixed"; | |
68 | regulator-name = "CAM_SENSOR_A"; | |
69 | regulator-min-microvolt = <2800000>; | |
70 | regulator-max-microvolt = <2800000>; | |
71 | gpio = <&gpm0 2 0>; | |
72 | enable-active-high; | |
73 | }; | |
74 | ||
420ae845 AH |
75 | lcd_vdd3_reg: voltage-regulator-2 { |
76 | compatible = "regulator-fixed"; | |
77 | regulator-name = "LCD_VDD_2.2V"; | |
78 | regulator-min-microvolt = <2200000>; | |
79 | regulator-max-microvolt = <2200000>; | |
80 | gpio = <&gpc0 1 0>; | |
81 | enable-active-high; | |
82 | }; | |
83 | ||
4cb37864 SN |
84 | cam_af_reg: voltage-regulator-3 { |
85 | compatible = "regulator-fixed"; | |
86 | regulator-name = "CAM_AF"; | |
87 | regulator-min-microvolt = <2800000>; | |
88 | regulator-max-microvolt = <2800000>; | |
89 | gpio = <&gpm0 4 0>; | |
90 | enable-active-high; | |
91 | }; | |
92 | ||
93 | cam_isp_core_reg: voltage-regulator-4 { | |
94 | compatible = "regulator-fixed"; | |
95 | regulator-name = "CAM_ISP_CORE_1.2V_EN"; | |
96 | regulator-min-microvolt = <1200000>; | |
97 | regulator-max-microvolt = <1200000>; | |
98 | gpio = <&gpm0 3 0>; | |
99 | enable-active-high; | |
100 | regulator-always-on; | |
101 | }; | |
85cb4e0b BS |
102 | |
103 | ps_als_reg: voltage-regulator-5 { | |
104 | compatible = "regulator-fixed"; | |
105 | regulator-name = "LED_A_3.0V"; | |
106 | regulator-min-microvolt = <3000000>; | |
107 | regulator-max-microvolt = <3000000>; | |
108 | gpio = <&gpj0 5 0>; | |
109 | enable-active-high; | |
110 | }; | |
15dfdfad TF |
111 | }; |
112 | ||
113 | gpio-keys { | |
114 | compatible = "gpio-keys"; | |
115 | ||
116 | key-down { | |
172ff6c6 | 117 | gpios = <&gpx3 3 1>; |
15dfdfad TF |
118 | linux,code = <114>; |
119 | label = "volume down"; | |
120 | debounce-interval = <10>; | |
121 | }; | |
122 | ||
123 | key-up { | |
172ff6c6 | 124 | gpios = <&gpx2 2 1>; |
15dfdfad TF |
125 | linux,code = <115>; |
126 | label = "volume up"; | |
127 | debounce-interval = <10>; | |
128 | }; | |
129 | ||
130 | key-power { | |
15dfdfad TF |
131 | gpios = <&gpx2 7 1>; |
132 | linux,code = <116>; | |
133 | label = "power"; | |
134 | debounce-interval = <10>; | |
135 | gpio-key,wakeup; | |
136 | }; | |
172ff6c6 BS |
137 | |
138 | key-ok { | |
139 | gpios = <&gpx0 1 1>; | |
140 | linux,code = <139>; | |
141 | label = "ok"; | |
142 | debounce-inteval = <10>; | |
143 | gpio-key,wakeup; | |
144 | }; | |
15dfdfad TF |
145 | }; |
146 | ||
4f423788 CC |
147 | adc: adc@126C0000 { |
148 | vdd-supply = <&ldo3_reg>; | |
149 | status = "okay"; | |
150 | }; | |
151 | ||
15dfdfad TF |
152 | i2c@13890000 { |
153 | samsung,i2c-sda-delay = <100>; | |
154 | samsung,i2c-slave-addr = <0x10>; | |
155 | samsung,i2c-max-bus-freq = <400000>; | |
156 | pinctrl-0 = <&i2c3_bus>; | |
157 | pinctrl-names = "default"; | |
158 | status = "okay"; | |
159 | ||
160 | mms114-touchscreen@48 { | |
161 | compatible = "melfas,mms114"; | |
162 | reg = <0x48>; | |
163 | interrupt-parent = <&gpm2>; | |
164 | interrupts = <3 2>; | |
165 | x-size = <720>; | |
166 | y-size = <1280>; | |
167 | avdd-supply = <&ldo23_reg>; | |
168 | vdd-supply = <&ldo24_reg>; | |
169 | }; | |
170 | }; | |
171 | ||
4cb37864 SN |
172 | i2c_0: i2c@13860000 { |
173 | samsung,i2c-sda-delay = <100>; | |
174 | samsung,i2c-slave-addr = <0x10>; | |
175 | samsung,i2c-max-bus-freq = <400000>; | |
176 | pinctrl-0 = <&i2c0_bus>; | |
177 | pinctrl-names = "default"; | |
178 | status = "okay"; | |
179 | ||
180 | s5c73m3@3c { | |
181 | compatible = "samsung,s5c73m3"; | |
182 | reg = <0x3c>; | |
183 | standby-gpios = <&gpm0 1 1>; /* ISP_STANDBY */ | |
184 | xshutdown-gpios = <&gpf1 3 1>; /* ISP_RESET */ | |
185 | vdd-int-supply = <&buck9_reg>; | |
186 | vddio-cis-supply = <&ldo9_reg>; | |
187 | vdda-supply = <&ldo17_reg>; | |
188 | vddio-host-supply = <&ldo18_reg>; | |
189 | vdd-af-supply = <&cam_af_reg>; | |
190 | vdd-reg-supply = <&cam_io_reg>; | |
191 | clock-frequency = <24000000>; | |
192 | /* CAM_A_CLKOUT */ | |
193 | clocks = <&camera 0>; | |
194 | clock-names = "cis_extclk"; | |
195 | port { | |
196 | s5c73m3_ep: endpoint { | |
197 | remote-endpoint = <&csis0_ep>; | |
198 | data-lanes = <1 2 3 4>; | |
199 | }; | |
200 | }; | |
201 | }; | |
202 | }; | |
203 | ||
15dfdfad TF |
204 | i2c@138D0000 { |
205 | samsung,i2c-sda-delay = <100>; | |
206 | samsung,i2c-slave-addr = <0x10>; | |
207 | samsung,i2c-max-bus-freq = <100000>; | |
208 | pinctrl-0 = <&i2c7_bus>; | |
209 | pinctrl-names = "default"; | |
210 | status = "okay"; | |
211 | ||
212 | max77686_pmic@09 { | |
213 | compatible = "maxim,max77686"; | |
214 | interrupt-parent = <&gpx0>; | |
215 | interrupts = <7 0>; | |
216 | reg = <0x09>; | |
ada12c47 | 217 | #clock-cells = <1>; |
15dfdfad TF |
218 | |
219 | voltage-regulators { | |
220 | ldo1_reg: ldo1 { | |
221 | regulator-compatible = "LDO1"; | |
222 | regulator-name = "VALIVE_1.0V_AP"; | |
223 | regulator-min-microvolt = <1000000>; | |
224 | regulator-max-microvolt = <1000000>; | |
225 | regulator-always-on; | |
226 | regulator-mem-on; | |
227 | }; | |
228 | ||
229 | ldo2_reg: ldo2 { | |
230 | regulator-compatible = "LDO2"; | |
231 | regulator-name = "VM1M2_1.2V_AP"; | |
232 | regulator-min-microvolt = <1200000>; | |
233 | regulator-max-microvolt = <1200000>; | |
234 | regulator-always-on; | |
235 | regulator-mem-on; | |
236 | }; | |
237 | ||
238 | ldo3_reg: ldo3 { | |
239 | regulator-compatible = "LDO3"; | |
240 | regulator-name = "VCC_1.8V_AP"; | |
241 | regulator-min-microvolt = <1800000>; | |
242 | regulator-max-microvolt = <1800000>; | |
243 | regulator-always-on; | |
244 | regulator-mem-on; | |
245 | }; | |
246 | ||
247 | ldo4_reg: ldo4 { | |
248 | regulator-compatible = "LDO4"; | |
249 | regulator-name = "VCC_2.8V_AP"; | |
250 | regulator-min-microvolt = <2800000>; | |
251 | regulator-max-microvolt = <2800000>; | |
252 | regulator-always-on; | |
253 | regulator-mem-on; | |
254 | }; | |
255 | ||
256 | ldo5_reg: ldo5 { | |
257 | regulator-compatible = "LDO5"; | |
258 | regulator-name = "VCC_1.8V_IO"; | |
259 | regulator-min-microvolt = <1800000>; | |
260 | regulator-max-microvolt = <1800000>; | |
261 | regulator-always-on; | |
262 | regulator-mem-on; | |
263 | }; | |
264 | ||
265 | ldo6_reg: ldo6 { | |
266 | regulator-compatible = "LDO6"; | |
267 | regulator-name = "VMPLL_1.0V_AP"; | |
268 | regulator-min-microvolt = <1000000>; | |
269 | regulator-max-microvolt = <1000000>; | |
270 | regulator-always-on; | |
271 | regulator-mem-on; | |
272 | }; | |
273 | ||
274 | ldo7_reg: ldo7 { | |
275 | regulator-compatible = "LDO7"; | |
276 | regulator-name = "VPLL_1.0V_AP"; | |
277 | regulator-min-microvolt = <1000000>; | |
278 | regulator-max-microvolt = <1000000>; | |
279 | regulator-always-on; | |
280 | regulator-mem-on; | |
281 | }; | |
282 | ||
283 | ldo8_reg: ldo8 { | |
284 | regulator-compatible = "LDO8"; | |
285 | regulator-name = "VMIPI_1.0V"; | |
286 | regulator-min-microvolt = <1000000>; | |
287 | regulator-max-microvolt = <1000000>; | |
288 | regulator-mem-off; | |
289 | }; | |
290 | ||
291 | ldo9_reg: ldo9 { | |
292 | regulator-compatible = "LDO9"; | |
293 | regulator-name = "CAM_ISP_MIPI_1.2V"; | |
294 | regulator-min-microvolt = <1200000>; | |
295 | regulator-max-microvolt = <1200000>; | |
296 | regulator-mem-idle; | |
297 | }; | |
298 | ||
299 | ldo10_reg: ldo10 { | |
300 | regulator-compatible = "LDO10"; | |
301 | regulator-name = "VMIPI_1.8V"; | |
302 | regulator-min-microvolt = <1800000>; | |
303 | regulator-max-microvolt = <1800000>; | |
304 | regulator-mem-off; | |
305 | }; | |
306 | ||
307 | ldo11_reg: ldo11 { | |
308 | regulator-compatible = "LDO11"; | |
309 | regulator-name = "VABB1_1.95V"; | |
310 | regulator-min-microvolt = <1950000>; | |
311 | regulator-max-microvolt = <1950000>; | |
312 | regulator-always-on; | |
313 | regulator-mem-off; | |
314 | }; | |
315 | ||
316 | ldo12_reg: ldo12 { | |
317 | regulator-compatible = "LDO12"; | |
318 | regulator-name = "VUOTG_3.0V"; | |
319 | regulator-min-microvolt = <3000000>; | |
320 | regulator-max-microvolt = <3000000>; | |
321 | regulator-mem-off; | |
322 | }; | |
323 | ||
324 | ldo13_reg: ldo13 { | |
325 | regulator-compatible = "LDO13"; | |
326 | regulator-name = "NFC_AVDD_1.8V"; | |
327 | regulator-min-microvolt = <1800000>; | |
328 | regulator-max-microvolt = <1800000>; | |
329 | regulator-mem-idle; | |
330 | }; | |
331 | ||
332 | ldo14_reg: ldo14 { | |
333 | regulator-compatible = "LDO14"; | |
334 | regulator-name = "VABB2_1.95V"; | |
335 | regulator-min-microvolt = <1950000>; | |
336 | regulator-max-microvolt = <1950000>; | |
337 | regulator-always-on; | |
338 | regulator-mem-off; | |
339 | }; | |
340 | ||
341 | ldo15_reg: ldo15 { | |
342 | regulator-compatible = "LDO15"; | |
343 | regulator-name = "VHSIC_1.0V"; | |
344 | regulator-min-microvolt = <1000000>; | |
345 | regulator-max-microvolt = <1000000>; | |
346 | regulator-mem-off; | |
347 | }; | |
348 | ||
349 | ldo16_reg: ldo16 { | |
350 | regulator-compatible = "LDO16"; | |
351 | regulator-name = "VHSIC_1.8V"; | |
352 | regulator-min-microvolt = <1800000>; | |
353 | regulator-max-microvolt = <1800000>; | |
354 | regulator-mem-off; | |
355 | }; | |
356 | ||
357 | ldo17_reg: ldo17 { | |
358 | regulator-compatible = "LDO17"; | |
359 | regulator-name = "CAM_SENSOR_CORE_1.2V"; | |
360 | regulator-min-microvolt = <1200000>; | |
361 | regulator-max-microvolt = <1200000>; | |
362 | regulator-mem-idle; | |
363 | }; | |
364 | ||
365 | ldo18_reg: ldo18 { | |
366 | regulator-compatible = "LDO18"; | |
367 | regulator-name = "CAM_ISP_SEN_IO_1.8V"; | |
368 | regulator-min-microvolt = <1800000>; | |
369 | regulator-max-microvolt = <1800000>; | |
370 | regulator-mem-idle; | |
371 | }; | |
372 | ||
373 | ldo19_reg: ldo19 { | |
374 | regulator-compatible = "LDO19"; | |
375 | regulator-name = "VT_CAM_1.8V"; | |
376 | regulator-min-microvolt = <1800000>; | |
377 | regulator-max-microvolt = <1800000>; | |
378 | regulator-mem-idle; | |
379 | }; | |
380 | ||
381 | ldo20_reg: ldo20 { | |
382 | regulator-compatible = "LDO20"; | |
383 | regulator-name = "VDDQ_PRE_1.8V"; | |
384 | regulator-min-microvolt = <1800000>; | |
385 | regulator-max-microvolt = <1800000>; | |
386 | regulator-mem-idle; | |
387 | }; | |
388 | ||
389 | ldo21_reg: ldo21 { | |
390 | regulator-compatible = "LDO21"; | |
391 | regulator-name = "VTF_2.8V"; | |
392 | regulator-min-microvolt = <2800000>; | |
393 | regulator-max-microvolt = <2800000>; | |
394 | regulator-mem-idle; | |
395 | }; | |
396 | ||
397 | ldo22_reg: ldo22 { | |
398 | regulator-compatible = "LDO22"; | |
399 | regulator-name = "VMEM_VDD_2.8V"; | |
400 | regulator-min-microvolt = <2800000>; | |
401 | regulator-max-microvolt = <2800000>; | |
15dfdfad TF |
402 | }; |
403 | ||
404 | ldo23_reg: ldo23 { | |
405 | regulator-compatible = "LDO23"; | |
406 | regulator-name = "TSP_AVDD_3.3V"; | |
407 | regulator-min-microvolt = <3300000>; | |
408 | regulator-max-microvolt = <3300000>; | |
409 | regulator-mem-idle; | |
410 | }; | |
411 | ||
412 | ldo24_reg: ldo24 { | |
413 | regulator-compatible = "LDO24"; | |
414 | regulator-name = "TSP_VDD_1.8V"; | |
415 | regulator-min-microvolt = <1800000>; | |
416 | regulator-max-microvolt = <1800000>; | |
417 | regulator-mem-idle; | |
418 | }; | |
419 | ||
420 | ldo25_reg: ldo25 { | |
421 | regulator-compatible = "LDO25"; | |
422 | regulator-name = "LCD_VCC_3.3V"; | |
423 | regulator-min-microvolt = <2800000>; | |
424 | regulator-max-microvolt = <2800000>; | |
425 | regulator-mem-idle; | |
426 | }; | |
427 | ||
428 | ldo26_reg: ldo26 { | |
429 | regulator-compatible = "LDO26"; | |
430 | regulator-name = "MOTOR_VCC_3.0V"; | |
431 | regulator-min-microvolt = <3000000>; | |
432 | regulator-max-microvolt = <3000000>; | |
433 | regulator-mem-idle; | |
434 | }; | |
435 | ||
436 | buck1_reg: buck1 { | |
437 | regulator-compatible = "BUCK1"; | |
438 | regulator-name = "vdd_mif"; | |
439 | regulator-min-microvolt = <850000>; | |
440 | regulator-max-microvolt = <1100000>; | |
441 | regulator-always-on; | |
442 | regulator-boot-on; | |
443 | regulator-mem-off; | |
444 | }; | |
445 | ||
446 | buck2_reg: buck2 { | |
447 | regulator-compatible = "BUCK2"; | |
448 | regulator-name = "vdd_arm"; | |
449 | regulator-min-microvolt = <850000>; | |
450 | regulator-max-microvolt = <1500000>; | |
451 | regulator-always-on; | |
452 | regulator-boot-on; | |
453 | regulator-mem-off; | |
454 | }; | |
455 | ||
456 | buck3_reg: buck3 { | |
457 | regulator-compatible = "BUCK3"; | |
458 | regulator-name = "vdd_int"; | |
459 | regulator-min-microvolt = <850000>; | |
460 | regulator-max-microvolt = <1150000>; | |
461 | regulator-always-on; | |
462 | regulator-boot-on; | |
463 | regulator-mem-off; | |
464 | }; | |
465 | ||
466 | buck4_reg: buck4 { | |
467 | regulator-compatible = "BUCK4"; | |
468 | regulator-name = "vdd_g3d"; | |
469 | regulator-min-microvolt = <850000>; | |
470 | regulator-max-microvolt = <1150000>; | |
471 | regulator-boot-on; | |
472 | regulator-mem-off; | |
473 | }; | |
474 | ||
475 | buck5_reg: buck5 { | |
476 | regulator-compatible = "BUCK5"; | |
477 | regulator-name = "VMEM_1.2V_AP"; | |
478 | regulator-min-microvolt = <1200000>; | |
479 | regulator-max-microvolt = <1200000>; | |
480 | regulator-always-on; | |
481 | }; | |
482 | ||
483 | buck6_reg: buck6 { | |
484 | regulator-compatible = "BUCK6"; | |
485 | regulator-name = "VCC_SUB_1.35V"; | |
486 | regulator-min-microvolt = <1350000>; | |
487 | regulator-max-microvolt = <1350000>; | |
488 | regulator-always-on; | |
489 | }; | |
490 | ||
491 | buck7_reg: buck7 { | |
492 | regulator-compatible = "BUCK7"; | |
493 | regulator-name = "VCC_SUB_2.0V"; | |
494 | regulator-min-microvolt = <2000000>; | |
495 | regulator-max-microvolt = <2000000>; | |
496 | regulator-always-on; | |
497 | }; | |
498 | ||
499 | buck8_reg: buck8 { | |
500 | regulator-compatible = "BUCK8"; | |
501 | regulator-name = "VMEM_VDDF_3.0V"; | |
502 | regulator-min-microvolt = <2850000>; | |
503 | regulator-max-microvolt = <2850000>; | |
15dfdfad TF |
504 | }; |
505 | ||
506 | buck9_reg: buck9 { | |
507 | regulator-compatible = "BUCK9"; | |
508 | regulator-name = "CAM_ISP_CORE_1.2V"; | |
509 | regulator-min-microvolt = <1000000>; | |
510 | regulator-max-microvolt = <1200000>; | |
511 | regulator-mem-off; | |
512 | }; | |
513 | }; | |
514 | }; | |
515 | }; | |
516 | ||
ca7c11fc TF |
517 | mmc@12550000 { |
518 | num-slots = <1>; | |
ca7c11fc | 519 | broken-cd; |
15dfdfad | 520 | non-removable; |
ca7c11fc | 521 | card-detect-delay = <200>; |
15dfdfad | 522 | vmmc-supply = <&vemmc_reg>; |
ca7c11fc TF |
523 | clock-frequency = <400000000>; |
524 | samsung,dw-mshc-ciu-div = <0>; | |
525 | samsung,dw-mshc-sdr-timing = <2 3>; | |
526 | samsung,dw-mshc-ddr-timing = <1 2>; | |
527 | pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; | |
528 | pinctrl-names = "default"; | |
15dfdfad | 529 | status = "okay"; |
aaa25a5a JC |
530 | bus-width = <8>; |
531 | cap-mmc-highspeed; | |
15dfdfad TF |
532 | }; |
533 | ||
534 | serial@13800000 { | |
535 | status = "okay"; | |
536 | }; | |
537 | ||
538 | serial@13810000 { | |
539 | status = "okay"; | |
540 | }; | |
541 | ||
542 | serial@13820000 { | |
543 | status = "okay"; | |
544 | }; | |
545 | ||
546 | serial@13830000 { | |
547 | status = "okay"; | |
548 | }; | |
9f1eaef2 JA |
549 | |
550 | i2c_ak8975: i2c-gpio-0 { | |
551 | compatible = "i2c-gpio"; | |
552 | gpios = <&gpy2 4 0>, <&gpy2 5 0>; | |
553 | i2c-gpio,delay-us = <2>; | |
554 | #address-cells = <1>; | |
555 | #size-cells = <0>; | |
556 | status = "okay"; | |
557 | ||
558 | ak8975@0c { | |
30cc798b | 559 | compatible = "asahi-kasei,ak8975"; |
9f1eaef2 JA |
560 | reg = <0x0c>; |
561 | gpios = <&gpj0 7 0>; | |
562 | }; | |
563 | }; | |
b4fec647 | 564 | |
85cb4e0b BS |
565 | i2c_cm36651: i2c-gpio-2 { |
566 | compatible = "i2c-gpio"; | |
567 | gpios = <&gpf0 0 1>, <&gpf0 1 1>; | |
568 | i2c-gpio,delay-us = <2>; | |
569 | #address-cells = <1>; | |
570 | #size-cells = <0>; | |
571 | ||
572 | cm36651@18 { | |
573 | compatible = "capella,cm36651"; | |
574 | reg = <0x18>; | |
575 | interrupt-parent = <&gpx0>; | |
576 | interrupts = <2 2>; | |
577 | vled-supply = <&ps_als_reg>; | |
578 | }; | |
579 | }; | |
580 | ||
201f1267 AH |
581 | spi_1: spi@13930000 { |
582 | pinctrl-names = "default"; | |
583 | pinctrl-0 = <&spi1_bus>; | |
e138d433 | 584 | cs-gpios = <&gpb 5 0>; |
201f1267 AH |
585 | status = "okay"; |
586 | ||
587 | s5c73m3_spi: s5c73m3 { | |
588 | compatible = "samsung,s5c73m3"; | |
589 | spi-max-frequency = <50000000>; | |
590 | reg = <0>; | |
591 | controller-data { | |
201f1267 AH |
592 | samsung,spi-feedback-delay = <2>; |
593 | }; | |
594 | }; | |
595 | }; | |
596 | ||
420ae845 AH |
597 | dsi_0: dsi@11C80000 { |
598 | vddcore-supply = <&ldo8_reg>; | |
599 | vddio-supply = <&ldo10_reg>; | |
600 | samsung,pll-clock-frequency = <24000000>; | |
601 | status = "okay"; | |
602 | ||
603 | ports { | |
604 | #address-cells = <1>; | |
605 | #size-cells = <0>; | |
606 | ||
607 | port@1 { | |
608 | reg = <1>; | |
609 | ||
610 | dsi_out: endpoint { | |
611 | remote-endpoint = <&dsi_in>; | |
612 | samsung,burst-clock-frequency = <500000000>; | |
613 | samsung,esc-clock-frequency = <20000000>; | |
614 | }; | |
615 | }; | |
616 | }; | |
617 | ||
618 | panel@0 { | |
619 | compatible = "samsung,s6e8aa0"; | |
620 | reg = <0>; | |
621 | vdd3-supply = <&lcd_vdd3_reg>; | |
622 | vci-supply = <&ldo25_reg>; | |
623 | reset-gpios = <&gpy4 5 0>; | |
624 | power-on-delay= <50>; | |
625 | reset-delay = <100>; | |
626 | init-delay = <100>; | |
627 | flip-horizontal; | |
628 | flip-vertical; | |
629 | panel-width-mm = <58>; | |
630 | panel-height-mm = <103>; | |
631 | ||
632 | display-timings { | |
633 | timing-0 { | |
634 | clock-frequency = <0>; | |
635 | hactive = <720>; | |
636 | vactive = <1280>; | |
637 | hfront-porch = <5>; | |
638 | hback-porch = <5>; | |
639 | hsync-len = <5>; | |
640 | vfront-porch = <13>; | |
641 | vback-porch = <1>; | |
642 | vsync-len = <2>; | |
643 | }; | |
644 | }; | |
645 | ||
646 | port { | |
647 | dsi_in: endpoint { | |
648 | remote-endpoint = <&dsi_out>; | |
649 | }; | |
650 | }; | |
651 | }; | |
652 | }; | |
653 | ||
bbab1e3f AH |
654 | fimd@11c00000 { |
655 | status = "okay"; | |
656 | }; | |
657 | ||
4cb37864 SN |
658 | camera: camera { |
659 | pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>; | |
b4fec647 SN |
660 | pinctrl-names = "default"; |
661 | status = "okay"; | |
662 | ||
663 | fimc_0: fimc@11800000 { | |
664 | status = "okay"; | |
665 | }; | |
666 | ||
667 | fimc_1: fimc@11810000 { | |
668 | status = "okay"; | |
669 | }; | |
670 | ||
671 | fimc_2: fimc@11820000 { | |
672 | status = "okay"; | |
673 | }; | |
674 | ||
675 | fimc_3: fimc@11830000 { | |
676 | status = "okay"; | |
677 | }; | |
678 | ||
4cb37864 SN |
679 | csis_0: csis@11880000 { |
680 | status = "okay"; | |
681 | vddcore-supply = <&ldo8_reg>; | |
682 | vddio-supply = <&ldo10_reg>; | |
683 | clock-frequency = <176000000>; | |
684 | ||
685 | /* Camera C (3) MIPI CSI-2 (CSIS0) */ | |
686 | port@3 { | |
687 | reg = <3>; | |
688 | csis0_ep: endpoint { | |
689 | remote-endpoint = <&s5c73m3_ep>; | |
690 | data-lanes = <1 2 3 4>; | |
691 | samsung,csis-hs-settle = <12>; | |
692 | }; | |
693 | }; | |
694 | }; | |
695 | ||
b4fec647 SN |
696 | csis_1: csis@11890000 { |
697 | vddcore-supply = <&ldo8_reg>; | |
698 | vddio-supply = <&ldo10_reg>; | |
699 | clock-frequency = <160000000>; | |
700 | status = "okay"; | |
701 | ||
702 | /* Camera D (4) MIPI CSI-2 (CSIS1) */ | |
703 | port@4 { | |
704 | reg = <4>; | |
705 | csis1_ep: endpoint { | |
706 | remote-endpoint = <&is_s5k6a3_ep>; | |
707 | data-lanes = <1>; | |
708 | samsung,csis-hs-settle = <18>; | |
709 | samsung,csis-wclk; | |
710 | }; | |
711 | }; | |
712 | }; | |
713 | ||
714 | fimc_lite_0: fimc-lite@12390000 { | |
715 | status = "okay"; | |
716 | }; | |
717 | ||
718 | fimc_lite_1: fimc-lite@123A0000 { | |
719 | status = "okay"; | |
720 | }; | |
721 | ||
722 | fimc-is@12000000 { | |
723 | pinctrl-0 = <&fimc_is_uart>; | |
724 | pinctrl-names = "default"; | |
725 | status = "okay"; | |
726 | ||
727 | i2c1_isp: i2c-isp@12140000 { | |
728 | pinctrl-0 = <&fimc_is_i2c1>; | |
729 | pinctrl-names = "default"; | |
730 | ||
731 | s5k6a3@10 { | |
732 | compatible = "samsung,s5k6a3"; | |
733 | reg = <0x10>; | |
734 | svdda-supply = <&cam_io_reg>; | |
735 | svddio-supply = <&ldo19_reg>; | |
ee5eda64 | 736 | afvdd-supply = <&ldo19_reg>; |
b4fec647 SN |
737 | clock-frequency = <24000000>; |
738 | /* CAM_B_CLKOUT */ | |
ee5eda64 SN |
739 | clocks = <&camera 1>; |
740 | clock-names = "extclk"; | |
b4fec647 SN |
741 | samsung,camclk-out = <1>; |
742 | gpios = <&gpm1 6 0>; | |
743 | ||
744 | port { | |
745 | is_s5k6a3_ep: endpoint { | |
746 | remote-endpoint = <&csis1_ep>; | |
747 | data-lanes = <1>; | |
748 | }; | |
749 | }; | |
750 | }; | |
751 | }; | |
752 | }; | |
753 | }; | |
4f423788 | 754 | |
3c8977f1 CP |
755 | exynos-usbphy@125B0000 { |
756 | status = "okay"; | |
757 | }; | |
758 | ||
759 | hsotg@12480000 { | |
760 | vusb_d-supply = <&ldo15_reg>; | |
761 | vusb_a-supply = <&ldo12_reg>; | |
762 | status = "okay"; | |
763 | }; | |
764 | ||
4f423788 CC |
765 | thermistor-ap@0 { |
766 | compatible = "ntc,ncp15wb473"; | |
767 | pullup-uv = <1800000>; /* VCC_1.8V_AP */ | |
768 | pullup-ohm = <100000>; /* 100K */ | |
769 | pulldown-ohm = <100000>; /* 100K */ | |
770 | io-channels = <&adc 1>; /* AP temperature */ | |
771 | }; | |
772 | ||
773 | thermistor-battery@1 { | |
774 | compatible = "ntc,ncp15wb473"; | |
775 | pullup-uv = <1800000>; /* VCC_1.8V_AP */ | |
776 | pullup-ohm = <100000>; /* 100K */ | |
777 | pulldown-ohm = <100000>; /* 100K */ | |
778 | io-channels = <&adc 2>; /* Battery temperature */ | |
779 | }; | |
15dfdfad | 780 | }; |