blob: 61b5133786953a43afa62ce6fb6b9429b1bd68b1 [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 {
Jaehoon Chung8b6edb22017-04-03 19:02:53 +090022 i2c8 = &i2c_fg;
23 i2c9 = &i2c_max77693;
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010024 serial0 = "/serial@13800000";
25 console = "/serial@13820000";
Jaehoon Chung9c2e2ca2017-05-30 10:03:28 +090026 mmc0 = &mshc_0;
27 mmc1 = &sdhci2;
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010028 };
29
Jaehoon Chung8b6edb22017-04-03 19:02:53 +090030 i2c_fg: fuel-gauge {
31 compatible = "i2c-gpio";
32 gpios = <&gpf1 5 0>, /* sda */
33 <&gpf1 4 0>; /* scl */
34 i2c-gpio,delay-us = <2>; /* ~100 kHz */
35 status = "okay";
36 };
37
38 i2c_max77693: max77693 {
39 compatible = "i2c-gpio";
40 gpio = <&gpm2 0 0>, /* sda */
41 <&gpm2 1 0>; /* scl */
42 i2c-gpio,delay-us = <2>; /* ~100 kHz */
43 status = "okay";
44 };
45
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +010046 fimd@11c00000 {
47 compatible = "samsung,exynos-fimd";
48 reg = <0x11c00000 0xa4>;
49
50 samsung,vl-freq = <60>;
51 samsung,vl-col = <720>;
52 samsung,vl-row = <1280>;
53 samsung,vl-width = <720>;
54 samsung,vl-height = <1280>;
55
56 samsung,vl-clkp = <0>;
57 samsung,vl-oep = <0>;
58 samsung,vl-hsp = <1>;
59 samsung,vl-vsp = <1>;
60 samsung,vl-dp = <1>;
61 samsung,vl-bpix = <4>;
62
63 samsung,vl-hspw = <5>;
64 samsung,vl-hbpd = <10>;
65 samsung,vl-hfpd = <10>;
66 samsung,vl-vspw = <2>;
67 samsung,vl-vbpd = <1>;
68 samsung,vl-vfpd = <13>;
69 samsung,vl-cmd-allow-len = <0xf>;
70
71 samsung,winid = <0>;
72 samsung,power-on-delay = <30>;
73 samsung,interface-mode = <1>;
74 samsung,mipi-enabled = <1>;
75 samsung,dp-enabled;
76 samsung,dual-lcd-enabled;
77
78 samsung,logo-on = <1>;
79 samsung,resolution = <0>;
80 samsung,rgb-mode = <0>;
81 };
82
83 mipidsi@11c80000 {
84 compatible = "samsung,exynos-mipi-dsi";
85 reg = <0x11c80000 0x5c>;
86
87 samsung,dsim-config-e-interface = <1>;
88 samsung,dsim-config-e-virtual-ch = <0>;
89 samsung,dsim-config-e-pixel-format = <7>;
90 samsung,dsim-config-e-burst-mode = <1>;
91 samsung,dsim-config-e-no-data-lane = <3>;
92 samsung,dsim-config-e-byte-clk = <0>;
93 samsung,dsim-config-hfp = <1>;
94
95 samsung,dsim-config-p = <3>;
96 samsung,dsim-config-m = <120>;
97 samsung,dsim-config-s = <1>;
98
99 samsung,dsim-config-pll-stable-time = <500>;
100 samsung,dsim-config-esc-clk = <20000000>;
101 samsung,dsim-config-stop-holding-cnt = <0x7ff>;
102 samsung,dsim-config-bta-timeout = <0xff>;
103 samsung,dsim-config-rx-timeout = <0xffff>;
104
105 samsung,dsim-device-id = <0xffffffff>;
106 samsung,dsim-device-bus-id = <0>;
107
108 samsung,dsim-device-reverse-panel = <1>;
109 };
110
111 sdhci@12510000 {
112 samsung,bus-width = <8>;
113 samsung,timing = <1 3 3>;
Simon Glass6f755eb2015-01-05 20:05:42 -0700114 pwr-gpios = <&gpk0 4 0>;
Jaehoon Chungea5ee2d2014-05-16 13:59:56 +0900115 status = "disabled";
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100116 };
Jaehoon Chung9c2e2ca2017-05-30 10:03:28 +0900117};
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100118
Jaehoon Chungd8b385b2017-11-28 16:20:39 +0900119&i2c_7 {
120 samsung,i2c-sda-delay = <100>;
121 samsung,i2c-slave-addr = <0x10>;
122 samsung,i2c-max-bus-freq = <100000>;
123 status = "okay";
124
125 max77686: max77686_pmic@09 {
126 compatible = "maxim,max77686";
127 interrupt-parent = <&gpx0>;
128 interrupts = <7 0>;
129 reg = <0x09 0 0>;
130 #clock-cells = <1>;
131
132 voltage-regulators {
133 ldo1_reg: LDO1 {
134 regulator-compatible = "LDO1";
135 regulator-name = "VALIVE_1.0V_AP";
136 regulator-min-microvolt = <1000000>;
137 regulator-max-microvolt = <1000000>;
138 regulator-always-on;
139 regulator-mem-on;
140 };
141
142 ldo2_reg: LDO2 {
143 regulator-compatible = "LDO2";
144 regulator-name = "VM1M2_1.2V_AP";
145 regulator-min-microvolt = <1200000>;
146 regulator-max-microvolt = <1200000>;
147 regulator-always-on;
148 regulator-mem-on;
149 };
150
151 ldo3_reg: LDO3 {
152 regulator-compatible = "LDO3";
153 regulator-name = "VCC_1.8V_AP";
154 regulator-min-microvolt = <1800000>;
155 regulator-max-microvolt = <1800000>;
156 regulator-always-on;
157 regulator-mem-on;
158 };
159
160 ldo4_reg: LDO4 {
161 regulator-compatible = "LDO4";
162 regulator-name = "VCC_2.8V_AP";
163 regulator-min-microvolt = <2800000>;
164 regulator-max-microvolt = <2800000>;
165 regulator-always-on;
166 regulator-mem-on;
167 };
168
169 ldo5_reg: LDO5 {
170 regulator-compatible = "LDO5";
171 regulator-name = "VCC_1.8V_IO";
172 regulator-min-microvolt = <1800000>;
173 regulator-max-microvolt = <1800000>;
174 regulator-always-on;
175 regulator-mem-on;
176 };
177
178 ldo6_reg: LDO6 {
179 regulator-compatible = "LDO6";
180 regulator-name = "VMPLL_1.0V_AP";
181 regulator-min-microvolt = <1000000>;
182 regulator-max-microvolt = <1000000>;
183 regulator-always-on;
184 regulator-mem-on;
185 };
186
187 ldo7_reg: LDO7 {
188 regulator-compatible = "LDO7";
189 regulator-name = "VPLL_1.0V_AP";
190 regulator-min-microvolt = <1000000>;
191 regulator-max-microvolt = <1000000>;
192 regulator-always-on;
193 regulator-mem-on;
194 };
195
196 ldo8_reg: LDO8 {
197 regulator-compatible = "LDO8";
198 regulator-name = "VMIPI_1.0V";
199 regulator-min-microvolt = <1000000>;
200 regulator-max-microvolt = <1000000>;
201 regulator-mem-off;
202 };
203
204 ldo9_reg: LDO9 {
205 regulator-compatible = "LDO9";
206 regulator-name = "CAM_ISP_MIPI_1.2V";
207 regulator-min-microvolt = <1200000>;
208 regulator-max-microvolt = <1200000>;
209 regulator-mem-idle;
210 };
211
212 ldo10_reg: LDO10 {
213 regulator-compatible = "LDO10";
214 regulator-name = "VMIPI_1.8V";
215 regulator-min-microvolt = <1800000>;
216 regulator-max-microvolt = <1800000>;
217 regulator-mem-off;
218 };
219
220 ldo11_reg: LDO11 {
221 regulator-compatible = "LDO11";
222 regulator-name = "VABB1_1.95V";
223 regulator-min-microvolt = <1950000>;
224 regulator-max-microvolt = <1950000>;
225 regulator-always-on;
226 regulator-mem-off;
227 };
228
229 ldo12_reg: LDO12 {
230 regulator-compatible = "LDO12";
231 regulator-name = "VUOTG_3.0V";
232 regulator-min-microvolt = <3000000>;
233 regulator-max-microvolt = <3000000>;
234 regulator-mem-off;
235 };
236
237 ldo13_reg: LDO13 {
238 regulator-compatible = "LDO13";
239 regulator-name = "NFC_AVDD_1.8V";
240 regulator-min-microvolt = <1800000>;
241 regulator-max-microvolt = <1800000>;
242 regulator-mem-idle;
243 };
244
245 ldo14_reg: LDO14 {
246 regulator-compatible = "LDO14";
247 regulator-name = "VABB2_1.95V";
248 regulator-min-microvolt = <1950000>;
249 regulator-max-microvolt = <1950000>;
250 regulator-always-on;
251 regulator-mem-off;
252 };
253
254 ldo15_reg: LDO15 {
255 regulator-compatible = "LDO15";
256 regulator-name = "VHSIC_1.0V";
257 regulator-min-microvolt = <1000000>;
258 regulator-max-microvolt = <1000000>;
259 regulator-mem-off;
260 };
261
262 ldo16_reg: LDO16 {
263 regulator-compatible = "LDO16";
264 regulator-name = "VHSIC_1.8V";
265 regulator-min-microvolt = <1800000>;
266 regulator-max-microvolt = <1800000>;
267 regulator-mem-off;
268 };
269
270 ldo17_reg: LDO17 {
271 regulator-compatible = "LDO17";
272 regulator-name = "CAM_SENSOR_CORE_1.2V";
273 regulator-min-microvolt = <1200000>;
274 regulator-max-microvolt = <1200000>;
275 regulator-mem-idle;
276 };
277
278 ldo18_reg: LDO18 {
279 regulator-compatible = "LDO18";
280 regulator-name = "CAM_ISP_SEN_IO_1.8V";
281 regulator-min-microvolt = <1800000>;
282 regulator-max-microvolt = <1800000>;
283 regulator-mem-idle;
284 };
285
286 ldo19_reg: LDO19 {
287 regulator-compatible = "LDO19";
288 regulator-name = "VT_CAM_1.8V";
289 regulator-min-microvolt = <1800000>;
290 regulator-max-microvolt = <1800000>;
291 regulator-mem-idle;
292 };
293
294 ldo20_reg: LDO20 {
295 regulator-compatible = "LDO20";
296 regulator-name = "VDDQ_PRE_1.8V";
297 regulator-min-microvolt = <1800000>;
298 regulator-max-microvolt = <1800000>;
299 regulator-mem-idle;
300 };
301
302 ldo21_reg: LDO21 {
303 regulator-compatible = "LDO21";
304 regulator-name = "VTF_2.8V";
305 regulator-min-microvolt = <2800000>;
306 regulator-max-microvolt = <2800000>;
307 regulator-mem-idle;
308 };
309
310 ldo22_reg: LDO22 {
311 regulator-compatible = "LDO22";
312 regulator-name = "VMEM_VDD_2.8V";
313 regulator-min-microvolt = <2800000>;
314 regulator-max-microvolt = <2800000>;
315 regulator-always-on;
316 regulator-mem-off;
317 };
318
319 ldo23_reg: LDO23 {
320 regulator-compatible = "LDO23";
321 regulator-name = "TSP_AVDD_3.3V";
322 regulator-min-microvolt = <3300000>;
323 regulator-max-microvolt = <3300000>;
324 regulator-mem-idle;
325 };
326
327 ldo24_reg: LDO24 {
328 regulator-compatible = "LDO24";
329 regulator-name = "TSP_VDD_1.8V";
330 regulator-min-microvolt = <1800000>;
331 regulator-max-microvolt = <1800000>;
332 regulator-mem-idle;
333 };
334
335 ldo25_reg: LDO25 {
336 regulator-compatible = "LDO25";
337 regulator-name = "LCD_VCC_3.3V";
338 regulator-min-microvolt = <2800000>;
339 regulator-max-microvolt = <2800000>;
340 regulator-mem-idle;
341 };
342
343 ldo26_reg: LDO26 {
344 regulator-compatible = "LDO26";
345 regulator-name = "MOTOR_VCC_3.0V";
346 regulator-min-microvolt = <3000000>;
347 regulator-max-microvolt = <3000000>;
348 regulator-mem-idle;
349 };
350
351 buck1_reg: BUCK1 {
352 regulator-compatible = "BUCK1";
353 regulator-name = "vdd_mif";
354 regulator-min-microvolt = <850000>;
355 regulator-max-microvolt = <1100000>;
356 regulator-always-on;
357 regulator-boot-on;
358 regulator-mem-off;
359 };
360
361 buck2_reg: BUCK2 {
362 regulator-compatible = "BUCK2";
363 regulator-name = "vdd_arm";
364 regulator-min-microvolt = <850000>;
365 regulator-max-microvolt = <1500000>;
366 regulator-always-on;
367 regulator-boot-on;
368 regulator-mem-off;
369 };
370
371 buck3_reg: BUCK3 {
372 regulator-compatible = "BUCK3";
373 regulator-name = "vdd_int";
374 regulator-min-microvolt = <850000>;
375 regulator-max-microvolt = <1150000>;
376 regulator-always-on;
377 regulator-boot-on;
378 regulator-mem-off;
379 };
380
381 buck4_reg: BUCK4 {
382 regulator-compatible = "BUCK4";
383 regulator-name = "vdd_g3d";
384 regulator-min-microvolt = <850000>;
385 regulator-max-microvolt = <1150000>;
386 regulator-boot-on;
387 regulator-mem-off;
388 };
389
390 buck5_reg: BUCK5 {
391 regulator-compatible = "BUCK5";
392 regulator-name = "VMEM_1.2V_AP";
393 regulator-min-microvolt = <1200000>;
394 regulator-max-microvolt = <1200000>;
395 regulator-always-on;
396 };
397
398 buck6_reg: BUCK6 {
399 regulator-compatible = "BUCK6";
400 regulator-name = "VCC_SUB_1.35V";
401 regulator-min-microvolt = <1350000>;
402 regulator-max-microvolt = <1350000>;
403 regulator-always-on;
404 };
405
406 buck7_reg: BUCK7 {
407 regulator-compatible = "BUCK7";
408 regulator-name = "VCC_SUB_2.0V";
409 regulator-min-microvolt = <2000000>;
410 regulator-max-microvolt = <2000000>;
411 regulator-always-on;
412 };
413
414 buck8_reg: BUCK8 {
415 regulator-compatible = "BUCK8";
416 regulator-name = "VMEM_VDDF_3.0V";
417 regulator-min-microvolt = <2850000>;
418 regulator-max-microvolt = <2850000>;
419 regulator-always-on;
420 regulator-mem-off;
421 };
422
423 buck9_reg: BUCK9 {
424 regulator-compatible = "BUCK9";
425 regulator-name = "CAM_ISP_CORE_1.2V";
426 regulator-min-microvolt = <1000000>;
427 regulator-max-microvolt = <1200000>;
428 regulator-mem-off;
429 };
430 };
431 };
432};
433
Jaehoon Chung9c2e2ca2017-05-30 10:03:28 +0900434&sdhci0 {
435 samsung,bus-width = <8>;
436 samsung,timing = <1 3 3>;
437 pwr-gpios = <&gpk0 4 0>;
438 status = "disabled";
439};
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100440
Jaehoon Chung9c2e2ca2017-05-30 10:03:28 +0900441&sdhci2 {
442 samsung,bus-width = <4>;
443 samsung,timing = <1 2 3>;
444 cd-gpios = <&gpk2 2 0>;
445 status = "okay";
446};
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100447
Jaehoon Chung9c2e2ca2017-05-30 10:03:28 +0900448&mshc_0 {
449 samsung,bus-width = <8>;
450 samsung,timing = <2 1 0>;
451 samsung,removable = <0>;
452 fifoth_val = <0x203f0040>;
453 bus_hz = <400000000>;
454 div = <0x3>;
455 index = <4>;
456 fifo-depth = <0x80>;
457 status = "okay";
Piotr Wilczek1ecab0f2014-03-07 14:59:49 +0100458};