blob: 3b1e4588b54b3cfb9bd0b5c6bcf3424239eb76c8 [file] [log] [blame]
Piotr Wilczek1ecab0f2014-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 Glassdd547392014-10-20 19:48:30 -060011#include "exynos4412.dtsi"
Piotr Wilczek1ecab0f2014-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 Seocd0ae612014-05-16 13:59:48 +090034 mmc4 = "dwmmc@12550000";
Piotr Wilczek1ecab0f2014-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 {
44 compatible = "maxim,max77686_pmic";
45 interrupts = <7 0>;
46 reg = <0x09 0 0>;
47 #clock-cells = <1>;
48
49 voltage-regulators {
50 ldo1_reg: ldo1 {
51 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
59 ldo2_reg: ldo2 {
60 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
68 ldo3_reg: ldo3 {
69 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
77 ldo4_reg: ldo4 {
78 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
86 ldo5_reg: ldo5 {
87 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
95 ldo6_reg: ldo6 {
96 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
104 ldo7_reg: ldo7 {
105 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
113 ldo8_reg: ldo8 {
114 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
121 ldo9_reg: ldo9 {
122 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
129 ldo10_reg: ldo10 {
130 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
137 ldo11_reg: ldo11 {
138 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
146 ldo12_reg: ldo12 {
147 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
154 ldo13_reg: ldo13 {
155 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
162 ldo14_reg: ldo14 {
163 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
171 ldo15_reg: ldo15 {
172 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
179 ldo16_reg: ldo16 {
180 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
187 ldo17_reg: ldo17 {
188 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
195 ldo18_reg: ldo18 {
196 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
203 ldo19_reg: ldo19 {
204 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
211 ldo20_reg: ldo20 {
212 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
219 ldo21_reg: ldo21 {
220 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
227 ldo22_reg: ldo22 {
228 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
236 ldo23_reg: ldo23 {
237 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
244 ldo24_reg: ldo24 {
245 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
252 ldo25_reg: ldo25 {
253 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
260 ldo26_reg: ldo26 {
261 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
268 buck1_reg: buck1 {
269 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
278 buck2_reg: buck2 {
279 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
288 buck3_reg: buck3 {
289 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
298 buck4_reg: buck4 {
299 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
307 buck5_reg: buck5 {
308 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
315 buck6_reg: buck6 {
316 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
323 buck7_reg: buck7 {
324 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
331 buck8_reg: buck8 {
332 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
340 buck9_reg: buck9 {
341 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>;
Akshay Saraswatf6ae1ca2014-05-13 10:30:14 +0530419 pwr-gpios = <&gpio 0xB2 0>;
Jaehoon Chungea5ee2d2014-05-16 13:59:56 +0900420 status = "disabled";
Piotr Wilczek1ecab0f2014-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>;
Akshay Saraswatf6ae1ca2014-05-13 10:30:14 +0530430 cd-gpios = <&gpio 0x3BC 0>;
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100431 };
432
433 sdhci@12540000 {
434 status = "disabled";
435 };
Beomho Seocd0ae612014-05-16 13:59:48 +0900436
437 dwmmc@12550000 {
438 samsung,bus-width = <8>;
Jaehoon Chungea5ee2d2014-05-16 13:59:56 +0900439 samsung,timing = <2 1 0>;
Beomho Seocd0ae612014-05-16 13:59:48 +0900440 pwr-gpios = <&gpio 0xB2 0>;
Jaehoon Chungea5ee2d2014-05-16 13:59:56 +0900441 fifoth_val = <0x203f0040>;
442 bus_hz = <400000000>;
443 div = <0x3>;
Beomho Seocd0ae612014-05-16 13:59:48 +0900444 index = <4>;
445 };
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100446};