blob: 2b71d328cd0ea8cc469480acdf321bfb9230c956 [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 {
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500111 bus-width = <8>;
Simon Glassdabafc32015-01-05 20:05:42 -0700112 pwr-gpios = <&gpk0 4 0>;
Jaehoon Chung0a983a62014-05-16 13:59:56 +0900113 status = "disabled";
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100114 };
Jaehoon Chung2d10e002017-05-30 10:03:28 +0900115};
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100116
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900117&i2c_7 {
118 samsung,i2c-sda-delay = <100>;
119 samsung,i2c-slave-addr = <0x10>;
120 samsung,i2c-max-bus-freq = <100000>;
121 status = "okay";
122
123 max77686: max77686_pmic@09 {
124 compatible = "maxim,max77686";
125 interrupt-parent = <&gpx0>;
126 interrupts = <7 0>;
127 reg = <0x09 0 0>;
128 #clock-cells = <1>;
129
130 voltage-regulators {
131 ldo1_reg: LDO1 {
132 regulator-compatible = "LDO1";
133 regulator-name = "VALIVE_1.0V_AP";
134 regulator-min-microvolt = <1000000>;
135 regulator-max-microvolt = <1000000>;
136 regulator-always-on;
137 regulator-mem-on;
138 };
139
140 ldo2_reg: LDO2 {
141 regulator-compatible = "LDO2";
142 regulator-name = "VM1M2_1.2V_AP";
143 regulator-min-microvolt = <1200000>;
144 regulator-max-microvolt = <1200000>;
145 regulator-always-on;
146 regulator-mem-on;
147 };
148
149 ldo3_reg: LDO3 {
150 regulator-compatible = "LDO3";
151 regulator-name = "VCC_1.8V_AP";
152 regulator-min-microvolt = <1800000>;
153 regulator-max-microvolt = <1800000>;
154 regulator-always-on;
155 regulator-mem-on;
156 };
157
158 ldo4_reg: LDO4 {
159 regulator-compatible = "LDO4";
160 regulator-name = "VCC_2.8V_AP";
161 regulator-min-microvolt = <2800000>;
162 regulator-max-microvolt = <2800000>;
163 regulator-always-on;
164 regulator-mem-on;
165 };
166
167 ldo5_reg: LDO5 {
168 regulator-compatible = "LDO5";
169 regulator-name = "VCC_1.8V_IO";
170 regulator-min-microvolt = <1800000>;
171 regulator-max-microvolt = <1800000>;
172 regulator-always-on;
173 regulator-mem-on;
174 };
175
176 ldo6_reg: LDO6 {
177 regulator-compatible = "LDO6";
178 regulator-name = "VMPLL_1.0V_AP";
179 regulator-min-microvolt = <1000000>;
180 regulator-max-microvolt = <1000000>;
181 regulator-always-on;
182 regulator-mem-on;
183 };
184
185 ldo7_reg: LDO7 {
186 regulator-compatible = "LDO7";
187 regulator-name = "VPLL_1.0V_AP";
188 regulator-min-microvolt = <1000000>;
189 regulator-max-microvolt = <1000000>;
190 regulator-always-on;
191 regulator-mem-on;
192 };
193
194 ldo8_reg: LDO8 {
195 regulator-compatible = "LDO8";
196 regulator-name = "VMIPI_1.0V";
197 regulator-min-microvolt = <1000000>;
198 regulator-max-microvolt = <1000000>;
199 regulator-mem-off;
200 };
201
202 ldo9_reg: LDO9 {
203 regulator-compatible = "LDO9";
204 regulator-name = "CAM_ISP_MIPI_1.2V";
205 regulator-min-microvolt = <1200000>;
206 regulator-max-microvolt = <1200000>;
207 regulator-mem-idle;
208 };
209
210 ldo10_reg: LDO10 {
211 regulator-compatible = "LDO10";
212 regulator-name = "VMIPI_1.8V";
213 regulator-min-microvolt = <1800000>;
214 regulator-max-microvolt = <1800000>;
215 regulator-mem-off;
216 };
217
218 ldo11_reg: LDO11 {
219 regulator-compatible = "LDO11";
220 regulator-name = "VABB1_1.95V";
221 regulator-min-microvolt = <1950000>;
222 regulator-max-microvolt = <1950000>;
223 regulator-always-on;
224 regulator-mem-off;
225 };
226
227 ldo12_reg: LDO12 {
228 regulator-compatible = "LDO12";
229 regulator-name = "VUOTG_3.0V";
230 regulator-min-microvolt = <3000000>;
231 regulator-max-microvolt = <3000000>;
232 regulator-mem-off;
233 };
234
235 ldo13_reg: LDO13 {
236 regulator-compatible = "LDO13";
237 regulator-name = "NFC_AVDD_1.8V";
238 regulator-min-microvolt = <1800000>;
239 regulator-max-microvolt = <1800000>;
240 regulator-mem-idle;
241 };
242
243 ldo14_reg: LDO14 {
244 regulator-compatible = "LDO14";
245 regulator-name = "VABB2_1.95V";
246 regulator-min-microvolt = <1950000>;
247 regulator-max-microvolt = <1950000>;
248 regulator-always-on;
249 regulator-mem-off;
250 };
251
252 ldo15_reg: LDO15 {
253 regulator-compatible = "LDO15";
254 regulator-name = "VHSIC_1.0V";
255 regulator-min-microvolt = <1000000>;
256 regulator-max-microvolt = <1000000>;
257 regulator-mem-off;
258 };
259
260 ldo16_reg: LDO16 {
261 regulator-compatible = "LDO16";
262 regulator-name = "VHSIC_1.8V";
263 regulator-min-microvolt = <1800000>;
264 regulator-max-microvolt = <1800000>;
265 regulator-mem-off;
266 };
267
268 ldo17_reg: LDO17 {
269 regulator-compatible = "LDO17";
270 regulator-name = "CAM_SENSOR_CORE_1.2V";
271 regulator-min-microvolt = <1200000>;
272 regulator-max-microvolt = <1200000>;
273 regulator-mem-idle;
274 };
275
276 ldo18_reg: LDO18 {
277 regulator-compatible = "LDO18";
278 regulator-name = "CAM_ISP_SEN_IO_1.8V";
279 regulator-min-microvolt = <1800000>;
280 regulator-max-microvolt = <1800000>;
281 regulator-mem-idle;
282 };
283
284 ldo19_reg: LDO19 {
285 regulator-compatible = "LDO19";
286 regulator-name = "VT_CAM_1.8V";
287 regulator-min-microvolt = <1800000>;
288 regulator-max-microvolt = <1800000>;
289 regulator-mem-idle;
290 };
291
292 ldo20_reg: LDO20 {
293 regulator-compatible = "LDO20";
294 regulator-name = "VDDQ_PRE_1.8V";
295 regulator-min-microvolt = <1800000>;
296 regulator-max-microvolt = <1800000>;
297 regulator-mem-idle;
298 };
299
300 ldo21_reg: LDO21 {
301 regulator-compatible = "LDO21";
302 regulator-name = "VTF_2.8V";
303 regulator-min-microvolt = <2800000>;
304 regulator-max-microvolt = <2800000>;
305 regulator-mem-idle;
306 };
307
308 ldo22_reg: LDO22 {
309 regulator-compatible = "LDO22";
310 regulator-name = "VMEM_VDD_2.8V";
311 regulator-min-microvolt = <2800000>;
312 regulator-max-microvolt = <2800000>;
313 regulator-always-on;
314 regulator-mem-off;
315 };
316
317 ldo23_reg: LDO23 {
318 regulator-compatible = "LDO23";
319 regulator-name = "TSP_AVDD_3.3V";
320 regulator-min-microvolt = <3300000>;
321 regulator-max-microvolt = <3300000>;
322 regulator-mem-idle;
323 };
324
325 ldo24_reg: LDO24 {
326 regulator-compatible = "LDO24";
327 regulator-name = "TSP_VDD_1.8V";
328 regulator-min-microvolt = <1800000>;
329 regulator-max-microvolt = <1800000>;
330 regulator-mem-idle;
331 };
332
333 ldo25_reg: LDO25 {
334 regulator-compatible = "LDO25";
335 regulator-name = "LCD_VCC_3.3V";
336 regulator-min-microvolt = <2800000>;
337 regulator-max-microvolt = <2800000>;
338 regulator-mem-idle;
339 };
340
341 ldo26_reg: LDO26 {
342 regulator-compatible = "LDO26";
343 regulator-name = "MOTOR_VCC_3.0V";
344 regulator-min-microvolt = <3000000>;
345 regulator-max-microvolt = <3000000>;
346 regulator-mem-idle;
347 };
348
349 buck1_reg: BUCK1 {
350 regulator-compatible = "BUCK1";
351 regulator-name = "vdd_mif";
352 regulator-min-microvolt = <850000>;
353 regulator-max-microvolt = <1100000>;
354 regulator-always-on;
355 regulator-boot-on;
356 regulator-mem-off;
357 };
358
359 buck2_reg: BUCK2 {
360 regulator-compatible = "BUCK2";
361 regulator-name = "vdd_arm";
362 regulator-min-microvolt = <850000>;
363 regulator-max-microvolt = <1500000>;
364 regulator-always-on;
365 regulator-boot-on;
366 regulator-mem-off;
367 };
368
369 buck3_reg: BUCK3 {
370 regulator-compatible = "BUCK3";
371 regulator-name = "vdd_int";
372 regulator-min-microvolt = <850000>;
373 regulator-max-microvolt = <1150000>;
374 regulator-always-on;
375 regulator-boot-on;
376 regulator-mem-off;
377 };
378
379 buck4_reg: BUCK4 {
380 regulator-compatible = "BUCK4";
381 regulator-name = "vdd_g3d";
382 regulator-min-microvolt = <850000>;
383 regulator-max-microvolt = <1150000>;
384 regulator-boot-on;
385 regulator-mem-off;
386 };
387
388 buck5_reg: BUCK5 {
389 regulator-compatible = "BUCK5";
390 regulator-name = "VMEM_1.2V_AP";
391 regulator-min-microvolt = <1200000>;
392 regulator-max-microvolt = <1200000>;
393 regulator-always-on;
394 };
395
396 buck6_reg: BUCK6 {
397 regulator-compatible = "BUCK6";
398 regulator-name = "VCC_SUB_1.35V";
399 regulator-min-microvolt = <1350000>;
400 regulator-max-microvolt = <1350000>;
401 regulator-always-on;
402 };
403
404 buck7_reg: BUCK7 {
405 regulator-compatible = "BUCK7";
406 regulator-name = "VCC_SUB_2.0V";
407 regulator-min-microvolt = <2000000>;
408 regulator-max-microvolt = <2000000>;
409 regulator-always-on;
410 };
411
412 buck8_reg: BUCK8 {
413 regulator-compatible = "BUCK8";
414 regulator-name = "VMEM_VDDF_3.0V";
415 regulator-min-microvolt = <2850000>;
416 regulator-max-microvolt = <2850000>;
417 regulator-always-on;
418 regulator-mem-off;
419 };
420
421 buck9_reg: BUCK9 {
422 regulator-compatible = "BUCK9";
423 regulator-name = "CAM_ISP_CORE_1.2V";
424 regulator-min-microvolt = <1000000>;
425 regulator-max-microvolt = <1200000>;
426 regulator-mem-off;
427 };
428 };
429 };
430};
431
Jaehoon Chung2d10e002017-05-30 10:03:28 +0900432&sdhci0 {
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500433 bus-width = <8>;
Jaehoon Chung2d10e002017-05-30 10:03:28 +0900434 pwr-gpios = <&gpk0 4 0>;
435 status = "disabled";
436};
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100437
Jaehoon Chung2d10e002017-05-30 10:03:28 +0900438&sdhci2 {
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500439 bus-width = <4>;
Jaehoon Chung2d10e002017-05-30 10:03:28 +0900440 cd-gpios = <&gpk2 2 0>;
441 status = "okay";
442};
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100443
Jaehoon Chung2d10e002017-05-30 10:03:28 +0900444&mshc_0 {
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500445 bus-width = <8>;
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500446 samsung,dw-mshc-ciu-div = <0>;
447 samsung,dw-mshc-sdr-timing = <2 1>;
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500448 non-removable;
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500449 clock-frequency = <400000000>;
Jaehoon Chung2d10e002017-05-30 10:03:28 +0900450 index = <4>;
451 fifo-depth = <0x80>;
452 status = "okay";
Piotr Wilczek87d2e782014-03-07 14:59:49 +0100453};