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>; | |
402 | regulator-always-on; | |
403 | regulator-mem-off; | |
404 | }; | |
405 | ||
406 | ldo23_reg: ldo23 { | |
407 | regulator-compatible = "LDO23"; | |
408 | regulator-name = "TSP_AVDD_3.3V"; | |
409 | regulator-min-microvolt = <3300000>; | |
410 | regulator-max-microvolt = <3300000>; | |
411 | regulator-mem-idle; | |
412 | }; | |
413 | ||
414 | ldo24_reg: ldo24 { | |
415 | regulator-compatible = "LDO24"; | |
416 | regulator-name = "TSP_VDD_1.8V"; | |
417 | regulator-min-microvolt = <1800000>; | |
418 | regulator-max-microvolt = <1800000>; | |
419 | regulator-mem-idle; | |
420 | }; | |
421 | ||
422 | ldo25_reg: ldo25 { | |
423 | regulator-compatible = "LDO25"; | |
424 | regulator-name = "LCD_VCC_3.3V"; | |
425 | regulator-min-microvolt = <2800000>; | |
426 | regulator-max-microvolt = <2800000>; | |
427 | regulator-mem-idle; | |
428 | }; | |
429 | ||
430 | ldo26_reg: ldo26 { | |
431 | regulator-compatible = "LDO26"; | |
432 | regulator-name = "MOTOR_VCC_3.0V"; | |
433 | regulator-min-microvolt = <3000000>; | |
434 | regulator-max-microvolt = <3000000>; | |
435 | regulator-mem-idle; | |
436 | }; | |
437 | ||
438 | buck1_reg: buck1 { | |
439 | regulator-compatible = "BUCK1"; | |
440 | regulator-name = "vdd_mif"; | |
441 | regulator-min-microvolt = <850000>; | |
442 | regulator-max-microvolt = <1100000>; | |
443 | regulator-always-on; | |
444 | regulator-boot-on; | |
445 | regulator-mem-off; | |
446 | }; | |
447 | ||
448 | buck2_reg: buck2 { | |
449 | regulator-compatible = "BUCK2"; | |
450 | regulator-name = "vdd_arm"; | |
451 | regulator-min-microvolt = <850000>; | |
452 | regulator-max-microvolt = <1500000>; | |
453 | regulator-always-on; | |
454 | regulator-boot-on; | |
455 | regulator-mem-off; | |
456 | }; | |
457 | ||
458 | buck3_reg: buck3 { | |
459 | regulator-compatible = "BUCK3"; | |
460 | regulator-name = "vdd_int"; | |
461 | regulator-min-microvolt = <850000>; | |
462 | regulator-max-microvolt = <1150000>; | |
463 | regulator-always-on; | |
464 | regulator-boot-on; | |
465 | regulator-mem-off; | |
466 | }; | |
467 | ||
468 | buck4_reg: buck4 { | |
469 | regulator-compatible = "BUCK4"; | |
470 | regulator-name = "vdd_g3d"; | |
471 | regulator-min-microvolt = <850000>; | |
472 | regulator-max-microvolt = <1150000>; | |
473 | regulator-boot-on; | |
474 | regulator-mem-off; | |
475 | }; | |
476 | ||
477 | buck5_reg: buck5 { | |
478 | regulator-compatible = "BUCK5"; | |
479 | regulator-name = "VMEM_1.2V_AP"; | |
480 | regulator-min-microvolt = <1200000>; | |
481 | regulator-max-microvolt = <1200000>; | |
482 | regulator-always-on; | |
483 | }; | |
484 | ||
485 | buck6_reg: buck6 { | |
486 | regulator-compatible = "BUCK6"; | |
487 | regulator-name = "VCC_SUB_1.35V"; | |
488 | regulator-min-microvolt = <1350000>; | |
489 | regulator-max-microvolt = <1350000>; | |
490 | regulator-always-on; | |
491 | }; | |
492 | ||
493 | buck7_reg: buck7 { | |
494 | regulator-compatible = "BUCK7"; | |
495 | regulator-name = "VCC_SUB_2.0V"; | |
496 | regulator-min-microvolt = <2000000>; | |
497 | regulator-max-microvolt = <2000000>; | |
498 | regulator-always-on; | |
499 | }; | |
500 | ||
501 | buck8_reg: buck8 { | |
502 | regulator-compatible = "BUCK8"; | |
503 | regulator-name = "VMEM_VDDF_3.0V"; | |
504 | regulator-min-microvolt = <2850000>; | |
505 | regulator-max-microvolt = <2850000>; | |
506 | regulator-always-on; | |
507 | regulator-mem-off; | |
508 | }; | |
509 | ||
510 | buck9_reg: buck9 { | |
511 | regulator-compatible = "BUCK9"; | |
512 | regulator-name = "CAM_ISP_CORE_1.2V"; | |
513 | regulator-min-microvolt = <1000000>; | |
514 | regulator-max-microvolt = <1200000>; | |
515 | regulator-mem-off; | |
516 | }; | |
517 | }; | |
518 | }; | |
519 | }; | |
520 | ||
ca7c11fc TF |
521 | mmc@12550000 { |
522 | num-slots = <1>; | |
523 | supports-highspeed; | |
524 | broken-cd; | |
15dfdfad | 525 | non-removable; |
ca7c11fc | 526 | card-detect-delay = <200>; |
15dfdfad | 527 | vmmc-supply = <&vemmc_reg>; |
ca7c11fc TF |
528 | clock-frequency = <400000000>; |
529 | samsung,dw-mshc-ciu-div = <0>; | |
530 | samsung,dw-mshc-sdr-timing = <2 3>; | |
531 | samsung,dw-mshc-ddr-timing = <1 2>; | |
532 | pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; | |
533 | pinctrl-names = "default"; | |
15dfdfad | 534 | status = "okay"; |
ca7c11fc TF |
535 | |
536 | slot@0 { | |
537 | reg = <0>; | |
538 | bus-width = <8>; | |
539 | }; | |
15dfdfad TF |
540 | }; |
541 | ||
542 | serial@13800000 { | |
543 | status = "okay"; | |
544 | }; | |
545 | ||
546 | serial@13810000 { | |
547 | status = "okay"; | |
548 | }; | |
549 | ||
550 | serial@13820000 { | |
551 | status = "okay"; | |
552 | }; | |
553 | ||
554 | serial@13830000 { | |
555 | status = "okay"; | |
556 | }; | |
9f1eaef2 JA |
557 | |
558 | i2c_ak8975: i2c-gpio-0 { | |
559 | compatible = "i2c-gpio"; | |
560 | gpios = <&gpy2 4 0>, <&gpy2 5 0>; | |
561 | i2c-gpio,delay-us = <2>; | |
562 | #address-cells = <1>; | |
563 | #size-cells = <0>; | |
564 | status = "okay"; | |
565 | ||
566 | ak8975@0c { | |
30cc798b | 567 | compatible = "asahi-kasei,ak8975"; |
9f1eaef2 JA |
568 | reg = <0x0c>; |
569 | gpios = <&gpj0 7 0>; | |
570 | }; | |
571 | }; | |
b4fec647 | 572 | |
85cb4e0b BS |
573 | i2c_cm36651: i2c-gpio-2 { |
574 | compatible = "i2c-gpio"; | |
575 | gpios = <&gpf0 0 1>, <&gpf0 1 1>; | |
576 | i2c-gpio,delay-us = <2>; | |
577 | #address-cells = <1>; | |
578 | #size-cells = <0>; | |
579 | ||
580 | cm36651@18 { | |
581 | compatible = "capella,cm36651"; | |
582 | reg = <0x18>; | |
583 | interrupt-parent = <&gpx0>; | |
584 | interrupts = <2 2>; | |
585 | vled-supply = <&ps_als_reg>; | |
586 | }; | |
587 | }; | |
588 | ||
201f1267 AH |
589 | spi_1: spi@13930000 { |
590 | pinctrl-names = "default"; | |
591 | pinctrl-0 = <&spi1_bus>; | |
592 | status = "okay"; | |
593 | ||
594 | s5c73m3_spi: s5c73m3 { | |
595 | compatible = "samsung,s5c73m3"; | |
596 | spi-max-frequency = <50000000>; | |
597 | reg = <0>; | |
598 | controller-data { | |
599 | cs-gpio = <&gpb 5 0>; | |
600 | samsung,spi-feedback-delay = <2>; | |
601 | }; | |
602 | }; | |
603 | }; | |
604 | ||
420ae845 AH |
605 | dsi_0: dsi@11C80000 { |
606 | vddcore-supply = <&ldo8_reg>; | |
607 | vddio-supply = <&ldo10_reg>; | |
608 | samsung,pll-clock-frequency = <24000000>; | |
609 | status = "okay"; | |
610 | ||
611 | ports { | |
612 | #address-cells = <1>; | |
613 | #size-cells = <0>; | |
614 | ||
615 | port@1 { | |
616 | reg = <1>; | |
617 | ||
618 | dsi_out: endpoint { | |
619 | remote-endpoint = <&dsi_in>; | |
620 | samsung,burst-clock-frequency = <500000000>; | |
621 | samsung,esc-clock-frequency = <20000000>; | |
622 | }; | |
623 | }; | |
624 | }; | |
625 | ||
626 | panel@0 { | |
627 | compatible = "samsung,s6e8aa0"; | |
628 | reg = <0>; | |
629 | vdd3-supply = <&lcd_vdd3_reg>; | |
630 | vci-supply = <&ldo25_reg>; | |
631 | reset-gpios = <&gpy4 5 0>; | |
632 | power-on-delay= <50>; | |
633 | reset-delay = <100>; | |
634 | init-delay = <100>; | |
635 | flip-horizontal; | |
636 | flip-vertical; | |
637 | panel-width-mm = <58>; | |
638 | panel-height-mm = <103>; | |
639 | ||
640 | display-timings { | |
641 | timing-0 { | |
642 | clock-frequency = <0>; | |
643 | hactive = <720>; | |
644 | vactive = <1280>; | |
645 | hfront-porch = <5>; | |
646 | hback-porch = <5>; | |
647 | hsync-len = <5>; | |
648 | vfront-porch = <13>; | |
649 | vback-porch = <1>; | |
650 | vsync-len = <2>; | |
651 | }; | |
652 | }; | |
653 | ||
654 | port { | |
655 | dsi_in: endpoint { | |
656 | remote-endpoint = <&dsi_out>; | |
657 | }; | |
658 | }; | |
659 | }; | |
660 | }; | |
661 | ||
bbab1e3f AH |
662 | fimd@11c00000 { |
663 | status = "okay"; | |
664 | }; | |
665 | ||
4cb37864 SN |
666 | camera: camera { |
667 | pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>; | |
b4fec647 SN |
668 | pinctrl-names = "default"; |
669 | status = "okay"; | |
670 | ||
671 | fimc_0: fimc@11800000 { | |
672 | status = "okay"; | |
673 | }; | |
674 | ||
675 | fimc_1: fimc@11810000 { | |
676 | status = "okay"; | |
677 | }; | |
678 | ||
679 | fimc_2: fimc@11820000 { | |
680 | status = "okay"; | |
681 | }; | |
682 | ||
683 | fimc_3: fimc@11830000 { | |
684 | status = "okay"; | |
685 | }; | |
686 | ||
4cb37864 SN |
687 | csis_0: csis@11880000 { |
688 | status = "okay"; | |
689 | vddcore-supply = <&ldo8_reg>; | |
690 | vddio-supply = <&ldo10_reg>; | |
691 | clock-frequency = <176000000>; | |
692 | ||
693 | /* Camera C (3) MIPI CSI-2 (CSIS0) */ | |
694 | port@3 { | |
695 | reg = <3>; | |
696 | csis0_ep: endpoint { | |
697 | remote-endpoint = <&s5c73m3_ep>; | |
698 | data-lanes = <1 2 3 4>; | |
699 | samsung,csis-hs-settle = <12>; | |
700 | }; | |
701 | }; | |
702 | }; | |
703 | ||
b4fec647 SN |
704 | csis_1: csis@11890000 { |
705 | vddcore-supply = <&ldo8_reg>; | |
706 | vddio-supply = <&ldo10_reg>; | |
707 | clock-frequency = <160000000>; | |
708 | status = "okay"; | |
709 | ||
710 | /* Camera D (4) MIPI CSI-2 (CSIS1) */ | |
711 | port@4 { | |
712 | reg = <4>; | |
713 | csis1_ep: endpoint { | |
714 | remote-endpoint = <&is_s5k6a3_ep>; | |
715 | data-lanes = <1>; | |
716 | samsung,csis-hs-settle = <18>; | |
717 | samsung,csis-wclk; | |
718 | }; | |
719 | }; | |
720 | }; | |
721 | ||
722 | fimc_lite_0: fimc-lite@12390000 { | |
723 | status = "okay"; | |
724 | }; | |
725 | ||
726 | fimc_lite_1: fimc-lite@123A0000 { | |
727 | status = "okay"; | |
728 | }; | |
729 | ||
730 | fimc-is@12000000 { | |
731 | pinctrl-0 = <&fimc_is_uart>; | |
732 | pinctrl-names = "default"; | |
733 | status = "okay"; | |
734 | ||
735 | i2c1_isp: i2c-isp@12140000 { | |
736 | pinctrl-0 = <&fimc_is_i2c1>; | |
737 | pinctrl-names = "default"; | |
738 | ||
739 | s5k6a3@10 { | |
740 | compatible = "samsung,s5k6a3"; | |
741 | reg = <0x10>; | |
742 | svdda-supply = <&cam_io_reg>; | |
743 | svddio-supply = <&ldo19_reg>; | |
ee5eda64 | 744 | afvdd-supply = <&ldo19_reg>; |
b4fec647 SN |
745 | clock-frequency = <24000000>; |
746 | /* CAM_B_CLKOUT */ | |
ee5eda64 SN |
747 | clocks = <&camera 1>; |
748 | clock-names = "extclk"; | |
b4fec647 SN |
749 | samsung,camclk-out = <1>; |
750 | gpios = <&gpm1 6 0>; | |
751 | ||
752 | port { | |
753 | is_s5k6a3_ep: endpoint { | |
754 | remote-endpoint = <&csis1_ep>; | |
755 | data-lanes = <1>; | |
756 | }; | |
757 | }; | |
758 | }; | |
759 | }; | |
760 | }; | |
761 | }; | |
4f423788 | 762 | |
3c8977f1 CP |
763 | exynos-usbphy@125B0000 { |
764 | status = "okay"; | |
765 | }; | |
766 | ||
767 | hsotg@12480000 { | |
768 | vusb_d-supply = <&ldo15_reg>; | |
769 | vusb_a-supply = <&ldo12_reg>; | |
770 | status = "okay"; | |
771 | }; | |
772 | ||
4f423788 CC |
773 | thermistor-ap@0 { |
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 1>; /* AP temperature */ | |
779 | }; | |
780 | ||
781 | thermistor-battery@1 { | |
782 | compatible = "ntc,ncp15wb473"; | |
783 | pullup-uv = <1800000>; /* VCC_1.8V_AP */ | |
784 | pullup-ohm = <100000>; /* 100K */ | |
785 | pulldown-ohm = <100000>; /* 100K */ | |
786 | io-channels = <&adc 2>; /* Battery temperature */ | |
787 | }; | |
15dfdfad | 788 | }; |