blob: fd9e48c899c3f20c4324f6c411b7eb6bc397c56a [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";
Jaehoon Chung8b6edb22017-04-03 19:02:53 +090030 i2c8 = &i2c_fg;
31 i2c9 = &i2c_max77693;
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010032 serial0 = "/serial@13800000";
33 console = "/serial@13820000";
Jaehoon Chung836efb32016-06-28 19:47:25 +090034 mmc0 = "/sdhci@12510000";
35 mmc2 = "/sdhci@12530000";
36 mshc0 = "/dwmmc@12550000";
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010037 };
38
Jaehoon Chung8b6edb22017-04-03 19:02:53 +090039 i2c_fg: fuel-gauge {
40 compatible = "i2c-gpio";
41 gpios = <&gpf1 5 0>, /* sda */
42 <&gpf1 4 0>; /* scl */
43 i2c-gpio,delay-us = <2>; /* ~100 kHz */
44 status = "okay";
45 };
46
47 i2c_max77693: max77693 {
48 compatible = "i2c-gpio";
49 gpio = <&gpm2 0 0>, /* sda */
50 <&gpm2 1 0>; /* scl */
51 i2c-gpio,delay-us = <2>; /* ~100 kHz */
52 status = "okay";
53 };
54
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010055 i2c@138d0000 {
56 samsung,i2c-sda-delay = <100>;
57 samsung,i2c-slave-addr = <0x10>;
58 samsung,i2c-max-bus-freq = <100000>;
59 status = "okay";
60
61 max77686_pmic@09 {
Przemyslaw Marczakf37df0f2015-04-20 20:07:45 +020062 compatible = "maxim,max77686";
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010063 interrupts = <7 0>;
64 reg = <0x09 0 0>;
65 #clock-cells = <1>;
66
67 voltage-regulators {
Simon Glassfac971b2015-08-03 08:19:19 -060068 ldo1_reg: LDO1 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010069 regulator-compatible = "LDO1";
70 regulator-name = "VALIVE_1.0V_AP";
71 regulator-min-microvolt = <1000000>;
72 regulator-max-microvolt = <1000000>;
73 regulator-always-on;
74 regulator-mem-on;
75 };
76
Simon Glassfac971b2015-08-03 08:19:19 -060077 ldo2_reg: LDO2 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010078 regulator-compatible = "LDO2";
79 regulator-name = "VM1M2_1.2V_AP";
80 regulator-min-microvolt = <1200000>;
81 regulator-max-microvolt = <1200000>;
82 regulator-always-on;
83 regulator-mem-on;
84 };
85
Simon Glassfac971b2015-08-03 08:19:19 -060086 ldo3_reg: LDO3 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010087 regulator-compatible = "LDO3";
88 regulator-name = "VCC_1.8V_AP";
89 regulator-min-microvolt = <1800000>;
90 regulator-max-microvolt = <1800000>;
91 regulator-always-on;
92 regulator-mem-on;
93 };
94
Simon Glassfac971b2015-08-03 08:19:19 -060095 ldo4_reg: LDO4 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010096 regulator-compatible = "LDO4";
97 regulator-name = "VCC_2.8V_AP";
98 regulator-min-microvolt = <2800000>;
99 regulator-max-microvolt = <2800000>;
100 regulator-always-on;
101 regulator-mem-on;
102 };
103
Simon Glassfac971b2015-08-03 08:19:19 -0600104 ldo5_reg: LDO5 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100105 regulator-compatible = "LDO5";
106 regulator-name = "VCC_1.8V_IO";
107 regulator-min-microvolt = <1800000>;
108 regulator-max-microvolt = <1800000>;
109 regulator-always-on;
110 regulator-mem-on;
111 };
112
Simon Glassfac971b2015-08-03 08:19:19 -0600113 ldo6_reg: LDO6 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100114 regulator-compatible = "LDO6";
115 regulator-name = "VMPLL_1.0V_AP";
116 regulator-min-microvolt = <1000000>;
117 regulator-max-microvolt = <1000000>;
118 regulator-always-on;
119 regulator-mem-on;
120 };
121
Simon Glassfac971b2015-08-03 08:19:19 -0600122 ldo7_reg: LDO7 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100123 regulator-compatible = "LDO7";
124 regulator-name = "VPLL_1.0V_AP";
125 regulator-min-microvolt = <1000000>;
126 regulator-max-microvolt = <1000000>;
127 regulator-always-on;
128 regulator-mem-on;
129 };
130
Simon Glassfac971b2015-08-03 08:19:19 -0600131 ldo8_reg: LDO8 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100132 regulator-compatible = "LDO8";
133 regulator-name = "VMIPI_1.0V";
134 regulator-min-microvolt = <1000000>;
135 regulator-max-microvolt = <1000000>;
136 regulator-mem-off;
137 };
138
Simon Glassfac971b2015-08-03 08:19:19 -0600139 ldo9_reg: LDO9 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100140 regulator-compatible = "LDO9";
141 regulator-name = "CAM_ISP_MIPI_1.2V";
142 regulator-min-microvolt = <1200000>;
143 regulator-max-microvolt = <1200000>;
144 regulator-mem-idle;
145 };
146
Simon Glassfac971b2015-08-03 08:19:19 -0600147 ldo10_reg: LDO10 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100148 regulator-compatible = "LDO10";
149 regulator-name = "VMIPI_1.8V";
150 regulator-min-microvolt = <1800000>;
151 regulator-max-microvolt = <1800000>;
152 regulator-mem-off;
153 };
154
Simon Glassfac971b2015-08-03 08:19:19 -0600155 ldo11_reg: LDO11 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100156 regulator-compatible = "LDO11";
157 regulator-name = "VABB1_1.95V";
158 regulator-min-microvolt = <1950000>;
159 regulator-max-microvolt = <1950000>;
160 regulator-always-on;
161 regulator-mem-off;
162 };
163
Simon Glassfac971b2015-08-03 08:19:19 -0600164 ldo12_reg: LDO12 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100165 regulator-compatible = "LDO12";
166 regulator-name = "VUOTG_3.0V";
167 regulator-min-microvolt = <3000000>;
168 regulator-max-microvolt = <3000000>;
169 regulator-mem-off;
170 };
171
Simon Glassfac971b2015-08-03 08:19:19 -0600172 ldo13_reg: LDO13 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100173 regulator-compatible = "LDO13";
174 regulator-name = "NFC_AVDD_1.8V";
175 regulator-min-microvolt = <1800000>;
176 regulator-max-microvolt = <1800000>;
177 regulator-mem-idle;
178 };
179
Simon Glassfac971b2015-08-03 08:19:19 -0600180 ldo14_reg: LDO14 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100181 regulator-compatible = "LDO14";
182 regulator-name = "VABB2_1.95V";
183 regulator-min-microvolt = <1950000>;
184 regulator-max-microvolt = <1950000>;
185 regulator-always-on;
186 regulator-mem-off;
187 };
188
Simon Glassfac971b2015-08-03 08:19:19 -0600189 ldo15_reg: LDO15 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100190 regulator-compatible = "LDO15";
191 regulator-name = "VHSIC_1.0V";
192 regulator-min-microvolt = <1000000>;
193 regulator-max-microvolt = <1000000>;
194 regulator-mem-off;
195 };
196
Simon Glassfac971b2015-08-03 08:19:19 -0600197 ldo16_reg: LDO16 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100198 regulator-compatible = "LDO16";
199 regulator-name = "VHSIC_1.8V";
200 regulator-min-microvolt = <1800000>;
201 regulator-max-microvolt = <1800000>;
202 regulator-mem-off;
203 };
204
Simon Glassfac971b2015-08-03 08:19:19 -0600205 ldo17_reg: LDO17 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100206 regulator-compatible = "LDO17";
207 regulator-name = "CAM_SENSOR_CORE_1.2V";
208 regulator-min-microvolt = <1200000>;
209 regulator-max-microvolt = <1200000>;
210 regulator-mem-idle;
211 };
212
Simon Glassfac971b2015-08-03 08:19:19 -0600213 ldo18_reg: LDO18 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100214 regulator-compatible = "LDO18";
215 regulator-name = "CAM_ISP_SEN_IO_1.8V";
216 regulator-min-microvolt = <1800000>;
217 regulator-max-microvolt = <1800000>;
218 regulator-mem-idle;
219 };
220
Simon Glassfac971b2015-08-03 08:19:19 -0600221 ldo19_reg: LDO19 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100222 regulator-compatible = "LDO19";
223 regulator-name = "VT_CAM_1.8V";
224 regulator-min-microvolt = <1800000>;
225 regulator-max-microvolt = <1800000>;
226 regulator-mem-idle;
227 };
228
Simon Glassfac971b2015-08-03 08:19:19 -0600229 ldo20_reg: LDO20 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100230 regulator-compatible = "LDO20";
231 regulator-name = "VDDQ_PRE_1.8V";
232 regulator-min-microvolt = <1800000>;
233 regulator-max-microvolt = <1800000>;
234 regulator-mem-idle;
235 };
236
Simon Glassfac971b2015-08-03 08:19:19 -0600237 ldo21_reg: LDO21 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100238 regulator-compatible = "LDO21";
239 regulator-name = "VTF_2.8V";
240 regulator-min-microvolt = <2800000>;
241 regulator-max-microvolt = <2800000>;
242 regulator-mem-idle;
243 };
244
Simon Glassfac971b2015-08-03 08:19:19 -0600245 ldo22_reg: LDO22 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100246 regulator-compatible = "LDO22";
247 regulator-name = "VMEM_VDD_2.8V";
248 regulator-min-microvolt = <2800000>;
249 regulator-max-microvolt = <2800000>;
250 regulator-always-on;
251 regulator-mem-off;
252 };
253
Simon Glassfac971b2015-08-03 08:19:19 -0600254 ldo23_reg: LDO23 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100255 regulator-compatible = "LDO23";
256 regulator-name = "TSP_AVDD_3.3V";
257 regulator-min-microvolt = <3300000>;
258 regulator-max-microvolt = <3300000>;
259 regulator-mem-idle;
260 };
261
Simon Glassfac971b2015-08-03 08:19:19 -0600262 ldo24_reg: LDO24 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100263 regulator-compatible = "LDO24";
264 regulator-name = "TSP_VDD_1.8V";
265 regulator-min-microvolt = <1800000>;
266 regulator-max-microvolt = <1800000>;
267 regulator-mem-idle;
268 };
269
Simon Glassfac971b2015-08-03 08:19:19 -0600270 ldo25_reg: LDO25 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100271 regulator-compatible = "LDO25";
272 regulator-name = "LCD_VCC_3.3V";
273 regulator-min-microvolt = <2800000>;
274 regulator-max-microvolt = <2800000>;
275 regulator-mem-idle;
276 };
277
Simon Glassfac971b2015-08-03 08:19:19 -0600278 ldo26_reg: LDO26 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100279 regulator-compatible = "LDO26";
280 regulator-name = "MOTOR_VCC_3.0V";
281 regulator-min-microvolt = <3000000>;
282 regulator-max-microvolt = <3000000>;
283 regulator-mem-idle;
284 };
285
Simon Glassfac971b2015-08-03 08:19:19 -0600286 buck1_reg: BUCK1 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100287 regulator-compatible = "BUCK1";
288 regulator-name = "vdd_mif";
289 regulator-min-microvolt = <850000>;
290 regulator-max-microvolt = <1100000>;
291 regulator-always-on;
292 regulator-boot-on;
293 regulator-mem-off;
294 };
295
Simon Glassfac971b2015-08-03 08:19:19 -0600296 buck2_reg: BUCK2 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100297 regulator-compatible = "BUCK2";
298 regulator-name = "vdd_arm";
299 regulator-min-microvolt = <850000>;
300 regulator-max-microvolt = <1500000>;
301 regulator-always-on;
302 regulator-boot-on;
303 regulator-mem-off;
304 };
305
Simon Glassfac971b2015-08-03 08:19:19 -0600306 buck3_reg: BUCK3 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100307 regulator-compatible = "BUCK3";
308 regulator-name = "vdd_int";
309 regulator-min-microvolt = <850000>;
310 regulator-max-microvolt = <1150000>;
311 regulator-always-on;
312 regulator-boot-on;
313 regulator-mem-off;
314 };
315
Simon Glassfac971b2015-08-03 08:19:19 -0600316 buck4_reg: BUCK4 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100317 regulator-compatible = "BUCK4";
318 regulator-name = "vdd_g3d";
319 regulator-min-microvolt = <850000>;
320 regulator-max-microvolt = <1150000>;
321 regulator-boot-on;
322 regulator-mem-off;
323 };
324
Simon Glassfac971b2015-08-03 08:19:19 -0600325 buck5_reg: BUCK5 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100326 regulator-compatible = "BUCK5";
327 regulator-name = "VMEM_1.2V_AP";
328 regulator-min-microvolt = <1200000>;
329 regulator-max-microvolt = <1200000>;
330 regulator-always-on;
331 };
332
Simon Glassfac971b2015-08-03 08:19:19 -0600333 buck6_reg: BUCK6 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100334 regulator-compatible = "BUCK6";
335 regulator-name = "VCC_SUB_1.35V";
336 regulator-min-microvolt = <1350000>;
337 regulator-max-microvolt = <1350000>;
338 regulator-always-on;
339 };
340
Simon Glassfac971b2015-08-03 08:19:19 -0600341 buck7_reg: BUCK7 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100342 regulator-compatible = "BUCK7";
343 regulator-name = "VCC_SUB_2.0V";
344 regulator-min-microvolt = <2000000>;
345 regulator-max-microvolt = <2000000>;
346 regulator-always-on;
347 };
348
Simon Glassfac971b2015-08-03 08:19:19 -0600349 buck8_reg: BUCK8 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100350 regulator-compatible = "BUCK8";
351 regulator-name = "VMEM_VDDF_3.0V";
352 regulator-min-microvolt = <2850000>;
353 regulator-max-microvolt = <2850000>;
354 regulator-always-on;
355 regulator-mem-off;
356 };
357
Simon Glassfac971b2015-08-03 08:19:19 -0600358 buck9_reg: BUCK9 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100359 regulator-compatible = "BUCK9";
360 regulator-name = "CAM_ISP_CORE_1.2V";
361 regulator-min-microvolt = <1000000>;
362 regulator-max-microvolt = <1200000>;
363 regulator-mem-off;
364 };
365 };
366 };
367 };
368
369 fimd@11c00000 {
370 compatible = "samsung,exynos-fimd";
371 reg = <0x11c00000 0xa4>;
372
373 samsung,vl-freq = <60>;
374 samsung,vl-col = <720>;
375 samsung,vl-row = <1280>;
376 samsung,vl-width = <720>;
377 samsung,vl-height = <1280>;
378
379 samsung,vl-clkp = <0>;
380 samsung,vl-oep = <0>;
381 samsung,vl-hsp = <1>;
382 samsung,vl-vsp = <1>;
383 samsung,vl-dp = <1>;
384 samsung,vl-bpix = <4>;
385
386 samsung,vl-hspw = <5>;
387 samsung,vl-hbpd = <10>;
388 samsung,vl-hfpd = <10>;
389 samsung,vl-vspw = <2>;
390 samsung,vl-vbpd = <1>;
391 samsung,vl-vfpd = <13>;
392 samsung,vl-cmd-allow-len = <0xf>;
393
394 samsung,winid = <0>;
395 samsung,power-on-delay = <30>;
396 samsung,interface-mode = <1>;
397 samsung,mipi-enabled = <1>;
398 samsung,dp-enabled;
399 samsung,dual-lcd-enabled;
400
401 samsung,logo-on = <1>;
402 samsung,resolution = <0>;
403 samsung,rgb-mode = <0>;
404 };
405
406 mipidsi@11c80000 {
407 compatible = "samsung,exynos-mipi-dsi";
408 reg = <0x11c80000 0x5c>;
409
410 samsung,dsim-config-e-interface = <1>;
411 samsung,dsim-config-e-virtual-ch = <0>;
412 samsung,dsim-config-e-pixel-format = <7>;
413 samsung,dsim-config-e-burst-mode = <1>;
414 samsung,dsim-config-e-no-data-lane = <3>;
415 samsung,dsim-config-e-byte-clk = <0>;
416 samsung,dsim-config-hfp = <1>;
417
418 samsung,dsim-config-p = <3>;
419 samsung,dsim-config-m = <120>;
420 samsung,dsim-config-s = <1>;
421
422 samsung,dsim-config-pll-stable-time = <500>;
423 samsung,dsim-config-esc-clk = <20000000>;
424 samsung,dsim-config-stop-holding-cnt = <0x7ff>;
425 samsung,dsim-config-bta-timeout = <0xff>;
426 samsung,dsim-config-rx-timeout = <0xffff>;
427
428 samsung,dsim-device-id = <0xffffffff>;
429 samsung,dsim-device-bus-id = <0>;
430
431 samsung,dsim-device-reverse-panel = <1>;
432 };
433
434 sdhci@12510000 {
435 samsung,bus-width = <8>;
436 samsung,timing = <1 3 3>;
Simon Glass6f755eb2015-01-05 20:05:42 -0700437 pwr-gpios = <&gpk0 4 0>;
Jaehoon Chungea5ee2d2014-05-16 13:59:56 +0900438 status = "disabled";
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100439 };
440
441 sdhci@12520000 {
442 status = "disabled";
443 };
444
445 sdhci@12530000 {
446 samsung,bus-width = <4>;
447 samsung,timing = <1 2 3>;
Simon Glass6f755eb2015-01-05 20:05:42 -0700448 cd-gpios = <&gpk2 2 0>;
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100449 };
450
451 sdhci@12540000 {
452 status = "disabled";
453 };
Beomho Seocd0ae612014-05-16 13:59:48 +0900454
455 dwmmc@12550000 {
456 samsung,bus-width = <8>;
Jaehoon Chungea5ee2d2014-05-16 13:59:56 +0900457 samsung,timing = <2 1 0>;
Simon Glass6f755eb2015-01-05 20:05:42 -0700458 pwr-gpios = <&gpk0 4 0>;
Jaehoon Chungea5ee2d2014-05-16 13:59:56 +0900459 fifoth_val = <0x203f0040>;
460 bus_hz = <400000000>;
461 div = <0x3>;
Beomho Seocd0ae612014-05-16 13:59:48 +0900462 index = <4>;
463 };
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100464};