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