blob: 0938e7941a7b9fa4ac4d4f720eac8808f03198f2 [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 Chung9c2e2ca2017-05-30 10:03:28 +090034 mmc0 = &mshc_0;
35 mmc1 = &sdhci2;
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010036 };
37
Jaehoon Chung8b6edb22017-04-03 19:02:53 +090038 i2c_fg: fuel-gauge {
39 compatible = "i2c-gpio";
40 gpios = <&gpf1 5 0>, /* sda */
41 <&gpf1 4 0>; /* scl */
42 i2c-gpio,delay-us = <2>; /* ~100 kHz */
43 status = "okay";
44 };
45
46 i2c_max77693: max77693 {
47 compatible = "i2c-gpio";
48 gpio = <&gpm2 0 0>, /* sda */
49 <&gpm2 1 0>; /* scl */
50 i2c-gpio,delay-us = <2>; /* ~100 kHz */
51 status = "okay";
52 };
53
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010054 i2c@138d0000 {
55 samsung,i2c-sda-delay = <100>;
56 samsung,i2c-slave-addr = <0x10>;
57 samsung,i2c-max-bus-freq = <100000>;
58 status = "okay";
59
60 max77686_pmic@09 {
Przemyslaw Marczakf37df0f2015-04-20 20:07:45 +020061 compatible = "maxim,max77686";
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010062 interrupts = <7 0>;
63 reg = <0x09 0 0>;
64 #clock-cells = <1>;
65
66 voltage-regulators {
Simon Glassfac971b2015-08-03 08:19:19 -060067 ldo1_reg: LDO1 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010068 regulator-compatible = "LDO1";
69 regulator-name = "VALIVE_1.0V_AP";
70 regulator-min-microvolt = <1000000>;
71 regulator-max-microvolt = <1000000>;
72 regulator-always-on;
73 regulator-mem-on;
74 };
75
Simon Glassfac971b2015-08-03 08:19:19 -060076 ldo2_reg: LDO2 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010077 regulator-compatible = "LDO2";
78 regulator-name = "VM1M2_1.2V_AP";
79 regulator-min-microvolt = <1200000>;
80 regulator-max-microvolt = <1200000>;
81 regulator-always-on;
82 regulator-mem-on;
83 };
84
Simon Glassfac971b2015-08-03 08:19:19 -060085 ldo3_reg: LDO3 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010086 regulator-compatible = "LDO3";
87 regulator-name = "VCC_1.8V_AP";
88 regulator-min-microvolt = <1800000>;
89 regulator-max-microvolt = <1800000>;
90 regulator-always-on;
91 regulator-mem-on;
92 };
93
Simon Glassfac971b2015-08-03 08:19:19 -060094 ldo4_reg: LDO4 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010095 regulator-compatible = "LDO4";
96 regulator-name = "VCC_2.8V_AP";
97 regulator-min-microvolt = <2800000>;
98 regulator-max-microvolt = <2800000>;
99 regulator-always-on;
100 regulator-mem-on;
101 };
102
Simon Glassfac971b2015-08-03 08:19:19 -0600103 ldo5_reg: LDO5 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100104 regulator-compatible = "LDO5";
105 regulator-name = "VCC_1.8V_IO";
106 regulator-min-microvolt = <1800000>;
107 regulator-max-microvolt = <1800000>;
108 regulator-always-on;
109 regulator-mem-on;
110 };
111
Simon Glassfac971b2015-08-03 08:19:19 -0600112 ldo6_reg: LDO6 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100113 regulator-compatible = "LDO6";
114 regulator-name = "VMPLL_1.0V_AP";
115 regulator-min-microvolt = <1000000>;
116 regulator-max-microvolt = <1000000>;
117 regulator-always-on;
118 regulator-mem-on;
119 };
120
Simon Glassfac971b2015-08-03 08:19:19 -0600121 ldo7_reg: LDO7 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100122 regulator-compatible = "LDO7";
123 regulator-name = "VPLL_1.0V_AP";
124 regulator-min-microvolt = <1000000>;
125 regulator-max-microvolt = <1000000>;
126 regulator-always-on;
127 regulator-mem-on;
128 };
129
Simon Glassfac971b2015-08-03 08:19:19 -0600130 ldo8_reg: LDO8 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100131 regulator-compatible = "LDO8";
132 regulator-name = "VMIPI_1.0V";
133 regulator-min-microvolt = <1000000>;
134 regulator-max-microvolt = <1000000>;
135 regulator-mem-off;
136 };
137
Simon Glassfac971b2015-08-03 08:19:19 -0600138 ldo9_reg: LDO9 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100139 regulator-compatible = "LDO9";
140 regulator-name = "CAM_ISP_MIPI_1.2V";
141 regulator-min-microvolt = <1200000>;
142 regulator-max-microvolt = <1200000>;
143 regulator-mem-idle;
144 };
145
Simon Glassfac971b2015-08-03 08:19:19 -0600146 ldo10_reg: LDO10 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100147 regulator-compatible = "LDO10";
148 regulator-name = "VMIPI_1.8V";
149 regulator-min-microvolt = <1800000>;
150 regulator-max-microvolt = <1800000>;
151 regulator-mem-off;
152 };
153
Simon Glassfac971b2015-08-03 08:19:19 -0600154 ldo11_reg: LDO11 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100155 regulator-compatible = "LDO11";
156 regulator-name = "VABB1_1.95V";
157 regulator-min-microvolt = <1950000>;
158 regulator-max-microvolt = <1950000>;
159 regulator-always-on;
160 regulator-mem-off;
161 };
162
Simon Glassfac971b2015-08-03 08:19:19 -0600163 ldo12_reg: LDO12 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100164 regulator-compatible = "LDO12";
165 regulator-name = "VUOTG_3.0V";
166 regulator-min-microvolt = <3000000>;
167 regulator-max-microvolt = <3000000>;
168 regulator-mem-off;
169 };
170
Simon Glassfac971b2015-08-03 08:19:19 -0600171 ldo13_reg: LDO13 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100172 regulator-compatible = "LDO13";
173 regulator-name = "NFC_AVDD_1.8V";
174 regulator-min-microvolt = <1800000>;
175 regulator-max-microvolt = <1800000>;
176 regulator-mem-idle;
177 };
178
Simon Glassfac971b2015-08-03 08:19:19 -0600179 ldo14_reg: LDO14 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100180 regulator-compatible = "LDO14";
181 regulator-name = "VABB2_1.95V";
182 regulator-min-microvolt = <1950000>;
183 regulator-max-microvolt = <1950000>;
184 regulator-always-on;
185 regulator-mem-off;
186 };
187
Simon Glassfac971b2015-08-03 08:19:19 -0600188 ldo15_reg: LDO15 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100189 regulator-compatible = "LDO15";
190 regulator-name = "VHSIC_1.0V";
191 regulator-min-microvolt = <1000000>;
192 regulator-max-microvolt = <1000000>;
193 regulator-mem-off;
194 };
195
Simon Glassfac971b2015-08-03 08:19:19 -0600196 ldo16_reg: LDO16 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100197 regulator-compatible = "LDO16";
198 regulator-name = "VHSIC_1.8V";
199 regulator-min-microvolt = <1800000>;
200 regulator-max-microvolt = <1800000>;
201 regulator-mem-off;
202 };
203
Simon Glassfac971b2015-08-03 08:19:19 -0600204 ldo17_reg: LDO17 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100205 regulator-compatible = "LDO17";
206 regulator-name = "CAM_SENSOR_CORE_1.2V";
207 regulator-min-microvolt = <1200000>;
208 regulator-max-microvolt = <1200000>;
209 regulator-mem-idle;
210 };
211
Simon Glassfac971b2015-08-03 08:19:19 -0600212 ldo18_reg: LDO18 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100213 regulator-compatible = "LDO18";
214 regulator-name = "CAM_ISP_SEN_IO_1.8V";
215 regulator-min-microvolt = <1800000>;
216 regulator-max-microvolt = <1800000>;
217 regulator-mem-idle;
218 };
219
Simon Glassfac971b2015-08-03 08:19:19 -0600220 ldo19_reg: LDO19 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100221 regulator-compatible = "LDO19";
222 regulator-name = "VT_CAM_1.8V";
223 regulator-min-microvolt = <1800000>;
224 regulator-max-microvolt = <1800000>;
225 regulator-mem-idle;
226 };
227
Simon Glassfac971b2015-08-03 08:19:19 -0600228 ldo20_reg: LDO20 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100229 regulator-compatible = "LDO20";
230 regulator-name = "VDDQ_PRE_1.8V";
231 regulator-min-microvolt = <1800000>;
232 regulator-max-microvolt = <1800000>;
233 regulator-mem-idle;
234 };
235
Simon Glassfac971b2015-08-03 08:19:19 -0600236 ldo21_reg: LDO21 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100237 regulator-compatible = "LDO21";
238 regulator-name = "VTF_2.8V";
239 regulator-min-microvolt = <2800000>;
240 regulator-max-microvolt = <2800000>;
241 regulator-mem-idle;
242 };
243
Simon Glassfac971b2015-08-03 08:19:19 -0600244 ldo22_reg: LDO22 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100245 regulator-compatible = "LDO22";
246 regulator-name = "VMEM_VDD_2.8V";
247 regulator-min-microvolt = <2800000>;
248 regulator-max-microvolt = <2800000>;
249 regulator-always-on;
250 regulator-mem-off;
251 };
252
Simon Glassfac971b2015-08-03 08:19:19 -0600253 ldo23_reg: LDO23 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100254 regulator-compatible = "LDO23";
255 regulator-name = "TSP_AVDD_3.3V";
256 regulator-min-microvolt = <3300000>;
257 regulator-max-microvolt = <3300000>;
258 regulator-mem-idle;
259 };
260
Simon Glassfac971b2015-08-03 08:19:19 -0600261 ldo24_reg: LDO24 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100262 regulator-compatible = "LDO24";
263 regulator-name = "TSP_VDD_1.8V";
264 regulator-min-microvolt = <1800000>;
265 regulator-max-microvolt = <1800000>;
266 regulator-mem-idle;
267 };
268
Simon Glassfac971b2015-08-03 08:19:19 -0600269 ldo25_reg: LDO25 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100270 regulator-compatible = "LDO25";
271 regulator-name = "LCD_VCC_3.3V";
272 regulator-min-microvolt = <2800000>;
273 regulator-max-microvolt = <2800000>;
274 regulator-mem-idle;
275 };
276
Simon Glassfac971b2015-08-03 08:19:19 -0600277 ldo26_reg: LDO26 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100278 regulator-compatible = "LDO26";
279 regulator-name = "MOTOR_VCC_3.0V";
280 regulator-min-microvolt = <3000000>;
281 regulator-max-microvolt = <3000000>;
282 regulator-mem-idle;
283 };
284
Simon Glassfac971b2015-08-03 08:19:19 -0600285 buck1_reg: BUCK1 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100286 regulator-compatible = "BUCK1";
287 regulator-name = "vdd_mif";
288 regulator-min-microvolt = <850000>;
289 regulator-max-microvolt = <1100000>;
290 regulator-always-on;
291 regulator-boot-on;
292 regulator-mem-off;
293 };
294
Simon Glassfac971b2015-08-03 08:19:19 -0600295 buck2_reg: BUCK2 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100296 regulator-compatible = "BUCK2";
297 regulator-name = "vdd_arm";
298 regulator-min-microvolt = <850000>;
299 regulator-max-microvolt = <1500000>;
300 regulator-always-on;
301 regulator-boot-on;
302 regulator-mem-off;
303 };
304
Simon Glassfac971b2015-08-03 08:19:19 -0600305 buck3_reg: BUCK3 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100306 regulator-compatible = "BUCK3";
307 regulator-name = "vdd_int";
308 regulator-min-microvolt = <850000>;
309 regulator-max-microvolt = <1150000>;
310 regulator-always-on;
311 regulator-boot-on;
312 regulator-mem-off;
313 };
314
Simon Glassfac971b2015-08-03 08:19:19 -0600315 buck4_reg: BUCK4 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100316 regulator-compatible = "BUCK4";
317 regulator-name = "vdd_g3d";
318 regulator-min-microvolt = <850000>;
319 regulator-max-microvolt = <1150000>;
320 regulator-boot-on;
321 regulator-mem-off;
322 };
323
Simon Glassfac971b2015-08-03 08:19:19 -0600324 buck5_reg: BUCK5 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100325 regulator-compatible = "BUCK5";
326 regulator-name = "VMEM_1.2V_AP";
327 regulator-min-microvolt = <1200000>;
328 regulator-max-microvolt = <1200000>;
329 regulator-always-on;
330 };
331
Simon Glassfac971b2015-08-03 08:19:19 -0600332 buck6_reg: BUCK6 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100333 regulator-compatible = "BUCK6";
334 regulator-name = "VCC_SUB_1.35V";
335 regulator-min-microvolt = <1350000>;
336 regulator-max-microvolt = <1350000>;
337 regulator-always-on;
338 };
339
Simon Glassfac971b2015-08-03 08:19:19 -0600340 buck7_reg: BUCK7 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100341 regulator-compatible = "BUCK7";
342 regulator-name = "VCC_SUB_2.0V";
343 regulator-min-microvolt = <2000000>;
344 regulator-max-microvolt = <2000000>;
345 regulator-always-on;
346 };
347
Simon Glassfac971b2015-08-03 08:19:19 -0600348 buck8_reg: BUCK8 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100349 regulator-compatible = "BUCK8";
350 regulator-name = "VMEM_VDDF_3.0V";
351 regulator-min-microvolt = <2850000>;
352 regulator-max-microvolt = <2850000>;
353 regulator-always-on;
354 regulator-mem-off;
355 };
356
Simon Glassfac971b2015-08-03 08:19:19 -0600357 buck9_reg: BUCK9 {
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100358 regulator-compatible = "BUCK9";
359 regulator-name = "CAM_ISP_CORE_1.2V";
360 regulator-min-microvolt = <1000000>;
361 regulator-max-microvolt = <1200000>;
362 regulator-mem-off;
363 };
364 };
365 };
366 };
367
368 fimd@11c00000 {
369 compatible = "samsung,exynos-fimd";
370 reg = <0x11c00000 0xa4>;
371
372 samsung,vl-freq = <60>;
373 samsung,vl-col = <720>;
374 samsung,vl-row = <1280>;
375 samsung,vl-width = <720>;
376 samsung,vl-height = <1280>;
377
378 samsung,vl-clkp = <0>;
379 samsung,vl-oep = <0>;
380 samsung,vl-hsp = <1>;
381 samsung,vl-vsp = <1>;
382 samsung,vl-dp = <1>;
383 samsung,vl-bpix = <4>;
384
385 samsung,vl-hspw = <5>;
386 samsung,vl-hbpd = <10>;
387 samsung,vl-hfpd = <10>;
388 samsung,vl-vspw = <2>;
389 samsung,vl-vbpd = <1>;
390 samsung,vl-vfpd = <13>;
391 samsung,vl-cmd-allow-len = <0xf>;
392
393 samsung,winid = <0>;
394 samsung,power-on-delay = <30>;
395 samsung,interface-mode = <1>;
396 samsung,mipi-enabled = <1>;
397 samsung,dp-enabled;
398 samsung,dual-lcd-enabled;
399
400 samsung,logo-on = <1>;
401 samsung,resolution = <0>;
402 samsung,rgb-mode = <0>;
403 };
404
405 mipidsi@11c80000 {
406 compatible = "samsung,exynos-mipi-dsi";
407 reg = <0x11c80000 0x5c>;
408
409 samsung,dsim-config-e-interface = <1>;
410 samsung,dsim-config-e-virtual-ch = <0>;
411 samsung,dsim-config-e-pixel-format = <7>;
412 samsung,dsim-config-e-burst-mode = <1>;
413 samsung,dsim-config-e-no-data-lane = <3>;
414 samsung,dsim-config-e-byte-clk = <0>;
415 samsung,dsim-config-hfp = <1>;
416
417 samsung,dsim-config-p = <3>;
418 samsung,dsim-config-m = <120>;
419 samsung,dsim-config-s = <1>;
420
421 samsung,dsim-config-pll-stable-time = <500>;
422 samsung,dsim-config-esc-clk = <20000000>;
423 samsung,dsim-config-stop-holding-cnt = <0x7ff>;
424 samsung,dsim-config-bta-timeout = <0xff>;
425 samsung,dsim-config-rx-timeout = <0xffff>;
426
427 samsung,dsim-device-id = <0xffffffff>;
428 samsung,dsim-device-bus-id = <0>;
429
430 samsung,dsim-device-reverse-panel = <1>;
431 };
432
433 sdhci@12510000 {
434 samsung,bus-width = <8>;
435 samsung,timing = <1 3 3>;
Simon Glass6f755eb2015-01-05 20:05:42 -0700436 pwr-gpios = <&gpk0 4 0>;
Jaehoon Chungea5ee2d2014-05-16 13:59:56 +0900437 status = "disabled";
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100438 };
Jaehoon Chung9c2e2ca2017-05-30 10:03:28 +0900439};
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100440
Jaehoon Chung9c2e2ca2017-05-30 10:03:28 +0900441&sdhci0 {
442 samsung,bus-width = <8>;
443 samsung,timing = <1 3 3>;
444 pwr-gpios = <&gpk0 4 0>;
445 status = "disabled";
446};
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100447
Jaehoon Chung9c2e2ca2017-05-30 10:03:28 +0900448&sdhci2 {
449 samsung,bus-width = <4>;
450 samsung,timing = <1 2 3>;
451 cd-gpios = <&gpk2 2 0>;
452 status = "okay";
453};
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100454
Jaehoon Chung9c2e2ca2017-05-30 10:03:28 +0900455&mshc_0 {
456 samsung,bus-width = <8>;
457 samsung,timing = <2 1 0>;
458 samsung,removable = <0>;
459 fifoth_val = <0x203f0040>;
460 bus_hz = <400000000>;
461 div = <0x3>;
462 index = <4>;
463 fifo-depth = <0x80>;
464 status = "okay";
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100465};