ARM: dts: add multimedia nodes for exynos4210-universal_c210
[deliverable/linux.git] / arch / arm / boot / dts / exynos4210-universal_c210.dts
CommitLineData
0682edaa
OJ
1/*
2 * Samsung's Exynos4210 based Universal C210 board device tree source
3 *
4 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * Device tree source file for Samsung's Universal C210 board which is based on
8 * Samsung's Exynos4210 rev0 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/;
3799279f 16#include "exynos4210.dtsi"
0682edaa
OJ
17
18/ {
19 model = "Samsung Universal C210 based on Exynos4210 rev0";
8bdb31b4 20 compatible = "samsung,universal_c210", "samsung,exynos4210", "samsung,exynos4";
0682edaa
OJ
21
22 memory {
23 reg = <0x40000000 0x10000000
24 0x50000000 0x10000000>;
25 };
26
27 chosen {
28 bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1";
29 };
30
b3205dea
SK
31 sysram@02020000 {
32 smp-sysram@0 {
33 status = "disabled";
34 };
35
36 smp-sysram@5000 {
37 compatible = "samsung,exynos4210-sysram";
38 reg = <0x5000 0x1000>;
39 };
40
41 smp-sysram@1f000 {
42 status = "disabled";
43 };
44 };
45
0682edaa
OJ
46 mct@10050000 {
47 compatible = "none";
48 };
49
50 fixed-rate-clocks {
51 xxti {
52 compatible = "samsung,clock-xxti";
53 clock-frequency = <0>;
54 };
55
56 xusbxti {
57 compatible = "samsung,clock-xusbxti";
58 clock-frequency = <24000000>;
59 };
60 };
61
62 vemmc_reg: voltage-regulator {
63 compatible = "regulator-fixed";
64 regulator-name = "VMEM_VDD_2_8V";
65 regulator-min-microvolt = <2800000>;
66 regulator-max-microvolt = <2800000>;
67 gpio = <&gpe1 3 0>;
68 enable-active-high;
69 };
70
45e58485
MS
71 hsotg@12480000 {
72 vusb_d-supply = <&ldo3_reg>;
73 vusb_a-supply = <&ldo8_reg>;
74 status = "okay";
75 };
76
0682edaa
OJ
77 sdhci_emmc: sdhci@12510000 {
78 bus-width = <8>;
79 non-removable;
80 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
81 pinctrl-names = "default";
82 vmmc-supply = <&vemmc_reg>;
83 status = "okay";
84 };
85
45e58485
MS
86 ehci@12580000 {
87 status = "okay";
88 port@0 {
89 status = "okay";
90 };
91 };
92
93 ohci@12590000 {
94 status = "okay";
95 port@0 {
96 status = "okay";
97 };
98 };
99
100 exynos-usbphy@125B0000 {
101 status = "okay";
102 };
103
0682edaa
OJ
104 serial@13800000 {
105 status = "okay";
106 };
107
108 serial@13810000 {
109 status = "okay";
110 };
111
112 serial@13820000 {
113 status = "okay";
114 };
115
116 serial@13830000 {
117 status = "okay";
118 };
119
120 gpio-keys {
121 compatible = "gpio-keys";
122
123 vol-up-key {
124 gpios = <&gpx2 0 1>;
125 linux,code = <115>;
126 label = "volume up";
127 debounce-interval = <1>;
128 };
129
130 vol-down-key {
131 gpios = <&gpx2 1 1>;
132 linux,code = <114>;
133 label = "volume down";
134 debounce-interval = <1>;
135 };
136
137 config-key {
138 gpios = <&gpx2 2 1>;
139 linux,code = <171>;
140 label = "config";
141 debounce-interval = <1>;
142 gpio-key,wakeup;
143 };
144
145 camera-key {
146 gpios = <&gpx2 3 1>;
147 linux,code = <212>;
148 label = "camera";
149 debounce-interval = <1>;
150 };
151
152 power-key {
153 gpios = <&gpx2 7 1>;
154 linux,code = <116>;
155 label = "power";
156 debounce-interval = <1>;
157 gpio-key,wakeup;
158 };
159
160 ok-key {
161 gpios = <&gpx3 5 1>;
162 linux,code = <352>;
163 label = "ok";
164 debounce-interval = <1>;
165 };
166 };
167
168 tsp_reg: voltage-regulator {
169 compatible = "regulator-fixed";
170 regulator-name = "TSP_2_8V";
171 regulator-min-microvolt = <2800000>;
172 regulator-max-microvolt = <2800000>;
173 gpio = <&gpe2 3 0>;
174 enable-active-high;
175 };
176
177 i2c@13890000 {
178 samsung,i2c-sda-delay = <100>;
179 samsung,i2c-slave-addr = <0x10>;
180 samsung,i2c-max-bus-freq = <100000>;
181 pinctrl-0 = <&i2c3_bus>;
182 pinctrl-names = "default";
183 status = "okay";
184
185 tsp@4a {
186 /* TBD: Atmel maXtouch touchscreen */
187 reg = <0x4a>;
188 };
189 };
190
191 i2c@138B0000 {
192 samsung,i2c-sda-delay = <100>;
193 samsung,i2c-slave-addr = <0x10>;
194 samsung,i2c-max-bus-freq = <100000>;
195 pinctrl-0 = <&i2c5_bus>;
196 pinctrl-names = "default";
197 status = "okay";
198
199 vdd_arm_reg: pmic@60 {
200 compatible = "maxim,max8952";
201 reg = <0x60>;
202
203 max8952,vid-gpios = <&gpx0 3 0>, <&gpx0 4 0>;
204 max8952,default-mode = <0>;
205 max8952,dvs-mode-microvolt = <1250000>, <1200000>,
206 <1050000>, <950000>;
207 max8952,sync-freq = <0>;
208 max8952,ramp-speed = <0>;
209
210 regulator-name = "vdd_arm";
211 regulator-min-microvolt = <770000>;
212 regulator-max-microvolt = <1400000>;
213 regulator-always-on;
214 regulator-boot-on;
215 };
216
217 pmic@66 {
218 compatible = "national,lp3974";
219 reg = <0x66>;
220
221 max8998,pmic-buck1-default-dvs-idx = <0>;
222 max8998,pmic-buck1-dvs-gpios = <&gpx0 5 0>,
223 <&gpx0 6 0>;
224 max8998,pmic-buck1-dvs-voltage = <1100000>, <1000000>,
225 <1100000>, <1000000>;
226
227 max8998,pmic-buck2-default-dvs-idx = <0>;
228 max8998,pmic-buck2-dvs-gpio = <&gpe2 0 0>;
229 max8998,pmic-buck2-dvs-voltage = <1200000>, <1100000>;
230
231 regulators {
232 ldo2_reg: LDO2 {
233 regulator-name = "VALIVE_1.2V";
234 regulator-min-microvolt = <1200000>;
235 regulator-max-microvolt = <1200000>;
236 regulator-always-on;
237 };
238
239 ldo3_reg: LDO3 {
240 regulator-name = "VUSB+MIPI_1.1V";
241 regulator-min-microvolt = <1100000>;
242 regulator-max-microvolt = <1100000>;
45e58485 243 regulator-always-on;
0682edaa
OJ
244 };
245
246 ldo4_reg: LDO4 {
247 regulator-name = "VADC_3.3V";
248 regulator-min-microvolt = <3300000>;
249 regulator-max-microvolt = <3300000>;
250 };
251
252 ldo5_reg: LDO5 {
253 regulator-name = "VTF_2.8V";
254 regulator-min-microvolt = <2800000>;
255 regulator-max-microvolt = <2800000>;
256 };
257
258 ldo6_reg: LDO6 {
259 regulator-name = "LDO6";
260 regulator-min-microvolt = <2000000>;
261 regulator-max-microvolt = <2000000>;
262 };
263
264 ldo7_reg: LDO7 {
265 regulator-name = "VLCD+VMIPI_1.8V";
266 regulator-min-microvolt = <1800000>;
267 regulator-max-microvolt = <1800000>;
268 };
269
270 ldo8_reg: LDO8 {
271 regulator-name = "VUSB+VDAC_3.3V";
272 regulator-min-microvolt = <3300000>;
273 regulator-max-microvolt = <3300000>;
45e58485 274 regulator-always-on;
0682edaa
OJ
275 };
276
277 ldo9_reg: LDO9 {
278 regulator-name = "VCC_2.8V";
279 regulator-min-microvolt = <2800000>;
280 regulator-max-microvolt = <2800000>;
281 regulator-always-on;
282 };
283
284 ldo10_reg: LDO10 {
285 regulator-name = "VPLL_1.1V";
286 regulator-min-microvolt = <1100000>;
287 regulator-max-microvolt = <1100000>;
288 regulator-boot-on;
289 regulator-always-on;
290 };
291
292 ldo11_reg: LDO11 {
293 regulator-name = "CAM_AF_3.3V";
294 regulator-min-microvolt = <3300000>;
295 regulator-max-microvolt = <3300000>;
296 };
297
298 ldo12_reg: LDO12 {
299 regulator-name = "PS_2.8V";
300 regulator-min-microvolt = <2800000>;
301 regulator-max-microvolt = <2800000>;
302 };
303
304 ldo13_reg: LDO13 {
305 regulator-name = "VHIC_1.2V";
306 regulator-min-microvolt = <1200000>;
307 regulator-max-microvolt = <1200000>;
308 };
309
310 ldo14_reg: LDO14 {
311 regulator-name = "CAM_I_HOST_1.8V";
312 regulator-min-microvolt = <1800000>;
313 regulator-max-microvolt = <1800000>;
314 };
315
316 ldo15_reg: LDO15 {
317 regulator-name = "CAM_S_DIG+FM33_CORE_1.2V";
318 regulator-min-microvolt = <1200000>;
319 regulator-max-microvolt = <1200000>;
320 };
321
322 ldo16_reg: LDO16 {
323 regulator-name = "CAM_S_ANA_2.8V";
324 regulator-min-microvolt = <2800000>;
325 regulator-max-microvolt = <2800000>;
326 };
327
328 ldo17_reg: LDO17 {
329 regulator-name = "VCC_3.0V_LCD";
330 regulator-min-microvolt = <3000000>;
331 regulator-max-microvolt = <3000000>;
332 };
333
334 buck1_reg: BUCK1 {
335 regulator-name = "VINT_1.1V";
336 regulator-min-microvolt = <750000>;
337 regulator-max-microvolt = <1500000>;
338 regulator-boot-on;
339 regulator-always-on;
340 };
341
342 buck2_reg: BUCK2 {
343 regulator-name = "VG3D_1.1V";
344 regulator-min-microvolt = <750000>;
345 regulator-max-microvolt = <1500000>;
346 regulator-boot-on;
347 };
348
349 buck3_reg: BUCK3 {
350 regulator-name = "VCC_1.8V";
351 regulator-min-microvolt = <1800000>;
352 regulator-max-microvolt = <1800000>;
353 regulator-always-on;
354 };
355
356 buck4_reg: BUCK4 {
357 regulator-name = "VMEM_1.2V";
358 regulator-min-microvolt = <1200000>;
359 regulator-max-microvolt = <1200000>;
360 regulator-always-on;
361 };
362
363 ap32khz_reg: EN32KHz-AP {
364 regulator-name = "32KHz AP";
365 regulator-always-on;
366 };
367
368 cp32khz_reg: EN32KHz-CP {
369 regulator-name = "32KHz CP";
370 };
371
372 vichg_reg: ENVICHG {
373 regulator-name = "VICHG";
374 };
375
376 safeout1_reg: ESAFEOUT1 {
377 regulator-name = "SAFEOUT1";
378 regulator-always-on;
379 };
380
381 safeout2_reg: ESAFEOUT2 {
382 regulator-name = "SAFEOUT2";
383 regulator-boot-on;
384 };
385 };
386 };
387 };
388
ffff29d1
AH
389 spi-lcd {
390 compatible = "spi-gpio";
391 #address-cells = <1>;
392 #size-cells = <0>;
393
394 gpio-sck = <&gpy3 1 0>;
395 gpio-mosi = <&gpy3 3 0>;
396 num-chipselects = <1>;
397 cs-gpios = <&gpy4 3 0>;
398
399 lcd@0 {
400 compatible = "samsung,ld9040";
401 reg = <0>;
402 vdd3-supply = <&ldo7_reg>;
403 vci-supply = <&ldo17_reg>;
404 reset-gpios = <&gpy4 5 0>;
405 spi-max-frequency = <1200000>;
406 spi-cpol;
407 spi-cpha;
408 power-on-delay = <10>;
409 reset-delay = <10>;
410 panel-width-mm = <90>;
411 panel-height-mm = <154>;
412 display-timings {
413 timing {
414 clock-frequency = <23492370>;
415 hactive = <480>;
416 vactive = <800>;
417 hback-porch = <16>;
418 hfront-porch = <16>;
419 vback-porch = <2>;
420 vfront-porch = <28>;
421 hsync-len = <2>;
422 vsync-len = <1>;
423 hsync-active = <0>;
424 vsync-active = <0>;
425 de-active = <0>;
426 pixelclk-active = <0>;
427 };
428 };
429 port {
430 lcd_ep: endpoint {
431 remote-endpoint = <&fimd_dpi_ep>;
432 };
433 };
434 };
435 };
436
621c5d66
AH
437 fimd: fimd@11c00000 {
438 pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
439 pinctrl-names = "default";
440 status = "okay";
441 samsung,invert-vden;
442 samsung,invert-vclk;
ffff29d1
AH
443 #address-cells = <1>;
444 #size-cells = <0>;
445 port@3 {
446 reg = <3>;
447 fimd_dpi_ep: endpoint {
448 remote-endpoint = <&lcd_ep>;
621c5d66
AH
449 };
450 };
451 };
452
0682edaa
OJ
453 pwm@139D0000 {
454 compatible = "samsung,s5p6440-pwm";
455 status = "okay";
456 };
9afc343f
MS
457
458 camera {
459 status = "okay";
460
461 pinctrl-names = "default";
462 pinctrl-0 = <>;
463
464 fimc_0: fimc@11800000 {
465 status = "okay";
466 };
467
468 fimc_1: fimc@11810000 {
469 status = "okay";
470 };
471
472 fimc_2: fimc@11820000 {
473 status = "okay";
474 };
475
476 fimc_3: fimc@11830000 {
477 status = "okay";
478 };
479 };
0682edaa 480};
22c98592
BZ
481
482&mdma1 {
483 reg = <0x12840000 0x1000>;
484};
This page took 0.091849 seconds and 5 git commands to generate.