1 // SPDX-License-Identifier: GPL-2.0
3 * TOPEET's Exynos4412 based itop board device tree source
5 * Copyright (c) 2016 SUMOMO Computer Association
6 * https://www.sumomo.mobi
7 * Randy Li <ayaka@soulik.info>
9 * Device tree source file for TOPEET iTop Exynos 4412 SCP package core
10 * board which is based on Samsung's Exynos4412 SoC.
13 #include <dt-bindings/clock/samsung,s2mps11.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include "exynos4412.dtsi"
17 #include "exynos4412-ppmu-common.dtsi"
18 #include "exynos-mfc-reserved-memory.dtsi"
22 device_type = "memory";
23 reg = <0x40000000 0x40000000>;
27 compatible = "samsung,secure-firmware";
28 reg = <0x0203F000 0x1000>;
33 compatible = "samsung,clock-xxti";
34 clock-frequency = <0>;
38 compatible = "samsung,clock-xusbxti";
39 clock-frequency = <24000000>;
44 cpu_thermal: cpu-thermal {
47 /* Corresponds to 800MHz at freq_table */
48 cooling-device = <&cpu0 7 7>, <&cpu1 7 7>,
49 <&cpu2 7 7>, <&cpu3 7 7>;
52 /* Corresponds to 200MHz at freq_table */
53 cooling-device = <&cpu0 13 13>,
63 compatible = "smsc,usb3503a";
64 reset-gpios = <&gpm2 4 GPIO_ACTIVE_LOW>;
65 connect-gpios = <&gpm3 3 GPIO_ACTIVE_HIGH>;
66 intn-gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>;
67 pinctrl-names = "default";
68 pinctrl-0 = <&hsic_reset>;
73 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
74 vdd-supply = <&buck1_reg>;
89 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
90 vdd-supply = <&buck3_reg>;
95 devfreq = <&bus_leftbus>;
100 devfreq = <&bus_leftbus>;
105 devfreq = <&bus_leftbus>;
110 devfreq = <&bus_leftbus>;
115 cpu0-supply = <&buck2_reg>;
119 mali-supply = <&buck4_reg>;
124 vusb_d-supply = <&ldo15_reg>;
125 vusb_a-supply = <&ldo12_reg>;
129 #address-cells = <1>;
131 samsung,i2c-sda-delay = <100>;
132 samsung,i2c-max-bus-freq = <400000>;
133 pinctrl-0 = <&i2c1_bus>;
134 pinctrl-names = "default";
138 compatible = "samsung,s5m8767-pmic";
141 s5m8767,pmic-buck-default-dvs-idx = <3>;
143 s5m8767,pmic-buck-dvs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>,
144 <&gpb 6 GPIO_ACTIVE_HIGH>,
145 <&gpb 7 GPIO_ACTIVE_HIGH>;
147 s5m8767,pmic-buck-ds-gpios = <&gpm3 5 GPIO_ACTIVE_HIGH>,
148 <&gpm3 6 GPIO_ACTIVE_HIGH>,
149 <&gpm3 7 GPIO_ACTIVE_HIGH>;
152 s5m8767,pmic-buck2-dvs-voltage = <1356250>, <1300000>,
153 <1243750>, <1118750>,
154 <1068750>, <1012500>,
157 s5m8767,pmic-buck3-dvs-voltage = <1000000>, <1000000>,
162 s5m8767,pmic-buck4-dvs-voltage = <1081250>, <1081250>,
169 regulator-name = "VDD_ALIVE";
170 regulator-min-microvolt = <1100000>;
171 regulator-max-microvolt = <1100000>;
174 op_mode = <1>; /* Normal Mode */
177 /* SCP uses 1.5v, POP uses 1.2v */
179 regulator-name = "VDDQ_M12";
180 regulator-min-microvolt = <1500000>;
181 regulator-max-microvolt = <1500000>;
184 op_mode = <1>; /* Normal Mode */
188 regulator-name = "VDDIOAP_18";
189 regulator-min-microvolt = <1800000>;
190 regulator-max-microvolt = <1800000>;
192 op_mode = <1>; /* Normal Mode */
196 regulator-name = "VDDQ_PRE";
197 regulator-min-microvolt = <1800000>;
198 regulator-max-microvolt = <1800000>;
200 op_mode = <1>; /* Normal Mode */
204 regulator-name = "VDD_LDO5";
205 op_mode = <0>; /* Always off Mode */
209 regulator-name = "VDD10_MPLL";
210 regulator-min-microvolt = <1000000>;
211 regulator-max-microvolt = <1000000>;
213 op_mode = <1>; /* Normal Mode */
217 regulator-name = "VDD10_XPLL";
218 regulator-min-microvolt = <1000000>;
219 regulator-max-microvolt = <1000000>;
221 op_mode = <1>; /* Normal Mode */
225 regulator-name = "VDD10_MIPI";
226 regulator-min-microvolt = <1000000>;
227 regulator-max-microvolt = <1000000>;
228 op_mode = <1>; /* Normal Mode */
232 regulator-name = "VDD33_LCD";
233 regulator-min-microvolt = <3300000>;
234 regulator-max-microvolt = <3300000>;
235 op_mode = <1>; /* Normal Mode */
239 regulator-name = "VDD18_MIPI";
240 regulator-min-microvolt = <1800000>;
241 regulator-max-microvolt = <1800000>;
242 op_mode = <1>; /* Normal Mode */
246 regulator-name = "VDD18_ABB1";
247 regulator-min-microvolt = <1800000>;
248 regulator-max-microvolt = <1800000>;
250 op_mode = <1>; /* Normal Mode */
254 regulator-name = "VDD33_UOTG";
255 regulator-min-microvolt = <3300000>;
256 regulator-max-microvolt = <3300000>;
258 op_mode = <1>; /* Normal Mode */
262 regulator-name = "VDDIOPERI_18";
263 regulator-min-microvolt = <1800000>;
264 regulator-max-microvolt = <1800000>;
266 op_mode = <1>; /* Normal Mode */
270 regulator-name = "VDD18_ABB02";
271 regulator-min-microvolt = <1800000>;
272 regulator-max-microvolt = <1800000>;
274 op_mode = <1>; /* Normal Mode */
278 regulator-name = "VDD10_USH";
279 regulator-min-microvolt = <1000000>;
280 regulator-max-microvolt = <1000000>;
282 op_mode = <1>; /* Normal Mode */
286 regulator-name = "VDD18_HSIC";
287 regulator-min-microvolt = <1800000>;
288 regulator-max-microvolt = <1800000>;
290 op_mode = <1>; /* Normal Mode */
294 regulator-name = "VDDIOAP_MMC012_28";
295 regulator-min-microvolt = <2800000>;
296 regulator-max-microvolt = <2800000>;
297 op_mode = <1>; /* Normal Mode */
302 regulator-name = "VDDIOPERI_28";
303 regulator-min-microvolt = <3300000>;
304 regulator-max-microvolt = <3300000>;
306 op_mode = <1>; /* Normal Mode */
310 regulator-name = "VDD_LDO19";
311 op_mode = <0>; /* Always off Mode */
315 regulator-name = "VDD28_CAM";
316 regulator-min-microvolt = <1800000>;
317 regulator-max-microvolt = <2800000>;
318 op_mode = <1>; /* Normal Mode */
322 regulator-name = "VDD28_AF";
323 regulator-min-microvolt = <1800000>;
324 regulator-max-microvolt = <2800000>;
325 op_mode = <1>; /* Normal Mode */
329 regulator-name = "VDDA28_2M";
330 regulator-min-microvolt = <2800000>;
331 regulator-max-microvolt = <2800000>;
332 op_mode = <1>; /* Normal Mode */
336 regulator-name = "VDD28_TF";
337 regulator-min-microvolt = <2800000>;
338 regulator-max-microvolt = <2800000>;
339 op_mode = <1>; /* Normal Mode */
343 regulator-name = "VDD33_A31";
344 regulator-min-microvolt = <3300000>;
345 regulator-max-microvolt = <3300000>;
346 op_mode = <1>; /* Normal Mode */
350 regulator-name = "VDD18_CAM";
351 regulator-min-microvolt = <1800000>;
352 regulator-max-microvolt = <1800000>;
353 op_mode = <1>; /* Normal Mode */
357 regulator-name = "VDD18_A31";
358 regulator-min-microvolt = <1800000>;
359 regulator-max-microvolt = <1800000>;
360 op_mode = <1>; /* Normal Mode */
364 regulator-name = "GPS_1V8";
365 regulator-min-microvolt = <1800000>;
366 regulator-max-microvolt = <1800000>;
367 op_mode = <1>; /* Normal Mode */
371 regulator-name = "DVDD12";
372 regulator-min-microvolt = <1200000>;
373 regulator-max-microvolt = <1200000>;
374 op_mode = <1>; /* Normal Mode */
378 regulator-name = "vdd_mif";
379 regulator-min-microvolt = <850000>;
380 regulator-max-microvolt = <1100000>;
383 op_mode = <1>; /* Normal Mode */
387 regulator-name = "vdd_arm";
388 regulator-min-microvolt = <850000>;
389 regulator-max-microvolt = <1456250>;
392 op_mode = <1>; /* Normal Mode */
396 regulator-name = "vdd_int";
397 regulator-min-microvolt = <875000>;
398 regulator-max-microvolt = <1200000>;
401 op_mode = <1>; /* Normal Mode */
405 regulator-name = "vdd_g3d";
406 regulator-min-microvolt = <750000>;
407 regulator-max-microvolt = <1500000>;
410 op_mode = <1>; /* Normal Mode */
414 regulator-name = "vdd_m12";
415 regulator-min-microvolt = <750000>;
416 regulator-max-microvolt = <1500000>;
419 op_mode = <1>; /* Normal Mode */
423 regulator-name = "vdd12_5m";
424 regulator-min-microvolt = <750000>;
425 regulator-max-microvolt = <1500000>;
428 op_mode = <1>; /* Normal Mode */
432 regulator-name = "pvdd_buck7";
433 regulator-min-microvolt = <750000>;
434 regulator-max-microvolt = <2000000>;
437 op_mode = <1>; /* Normal Mode */
441 regulator-name = "pvdd_buck8";
442 regulator-min-microvolt = <750000>;
443 regulator-max-microvolt = <1500000>;
446 op_mode = <1>; /* Normal Mode */
450 regulator-name = "vddf28_emmc";
451 regulator-min-microvolt = <750000>;
452 regulator-max-microvolt = <3000000>;
453 op_mode = <1>; /* Normal Mode */
457 s5m8767_osc: clocks {
458 compatible = "samsung,s5m8767-clk";
460 clock-output-names = "s5m8767_ap",
461 "s5m8767_cp", "s5m8767_bt";
472 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
473 pinctrl-names = "default";
475 vmmc-supply = <&buck9_reg>;
477 card-detect-delay = <200>;
478 samsung,dw-mshc-ciu-div = <3>;
479 samsung,dw-mshc-sdr-timing = <2 3>;
480 samsung,dw-mshc-ddr-timing = <1 2>;
486 hsic_reset: hsic-reset {
487 samsung,pins = "gpm2-4";
488 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
489 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
490 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
496 clocks = <&clock CLK_RTC>, <&s5m8767_osc S2MPS11_CLK_AP>;
497 clock-names = "rtc", "rtc_src";
501 vtmu-supply = <&ldo16_reg>;