2 * TOPEET's Exynos4412 based itop board device tree source
4 * Copyright (c) 2016 SUMOMO Computer Association
5 * https://www.sumomo.mobi
6 * Randy Li <ayaka@soulik.info>
8 * Device tree source file for TOPEET iTop Exynos 4412 SCP package core
9 * board which is based on Samsung's Exynos4412 SoC.
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
16 #include <dt-bindings/clock/samsung,s2mps11.h>
17 #include <dt-bindings/gpio/gpio.h>
18 #include <dt-bindings/input/input.h>
19 #include "exynos4412.dtsi"
20 #include "exynos4412-ppmu-common.dtsi"
21 #include "exynos-mfc-reserved-memory.dtsi"
25 device_type = "memory";
26 reg = <0x40000000 0x40000000>;
30 compatible = "samsung,secure-firmware";
31 reg = <0x0203F000 0x1000>;
36 compatible = "samsung,clock-xxti";
37 clock-frequency = <0>;
41 compatible = "samsung,clock-xusbxti";
42 clock-frequency = <24000000>;
47 cpu_thermal: cpu-thermal {
50 /* Corresponds to 800MHz at freq_table */
51 cooling-device = <&cpu0 7 7>;
54 /* Corresponds to 200MHz at freq_table */
55 cooling-device = <&cpu0 13 13>;
62 compatible = "smsc,usb3503a";
63 reset-gpios = <&gpm2 4 GPIO_ACTIVE_LOW>;
64 connect-gpios = <&gpm3 3 GPIO_ACTIVE_HIGH>;
65 intn-gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>;
66 pinctrl-names = "default";
67 pinctrl-0 = <&hsic_reset>;
72 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
73 vdd-supply = <&buck1_reg>;
88 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
89 vdd-supply = <&buck3_reg>;
94 devfreq = <&bus_leftbus>;
99 devfreq = <&bus_leftbus>;
104 devfreq = <&bus_leftbus>;
109 devfreq = <&bus_leftbus>;
114 cpu0-supply = <&buck2_reg>;
118 vusb_d-supply = <&ldo15_reg>;
119 vusb_a-supply = <&ldo12_reg>;
123 #address-cells = <1>;
125 samsung,i2c-sda-delay = <100>;
126 samsung,i2c-max-bus-freq = <400000>;
127 pinctrl-0 = <&i2c1_bus>;
128 pinctrl-names = "default";
131 s5m8767: s5m8767-pmic@66 {
132 compatible = "samsung,s5m8767-pmic";
135 s5m8767,pmic-buck-default-dvs-idx = <3>;
137 s5m8767,pmic-buck-dvs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>,
138 <&gpb 6 GPIO_ACTIVE_HIGH>,
139 <&gpb 7 GPIO_ACTIVE_HIGH>;
141 s5m8767,pmic-buck-ds-gpios = <&gpm3 5 GPIO_ACTIVE_HIGH>,
142 <&gpm3 6 GPIO_ACTIVE_HIGH>,
143 <&gpm3 7 GPIO_ACTIVE_HIGH>;
146 s5m8767,pmic-buck2-dvs-voltage = <1356250>, <1300000>,
147 <1243750>, <1118750>,
148 <1068750>, <1012500>,
151 s5m8767,pmic-buck3-dvs-voltage = <1000000>, <1000000>,
156 s5m8767,pmic-buck4-dvs-voltage = <1081250>, <1081250>,
163 regulator-name = "VDD_ALIVE";
164 regulator-min-microvolt = <1100000>;
165 regulator-max-microvolt = <1100000>;
168 op_mode = <1>; /* Normal Mode */
171 /* SCP uses 1.5v, POP uses 1.2v */
173 regulator-name = "VDDQ_M12";
174 regulator-min-microvolt = <1500000>;
175 regulator-max-microvolt = <1500000>;
178 op_mode = <1>; /* Normal Mode */
182 regulator-name = "VDDIOAP_18";
183 regulator-min-microvolt = <1800000>;
184 regulator-max-microvolt = <1800000>;
186 op_mode = <1>; /* Normal Mode */
190 regulator-name = "VDDQ_PRE";
191 regulator-min-microvolt = <1800000>;
192 regulator-max-microvolt = <1800000>;
194 op_mode = <1>; /* Normal Mode */
198 regulator-name = "VDD_LDO5";
199 op_mode = <0>; /* Always off Mode */
203 regulator-name = "VDD10_MPLL";
204 regulator-min-microvolt = <1000000>;
205 regulator-max-microvolt = <1000000>;
207 op_mode = <1>; /* Normal Mode */
211 regulator-name = "VDD10_XPLL";
212 regulator-min-microvolt = <1000000>;
213 regulator-max-microvolt = <1000000>;
215 op_mode = <1>; /* Normal Mode */
219 regulator-name = "VDD10_MIPI";
220 regulator-min-microvolt = <1000000>;
221 regulator-max-microvolt = <1000000>;
222 op_mode = <1>; /* Normal Mode */
226 regulator-name = "VDD33_LCD";
227 regulator-min-microvolt = <3300000>;
228 regulator-max-microvolt = <3300000>;
229 op_mode = <1>; /* Normal Mode */
233 regulator-name = "VDD18_MIPI";
234 regulator-min-microvolt = <1800000>;
235 regulator-max-microvolt = <1800000>;
236 op_mode = <1>; /* Normal Mode */
240 regulator-name = "VDD18_ABB1";
241 regulator-min-microvolt = <1800000>;
242 regulator-max-microvolt = <1800000>;
244 op_mode = <1>; /* Normal Mode */
248 regulator-name = "VDD33_UOTG";
249 regulator-min-microvolt = <3300000>;
250 regulator-max-microvolt = <3300000>;
252 op_mode = <1>; /* Normal Mode */
256 regulator-name = "VDDIOPERI_18";
257 regulator-min-microvolt = <1800000>;
258 regulator-max-microvolt = <1800000>;
260 op_mode = <1>; /* Normal Mode */
264 regulator-name = "VDD18_ABB02";
265 regulator-min-microvolt = <1800000>;
266 regulator-max-microvolt = <1800000>;
268 op_mode = <1>; /* Normal Mode */
272 regulator-name = "VDD10_USH";
273 regulator-min-microvolt = <1000000>;
274 regulator-max-microvolt = <1000000>;
276 op_mode = <1>; /* Normal Mode */
280 regulator-name = "VDD18_HSIC";
281 regulator-min-microvolt = <1800000>;
282 regulator-max-microvolt = <1800000>;
284 op_mode = <1>; /* Normal Mode */
288 regulator-name = "VDDIOAP_MMC012_28";
289 regulator-min-microvolt = <2800000>;
290 regulator-max-microvolt = <2800000>;
291 op_mode = <1>; /* Normal Mode */
296 regulator-name = "VDDIOPERI_28";
297 regulator-min-microvolt = <3300000>;
298 regulator-max-microvolt = <3300000>;
300 op_mode = <1>; /* Normal Mode */
304 regulator-name = "VDD_LDO19";
305 op_mode = <0>; /* Always off Mode */
309 regulator-name = "VDD28_CAM";
310 regulator-min-microvolt = <1800000>;
311 regulator-max-microvolt = <2800000>;
312 op_mode = <1>; /* Normal Mode */
316 regulator-name = "VDD28_AF";
317 regulator-min-microvolt = <1800000>;
318 regulator-max-microvolt = <2800000>;
319 op_mode = <1>; /* Normal Mode */
323 regulator-name = "VDDA28_2M";
324 regulator-min-microvolt = <2800000>;
325 regulator-max-microvolt = <2800000>;
326 op_mode = <1>; /* Normal Mode */
330 regulator-name = "VDD28_TF";
331 regulator-min-microvolt = <2800000>;
332 regulator-max-microvolt = <2800000>;
333 op_mode = <1>; /* Normal Mode */
337 regulator-name = "VDD33_A31";
338 regulator-min-microvolt = <3300000>;
339 regulator-max-microvolt = <3300000>;
340 op_mode = <1>; /* Normal Mode */
344 regulator-name = "VDD18_CAM";
345 regulator-min-microvolt = <1800000>;
346 regulator-max-microvolt = <1800000>;
347 op_mode = <1>; /* Normal Mode */
351 regulator-name = "VDD18_A31";
352 regulator-min-microvolt = <1800000>;
353 regulator-max-microvolt = <1800000>;
354 op_mode = <1>; /* Normal Mode */
358 regulator-name = "GPS_1V8";
359 regulator-min-microvolt = <1800000>;
360 regulator-max-microvolt = <1800000>;
361 op_mode = <1>; /* Normal Mode */
365 regulator-name = "DVDD12";
366 regulator-min-microvolt = <1200000>;
367 regulator-max-microvolt = <1200000>;
368 op_mode = <1>; /* Normal Mode */
372 regulator-name = "vdd_mif";
373 regulator-min-microvolt = <850000>;
374 regulator-max-microvolt = <1100000>;
377 op_mode = <1>; /* Normal Mode */
381 regulator-name = "vdd_arm";
382 regulator-min-microvolt = <850000>;
383 regulator-max-microvolt = <1456250>;
386 op_mode = <1>; /* Normal Mode */
390 regulator-name = "vdd_int";
391 regulator-min-microvolt = <875000>;
392 regulator-max-microvolt = <1200000>;
395 op_mode = <1>; /* Normal Mode */
399 regulator-name = "vdd_g3d";
400 regulator-min-microvolt = <750000>;
401 regulator-max-microvolt = <1500000>;
404 op_mode = <1>; /* Normal Mode */
408 regulator-name = "vdd_m12";
409 regulator-min-microvolt = <750000>;
410 regulator-max-microvolt = <1500000>;
413 op_mode = <1>; /* Normal Mode */
417 regulator-name = "vdd12_5m";
418 regulator-min-microvolt = <750000>;
419 regulator-max-microvolt = <1500000>;
422 op_mode = <1>; /* Normal Mode */
426 regulator-name = "pvdd_buck7";
427 regulator-min-microvolt = <750000>;
428 regulator-max-microvolt = <2000000>;
431 op_mode = <1>; /* Normal Mode */
435 regulator-name = "pvdd_buck8";
436 regulator-min-microvolt = <750000>;
437 regulator-max-microvolt = <1500000>;
440 op_mode = <1>; /* Normal Mode */
444 regulator-name = "vddf28_emmc";
445 regulator-min-microvolt = <750000>;
446 regulator-max-microvolt = <3000000>;
447 op_mode = <1>; /* Normal Mode */
451 s5m8767_osc: clocks {
453 clock-output-names = "s5m8767_ap",
454 "s5m8767_cp", "s5m8767_bt";
465 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
466 pinctrl-names = "default";
468 vmmc-supply = <&buck9_reg>;
471 card-detect-delay = <200>;
472 samsung,dw-mshc-ciu-div = <3>;
473 samsung,dw-mshc-sdr-timing = <2 3>;
474 samsung,dw-mshc-ddr-timing = <1 2>;
480 hsic_reset: hsic-reset {
481 samsung,pins = "gpm2-4";
482 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
483 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
484 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
490 clocks = <&clock CLK_RTC>, <&s5m8767_osc S2MPS11_CLK_AP>;
491 clock-names = "rtc", "rtc_src";
495 vtmu-supply = <&ldo16_reg>;