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 vusb_d-supply = <&ldo15_reg>;
120 vusb_a-supply = <&ldo12_reg>;
124 #address-cells = <1>;
126 samsung,i2c-sda-delay = <100>;
127 samsung,i2c-max-bus-freq = <400000>;
128 pinctrl-0 = <&i2c1_bus>;
129 pinctrl-names = "default";
132 s5m8767: s5m8767-pmic@66 {
133 compatible = "samsung,s5m8767-pmic";
136 s5m8767,pmic-buck-default-dvs-idx = <3>;
138 s5m8767,pmic-buck-dvs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>,
139 <&gpb 6 GPIO_ACTIVE_HIGH>,
140 <&gpb 7 GPIO_ACTIVE_HIGH>;
142 s5m8767,pmic-buck-ds-gpios = <&gpm3 5 GPIO_ACTIVE_HIGH>,
143 <&gpm3 6 GPIO_ACTIVE_HIGH>,
144 <&gpm3 7 GPIO_ACTIVE_HIGH>;
147 s5m8767,pmic-buck2-dvs-voltage = <1356250>, <1300000>,
148 <1243750>, <1118750>,
149 <1068750>, <1012500>,
152 s5m8767,pmic-buck3-dvs-voltage = <1000000>, <1000000>,
157 s5m8767,pmic-buck4-dvs-voltage = <1081250>, <1081250>,
164 regulator-name = "VDD_ALIVE";
165 regulator-min-microvolt = <1100000>;
166 regulator-max-microvolt = <1100000>;
169 op_mode = <1>; /* Normal Mode */
172 /* SCP uses 1.5v, POP uses 1.2v */
174 regulator-name = "VDDQ_M12";
175 regulator-min-microvolt = <1500000>;
176 regulator-max-microvolt = <1500000>;
179 op_mode = <1>; /* Normal Mode */
183 regulator-name = "VDDIOAP_18";
184 regulator-min-microvolt = <1800000>;
185 regulator-max-microvolt = <1800000>;
187 op_mode = <1>; /* Normal Mode */
191 regulator-name = "VDDQ_PRE";
192 regulator-min-microvolt = <1800000>;
193 regulator-max-microvolt = <1800000>;
195 op_mode = <1>; /* Normal Mode */
199 regulator-name = "VDD_LDO5";
200 op_mode = <0>; /* Always off Mode */
204 regulator-name = "VDD10_MPLL";
205 regulator-min-microvolt = <1000000>;
206 regulator-max-microvolt = <1000000>;
208 op_mode = <1>; /* Normal Mode */
212 regulator-name = "VDD10_XPLL";
213 regulator-min-microvolt = <1000000>;
214 regulator-max-microvolt = <1000000>;
216 op_mode = <1>; /* Normal Mode */
220 regulator-name = "VDD10_MIPI";
221 regulator-min-microvolt = <1000000>;
222 regulator-max-microvolt = <1000000>;
223 op_mode = <1>; /* Normal Mode */
227 regulator-name = "VDD33_LCD";
228 regulator-min-microvolt = <3300000>;
229 regulator-max-microvolt = <3300000>;
230 op_mode = <1>; /* Normal Mode */
234 regulator-name = "VDD18_MIPI";
235 regulator-min-microvolt = <1800000>;
236 regulator-max-microvolt = <1800000>;
237 op_mode = <1>; /* Normal Mode */
241 regulator-name = "VDD18_ABB1";
242 regulator-min-microvolt = <1800000>;
243 regulator-max-microvolt = <1800000>;
245 op_mode = <1>; /* Normal Mode */
249 regulator-name = "VDD33_UOTG";
250 regulator-min-microvolt = <3300000>;
251 regulator-max-microvolt = <3300000>;
253 op_mode = <1>; /* Normal Mode */
257 regulator-name = "VDDIOPERI_18";
258 regulator-min-microvolt = <1800000>;
259 regulator-max-microvolt = <1800000>;
261 op_mode = <1>; /* Normal Mode */
265 regulator-name = "VDD18_ABB02";
266 regulator-min-microvolt = <1800000>;
267 regulator-max-microvolt = <1800000>;
269 op_mode = <1>; /* Normal Mode */
273 regulator-name = "VDD10_USH";
274 regulator-min-microvolt = <1000000>;
275 regulator-max-microvolt = <1000000>;
277 op_mode = <1>; /* Normal Mode */
281 regulator-name = "VDD18_HSIC";
282 regulator-min-microvolt = <1800000>;
283 regulator-max-microvolt = <1800000>;
285 op_mode = <1>; /* Normal Mode */
289 regulator-name = "VDDIOAP_MMC012_28";
290 regulator-min-microvolt = <2800000>;
291 regulator-max-microvolt = <2800000>;
292 op_mode = <1>; /* Normal Mode */
297 regulator-name = "VDDIOPERI_28";
298 regulator-min-microvolt = <3300000>;
299 regulator-max-microvolt = <3300000>;
301 op_mode = <1>; /* Normal Mode */
305 regulator-name = "VDD_LDO19";
306 op_mode = <0>; /* Always off Mode */
310 regulator-name = "VDD28_CAM";
311 regulator-min-microvolt = <1800000>;
312 regulator-max-microvolt = <2800000>;
313 op_mode = <1>; /* Normal Mode */
317 regulator-name = "VDD28_AF";
318 regulator-min-microvolt = <1800000>;
319 regulator-max-microvolt = <2800000>;
320 op_mode = <1>; /* Normal Mode */
324 regulator-name = "VDDA28_2M";
325 regulator-min-microvolt = <2800000>;
326 regulator-max-microvolt = <2800000>;
327 op_mode = <1>; /* Normal Mode */
331 regulator-name = "VDD28_TF";
332 regulator-min-microvolt = <2800000>;
333 regulator-max-microvolt = <2800000>;
334 op_mode = <1>; /* Normal Mode */
338 regulator-name = "VDD33_A31";
339 regulator-min-microvolt = <3300000>;
340 regulator-max-microvolt = <3300000>;
341 op_mode = <1>; /* Normal Mode */
345 regulator-name = "VDD18_CAM";
346 regulator-min-microvolt = <1800000>;
347 regulator-max-microvolt = <1800000>;
348 op_mode = <1>; /* Normal Mode */
352 regulator-name = "VDD18_A31";
353 regulator-min-microvolt = <1800000>;
354 regulator-max-microvolt = <1800000>;
355 op_mode = <1>; /* Normal Mode */
359 regulator-name = "GPS_1V8";
360 regulator-min-microvolt = <1800000>;
361 regulator-max-microvolt = <1800000>;
362 op_mode = <1>; /* Normal Mode */
366 regulator-name = "DVDD12";
367 regulator-min-microvolt = <1200000>;
368 regulator-max-microvolt = <1200000>;
369 op_mode = <1>; /* Normal Mode */
373 regulator-name = "vdd_mif";
374 regulator-min-microvolt = <850000>;
375 regulator-max-microvolt = <1100000>;
378 op_mode = <1>; /* Normal Mode */
382 regulator-name = "vdd_arm";
383 regulator-min-microvolt = <850000>;
384 regulator-max-microvolt = <1456250>;
387 op_mode = <1>; /* Normal Mode */
391 regulator-name = "vdd_int";
392 regulator-min-microvolt = <875000>;
393 regulator-max-microvolt = <1200000>;
396 op_mode = <1>; /* Normal Mode */
400 regulator-name = "vdd_g3d";
401 regulator-min-microvolt = <750000>;
402 regulator-max-microvolt = <1500000>;
405 op_mode = <1>; /* Normal Mode */
409 regulator-name = "vdd_m12";
410 regulator-min-microvolt = <750000>;
411 regulator-max-microvolt = <1500000>;
414 op_mode = <1>; /* Normal Mode */
418 regulator-name = "vdd12_5m";
419 regulator-min-microvolt = <750000>;
420 regulator-max-microvolt = <1500000>;
423 op_mode = <1>; /* Normal Mode */
427 regulator-name = "pvdd_buck7";
428 regulator-min-microvolt = <750000>;
429 regulator-max-microvolt = <2000000>;
432 op_mode = <1>; /* Normal Mode */
436 regulator-name = "pvdd_buck8";
437 regulator-min-microvolt = <750000>;
438 regulator-max-microvolt = <1500000>;
441 op_mode = <1>; /* Normal Mode */
445 regulator-name = "vddf28_emmc";
446 regulator-min-microvolt = <750000>;
447 regulator-max-microvolt = <3000000>;
448 op_mode = <1>; /* Normal Mode */
452 s5m8767_osc: clocks {
453 compatible = "samsung,s5m8767-clk";
455 clock-output-names = "s5m8767_ap",
456 "s5m8767_cp", "s5m8767_bt";
467 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
468 pinctrl-names = "default";
470 vmmc-supply = <&buck9_reg>;
472 card-detect-delay = <200>;
473 samsung,dw-mshc-ciu-div = <3>;
474 samsung,dw-mshc-sdr-timing = <2 3>;
475 samsung,dw-mshc-ddr-timing = <1 2>;
481 hsic_reset: hsic-reset {
482 samsung,pins = "gpm2-4";
483 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
484 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
485 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
491 clocks = <&clock CLK_RTC>, <&s5m8767_osc S2MPS11_CLK_AP>;
492 clock-names = "rtc", "rtc_src";
496 vtmu-supply = <&ldo16_reg>;