blob: 2d4e522ea2770ef0e428eea352b4ffd4e43271d9 [file] [log] [blame]
Piotr Wilczek87d2e782014-03-07 14:59:49 +01001/*
2 * Samsung's Exynos4412 based Trats2 board device tree source
3 *
4 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */
9
10/dts-v1/;
Simon Glass144cb552014-10-20 19:48:30 -060011#include "exynos4412.dtsi"
Piotr Wilczek87d2e782014-03-07 14:59:49 +010012
13/ {
14 model = "Samsung Trats2 based on Exynos4412";
15 compatible = "samsung,trats2", "samsung,exynos4412";
16
17 config {
18 samsung,dsim-device-name = "s6e8ax0";
19 };
20
21 aliases {
22 i2c0 = "/i2c@13860000";
23 i2c1 = "/i2c@13870000";
24 i2c2 = "/i2c@13880000";
25 i2c3 = "/i2c@13890000";
26 i2c4 = "/i2c@138a0000";
27 i2c5 = "/i2c@138b0000";
28 i2c6 = "/i2c@138c0000";
29 i2c7 = "/i2c@138d0000";
30 serial0 = "/serial@13800000";
31 console = "/serial@13820000";
32 mmc0 = "sdhci@12510000";
33 mmc2 = "sdhci@12530000";
Beomho Seod08a4b62014-05-16 13:59:48 +090034 mmc4 = "dwmmc@12550000";
Piotr Wilczek87d2e782014-03-07 14:59:49 +010035 };
36
37 i2c@138d0000 {
38 samsung,i2c-sda-delay = <100>;
39 samsung,i2c-slave-addr = <0x10>;
40 samsung,i2c-max-bus-freq = <100000>;
41 status = "okay";
42
43 max77686_pmic@09 {
Przemyslaw Marczakff0e22b2015-04-20 20:07:45 +020044 compatible = "maxim,max77686";
Piotr Wilczek87d2e782014-03-07 14:59:49 +010045 interrupts = <7 0>;
46 reg = <0x09 0 0>;
47 #clock-cells = <1>;
48
49 voltage-regulators {
Simon Glass25667762015-08-03 08:19:19 -060050 ldo1_reg: LDO1 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +010051 regulator-compatible = "LDO1";
52 regulator-name = "VALIVE_1.0V_AP";
53 regulator-min-microvolt = <1000000>;
54 regulator-max-microvolt = <1000000>;
55 regulator-always-on;
56 regulator-mem-on;
57 };
58
Simon Glass25667762015-08-03 08:19:19 -060059 ldo2_reg: LDO2 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +010060 regulator-compatible = "LDO2";
61 regulator-name = "VM1M2_1.2V_AP";
62 regulator-min-microvolt = <1200000>;
63 regulator-max-microvolt = <1200000>;
64 regulator-always-on;
65 regulator-mem-on;
66 };
67
Simon Glass25667762015-08-03 08:19:19 -060068 ldo3_reg: LDO3 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +010069 regulator-compatible = "LDO3";
70 regulator-name = "VCC_1.8V_AP";
71 regulator-min-microvolt = <1800000>;
72 regulator-max-microvolt = <1800000>;
73 regulator-always-on;
74 regulator-mem-on;
75 };
76
Simon Glass25667762015-08-03 08:19:19 -060077 ldo4_reg: LDO4 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +010078 regulator-compatible = "LDO4";
79 regulator-name = "VCC_2.8V_AP";
80 regulator-min-microvolt = <2800000>;
81 regulator-max-microvolt = <2800000>;
82 regulator-always-on;
83 regulator-mem-on;
84 };
85
Simon Glass25667762015-08-03 08:19:19 -060086 ldo5_reg: LDO5 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +010087 regulator-compatible = "LDO5";
88 regulator-name = "VCC_1.8V_IO";
89 regulator-min-microvolt = <1800000>;
90 regulator-max-microvolt = <1800000>;
91 regulator-always-on;
92 regulator-mem-on;
93 };
94
Simon Glass25667762015-08-03 08:19:19 -060095 ldo6_reg: LDO6 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +010096 regulator-compatible = "LDO6";
97 regulator-name = "VMPLL_1.0V_AP";
98 regulator-min-microvolt = <1000000>;
99 regulator-max-microvolt = <1000000>;
100 regulator-always-on;
101 regulator-mem-on;
102 };
103
Simon Glass25667762015-08-03 08:19:19 -0600104 ldo7_reg: LDO7 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100105 regulator-compatible = "LDO7";
106 regulator-name = "VPLL_1.0V_AP";
107 regulator-min-microvolt = <1000000>;
108 regulator-max-microvolt = <1000000>;
109 regulator-always-on;
110 regulator-mem-on;
111 };
112
Simon Glass25667762015-08-03 08:19:19 -0600113 ldo8_reg: LDO8 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100114 regulator-compatible = "LDO8";
115 regulator-name = "VMIPI_1.0V";
116 regulator-min-microvolt = <1000000>;
117 regulator-max-microvolt = <1000000>;
118 regulator-mem-off;
119 };
120
Simon Glass25667762015-08-03 08:19:19 -0600121 ldo9_reg: LDO9 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100122 regulator-compatible = "LDO9";
123 regulator-name = "CAM_ISP_MIPI_1.2V";
124 regulator-min-microvolt = <1200000>;
125 regulator-max-microvolt = <1200000>;
126 regulator-mem-idle;
127 };
128
Simon Glass25667762015-08-03 08:19:19 -0600129 ldo10_reg: LDO10 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100130 regulator-compatible = "LDO10";
131 regulator-name = "VMIPI_1.8V";
132 regulator-min-microvolt = <1800000>;
133 regulator-max-microvolt = <1800000>;
134 regulator-mem-off;
135 };
136
Simon Glass25667762015-08-03 08:19:19 -0600137 ldo11_reg: LDO11 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100138 regulator-compatible = "LDO11";
139 regulator-name = "VABB1_1.95V";
140 regulator-min-microvolt = <1950000>;
141 regulator-max-microvolt = <1950000>;
142 regulator-always-on;
143 regulator-mem-off;
144 };
145
Simon Glass25667762015-08-03 08:19:19 -0600146 ldo12_reg: LDO12 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100147 regulator-compatible = "LDO12";
148 regulator-name = "VUOTG_3.0V";
149 regulator-min-microvolt = <3000000>;
150 regulator-max-microvolt = <3000000>;
151 regulator-mem-off;
152 };
153
Simon Glass25667762015-08-03 08:19:19 -0600154 ldo13_reg: LDO13 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100155 regulator-compatible = "LDO13";
156 regulator-name = "NFC_AVDD_1.8V";
157 regulator-min-microvolt = <1800000>;
158 regulator-max-microvolt = <1800000>;
159 regulator-mem-idle;
160 };
161
Simon Glass25667762015-08-03 08:19:19 -0600162 ldo14_reg: LDO14 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100163 regulator-compatible = "LDO14";
164 regulator-name = "VABB2_1.95V";
165 regulator-min-microvolt = <1950000>;
166 regulator-max-microvolt = <1950000>;
167 regulator-always-on;
168 regulator-mem-off;
169 };
170
Simon Glass25667762015-08-03 08:19:19 -0600171 ldo15_reg: LDO15 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100172 regulator-compatible = "LDO15";
173 regulator-name = "VHSIC_1.0V";
174 regulator-min-microvolt = <1000000>;
175 regulator-max-microvolt = <1000000>;
176 regulator-mem-off;
177 };
178
Simon Glass25667762015-08-03 08:19:19 -0600179 ldo16_reg: LDO16 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100180 regulator-compatible = "LDO16";
181 regulator-name = "VHSIC_1.8V";
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <1800000>;
184 regulator-mem-off;
185 };
186
Simon Glass25667762015-08-03 08:19:19 -0600187 ldo17_reg: LDO17 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100188 regulator-compatible = "LDO17";
189 regulator-name = "CAM_SENSOR_CORE_1.2V";
190 regulator-min-microvolt = <1200000>;
191 regulator-max-microvolt = <1200000>;
192 regulator-mem-idle;
193 };
194
Simon Glass25667762015-08-03 08:19:19 -0600195 ldo18_reg: LDO18 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100196 regulator-compatible = "LDO18";
197 regulator-name = "CAM_ISP_SEN_IO_1.8V";
198 regulator-min-microvolt = <1800000>;
199 regulator-max-microvolt = <1800000>;
200 regulator-mem-idle;
201 };
202
Simon Glass25667762015-08-03 08:19:19 -0600203 ldo19_reg: LDO19 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100204 regulator-compatible = "LDO19";
205 regulator-name = "VT_CAM_1.8V";
206 regulator-min-microvolt = <1800000>;
207 regulator-max-microvolt = <1800000>;
208 regulator-mem-idle;
209 };
210
Simon Glass25667762015-08-03 08:19:19 -0600211 ldo20_reg: LDO20 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100212 regulator-compatible = "LDO20";
213 regulator-name = "VDDQ_PRE_1.8V";
214 regulator-min-microvolt = <1800000>;
215 regulator-max-microvolt = <1800000>;
216 regulator-mem-idle;
217 };
218
Simon Glass25667762015-08-03 08:19:19 -0600219 ldo21_reg: LDO21 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100220 regulator-compatible = "LDO21";
221 regulator-name = "VTF_2.8V";
222 regulator-min-microvolt = <2800000>;
223 regulator-max-microvolt = <2800000>;
224 regulator-mem-idle;
225 };
226
Simon Glass25667762015-08-03 08:19:19 -0600227 ldo22_reg: LDO22 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100228 regulator-compatible = "LDO22";
229 regulator-name = "VMEM_VDD_2.8V";
230 regulator-min-microvolt = <2800000>;
231 regulator-max-microvolt = <2800000>;
232 regulator-always-on;
233 regulator-mem-off;
234 };
235
Simon Glass25667762015-08-03 08:19:19 -0600236 ldo23_reg: LDO23 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100237 regulator-compatible = "LDO23";
238 regulator-name = "TSP_AVDD_3.3V";
239 regulator-min-microvolt = <3300000>;
240 regulator-max-microvolt = <3300000>;
241 regulator-mem-idle;
242 };
243
Simon Glass25667762015-08-03 08:19:19 -0600244 ldo24_reg: LDO24 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100245 regulator-compatible = "LDO24";
246 regulator-name = "TSP_VDD_1.8V";
247 regulator-min-microvolt = <1800000>;
248 regulator-max-microvolt = <1800000>;
249 regulator-mem-idle;
250 };
251
Simon Glass25667762015-08-03 08:19:19 -0600252 ldo25_reg: LDO25 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100253 regulator-compatible = "LDO25";
254 regulator-name = "LCD_VCC_3.3V";
255 regulator-min-microvolt = <2800000>;
256 regulator-max-microvolt = <2800000>;
257 regulator-mem-idle;
258 };
259
Simon Glass25667762015-08-03 08:19:19 -0600260 ldo26_reg: LDO26 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100261 regulator-compatible = "LDO26";
262 regulator-name = "MOTOR_VCC_3.0V";
263 regulator-min-microvolt = <3000000>;
264 regulator-max-microvolt = <3000000>;
265 regulator-mem-idle;
266 };
267
Simon Glass25667762015-08-03 08:19:19 -0600268 buck1_reg: BUCK1 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100269 regulator-compatible = "BUCK1";
270 regulator-name = "vdd_mif";
271 regulator-min-microvolt = <850000>;
272 regulator-max-microvolt = <1100000>;
273 regulator-always-on;
274 regulator-boot-on;
275 regulator-mem-off;
276 };
277
Simon Glass25667762015-08-03 08:19:19 -0600278 buck2_reg: BUCK2 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100279 regulator-compatible = "BUCK2";
280 regulator-name = "vdd_arm";
281 regulator-min-microvolt = <850000>;
282 regulator-max-microvolt = <1500000>;
283 regulator-always-on;
284 regulator-boot-on;
285 regulator-mem-off;
286 };
287
Simon Glass25667762015-08-03 08:19:19 -0600288 buck3_reg: BUCK3 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100289 regulator-compatible = "BUCK3";
290 regulator-name = "vdd_int";
291 regulator-min-microvolt = <850000>;
292 regulator-max-microvolt = <1150000>;
293 regulator-always-on;
294 regulator-boot-on;
295 regulator-mem-off;
296 };
297
Simon Glass25667762015-08-03 08:19:19 -0600298 buck4_reg: BUCK4 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100299 regulator-compatible = "BUCK4";
300 regulator-name = "vdd_g3d";
301 regulator-min-microvolt = <850000>;
302 regulator-max-microvolt = <1150000>;
303 regulator-boot-on;
304 regulator-mem-off;
305 };
306
Simon Glass25667762015-08-03 08:19:19 -0600307 buck5_reg: BUCK5 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100308 regulator-compatible = "BUCK5";
309 regulator-name = "VMEM_1.2V_AP";
310 regulator-min-microvolt = <1200000>;
311 regulator-max-microvolt = <1200000>;
312 regulator-always-on;
313 };
314
Simon Glass25667762015-08-03 08:19:19 -0600315 buck6_reg: BUCK6 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100316 regulator-compatible = "BUCK6";
317 regulator-name = "VCC_SUB_1.35V";
318 regulator-min-microvolt = <1350000>;
319 regulator-max-microvolt = <1350000>;
320 regulator-always-on;
321 };
322
Simon Glass25667762015-08-03 08:19:19 -0600323 buck7_reg: BUCK7 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100324 regulator-compatible = "BUCK7";
325 regulator-name = "VCC_SUB_2.0V";
326 regulator-min-microvolt = <2000000>;
327 regulator-max-microvolt = <2000000>;
328 regulator-always-on;
329 };
330
Simon Glass25667762015-08-03 08:19:19 -0600331 buck8_reg: BUCK8 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100332 regulator-compatible = "BUCK8";
333 regulator-name = "VMEM_VDDF_3.0V";
334 regulator-min-microvolt = <2850000>;
335 regulator-max-microvolt = <2850000>;
336 regulator-always-on;
337 regulator-mem-off;
338 };
339
Simon Glass25667762015-08-03 08:19:19 -0600340 buck9_reg: BUCK9 {
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100341 regulator-compatible = "BUCK9";
342 regulator-name = "CAM_ISP_CORE_1.2V";
343 regulator-min-microvolt = <1000000>;
344 regulator-max-microvolt = <1200000>;
345 regulator-mem-off;
346 };
347 };
348 };
349 };
350
351 fimd@11c00000 {
352 compatible = "samsung,exynos-fimd";
353 reg = <0x11c00000 0xa4>;
354
355 samsung,vl-freq = <60>;
356 samsung,vl-col = <720>;
357 samsung,vl-row = <1280>;
358 samsung,vl-width = <720>;
359 samsung,vl-height = <1280>;
360
361 samsung,vl-clkp = <0>;
362 samsung,vl-oep = <0>;
363 samsung,vl-hsp = <1>;
364 samsung,vl-vsp = <1>;
365 samsung,vl-dp = <1>;
366 samsung,vl-bpix = <4>;
367
368 samsung,vl-hspw = <5>;
369 samsung,vl-hbpd = <10>;
370 samsung,vl-hfpd = <10>;
371 samsung,vl-vspw = <2>;
372 samsung,vl-vbpd = <1>;
373 samsung,vl-vfpd = <13>;
374 samsung,vl-cmd-allow-len = <0xf>;
375
376 samsung,winid = <0>;
377 samsung,power-on-delay = <30>;
378 samsung,interface-mode = <1>;
379 samsung,mipi-enabled = <1>;
380 samsung,dp-enabled;
381 samsung,dual-lcd-enabled;
382
383 samsung,logo-on = <1>;
384 samsung,resolution = <0>;
385 samsung,rgb-mode = <0>;
386 };
387
388 mipidsi@11c80000 {
389 compatible = "samsung,exynos-mipi-dsi";
390 reg = <0x11c80000 0x5c>;
391
392 samsung,dsim-config-e-interface = <1>;
393 samsung,dsim-config-e-virtual-ch = <0>;
394 samsung,dsim-config-e-pixel-format = <7>;
395 samsung,dsim-config-e-burst-mode = <1>;
396 samsung,dsim-config-e-no-data-lane = <3>;
397 samsung,dsim-config-e-byte-clk = <0>;
398 samsung,dsim-config-hfp = <1>;
399
400 samsung,dsim-config-p = <3>;
401 samsung,dsim-config-m = <120>;
402 samsung,dsim-config-s = <1>;
403
404 samsung,dsim-config-pll-stable-time = <500>;
405 samsung,dsim-config-esc-clk = <20000000>;
406 samsung,dsim-config-stop-holding-cnt = <0x7ff>;
407 samsung,dsim-config-bta-timeout = <0xff>;
408 samsung,dsim-config-rx-timeout = <0xffff>;
409
410 samsung,dsim-device-id = <0xffffffff>;
411 samsung,dsim-device-bus-id = <0>;
412
413 samsung,dsim-device-reverse-panel = <1>;
414 };
415
416 sdhci@12510000 {
417 samsung,bus-width = <8>;
418 samsung,timing = <1 3 3>;
Simon Glassdabafc32015-01-05 20:05:42 -0700419 pwr-gpios = <&gpk0 4 0>;
Jaehoon Chung0a983a62014-05-16 13:59:56 +0900420 status = "disabled";
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100421 };
422
423 sdhci@12520000 {
424 status = "disabled";
425 };
426
427 sdhci@12530000 {
428 samsung,bus-width = <4>;
429 samsung,timing = <1 2 3>;
Simon Glassdabafc32015-01-05 20:05:42 -0700430 cd-gpios = <&gpk2 2 0>;
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100431 };
432
433 sdhci@12540000 {
434 status = "disabled";
435 };
Beomho Seod08a4b62014-05-16 13:59:48 +0900436
437 dwmmc@12550000 {
438 samsung,bus-width = <8>;
Jaehoon Chung0a983a62014-05-16 13:59:56 +0900439 samsung,timing = <2 1 0>;
Simon Glassdabafc32015-01-05 20:05:42 -0700440 pwr-gpios = <&gpk0 4 0>;
Jaehoon Chung0a983a62014-05-16 13:59:56 +0900441 fifoth_val = <0x203f0040>;
442 bus_hz = <400000000>;
443 div = <0x3>;
Beomho Seod08a4b62014-05-16 13:59:48 +0900444 index = <4>;
445 };
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100446};