1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung Galaxy S5 (SM-G900H) device-tree source
5 * Copyright (c) 2023 Markuss Broks
9 #include <dt-bindings/clock/samsung,s2mps11.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include "exynos5800.dtsi"
13 #include "exynos5422-cpus.dtsi"
16 model = "Samsung Galaxy S5 (SM-G900H)";
17 compatible = "samsung,k3g", "samsung,exynos5800", \
20 chassis-type = "handset";
23 device_type = "memory";
24 reg = <0x20000000 0x80000000>; /* 2 GiB */
29 compatible = "samsung,exynos5420-oscclk";
30 clock-frequency = <24000000>;
35 compatible = "samsung,secure-firmware";
36 reg = <0x02073000 0x1000>;
39 tsp_vdd: regulator-tsp-vdd-en {
40 compatible = "regulator-fixed";
41 regulator-name = "tsp_vdd_en";
42 regulator-min-microvolt = <3300000>;
43 regulator-max-microvolt = <3300000>;
44 gpio = <&gpy3 5 GPIO_ACTIVE_HIGH>;
50 cpu-supply = <&buck2_reg>;
54 cpu-supply = <&buck6_reg>;
59 mali-supply = <&buck4_reg>;
66 compatible = "samsung,s2mps11-pmic";
69 interrupt-parent = <&gpx0>;
70 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&s2mps11_irq>;
77 compatible = "samsung,s2mps11-clk";
79 clock-output-names = "s2mps11_ap",
80 "s2mps11_cp", "s2mps11_bt";
85 regulator-name = "VDD_MIF";
86 regulator-min-microvolt = <700000>;
87 regulator-max-microvolt = <1300000>;
92 regulator-off-in-suspend;
97 regulator-name = "VDD_ARM";
98 regulator-min-microvolt = <800000>;
99 regulator-max-microvolt = <1500000>;
103 regulator-state-mem {
104 regulator-off-in-suspend;
109 regulator-name = "VDD_INT";
110 regulator-min-microvolt = <800000>;
111 regulator-max-microvolt = <1400000>;
115 regulator-state-mem {
116 regulator-off-in-suspend;
121 regulator-name = "VDD_G3D";
122 regulator-min-microvolt = <700000>;
123 regulator-max-microvolt = <1400000>;
127 regulator-state-mem {
128 regulator-off-in-suspend;
133 regulator-name = "VDD_MEM";
134 regulator-min-microvolt = <1200000>;
135 regulator-max-microvolt = <1200000>;
139 regulator-state-mem {
140 regulator-off-in-suspend;
145 regulator-name = "VDD_KFC";
146 regulator-min-microvolt = <800000>;
147 regulator-max-microvolt = <1500000>;
151 regulator-state-mem {
152 regulator-off-in-suspend;
157 regulator-name = "VIN_LLDO";
158 regulator-min-microvolt = <1200000>;
159 regulator-max-microvolt = <1500000>;
164 regulator-name = "VIN_MLDO";
165 regulator-min-microvolt = <1800000>;
166 regulator-max-microvolt = <2100000>;
171 regulator-name = "VIN_HLDO";
172 regulator-min-microvolt = <3000000>;
173 regulator-max-microvolt = <3500000>;
178 regulator-name = "VDD_CAM_ISP";
179 regulator-min-microvolt = <750000>;
180 regulator-max-microvolt = <3550000>;
184 regulator-name = "VDD_ALIVE";
185 regulator-min-microvolt = <1000000>;
186 regulator-max-microvolt = <1000000>;
191 regulator-name = "VDD_APIO";
192 regulator-min-microvolt = <1800000>;
193 regulator-max-microvolt = <1800000>;
197 regulator-state-mem {
198 regulator-on-in-suspend;
203 regulator-name = "VDD_APIO_MMC01";
204 regulator-min-microvolt = <1800000>;
205 regulator-max-microvolt = <1800000>;
208 regulator-state-mem {
209 regulator-off-in-suspend;
214 regulator-name = "VDD_ADC";
215 regulator-min-microvolt = <1800000>;
216 regulator-max-microvolt = <1800000>;
220 regulator-state-mem {
221 regulator-on-in-suspend;
226 regulator-name = "VDD_HRM_1V8";
227 regulator-min-microvolt = <1800000>;
228 regulator-max-microvolt = <1800000>;
232 regulator-name = "VDD_MIPI";
233 regulator-min-microvolt = <1000000>;
234 regulator-max-microvolt = <1000000>;
238 regulator-state-mem {
239 regulator-off-in-suspend;
244 regulator-name = "VDD_MIPI_PLL_ABB1";
245 regulator-min-microvolt = <1800000>;
246 regulator-max-microvolt = <1800000>;
250 regulator-state-mem {
251 regulator-off-in-suspend;
256 regulator-name = "VDD_VTF";
257 regulator-min-microvolt = <1800000>;
258 regulator-max-microvolt = <1800000>;
261 regulator-state-mem {
262 regulator-on-in-suspend;
267 regulator-name = "VDD_UOTG";
268 regulator-min-microvolt = <3000000>;
269 regulator-max-microvolt = <3000000>;
273 regulator-state-mem {
274 regulator-on-in-suspend;
279 regulator-name = "VDDQ_PRE";
280 regulator-min-microvolt = <1800000>;
281 regulator-max-microvolt = <1800000>;
285 regulator-state-mem {
286 regulator-on-in-suspend;
291 regulator-name = "VDD_HSIC_1V0";
292 regulator-min-microvolt = <1000000>;
293 regulator-max-microvolt = <1000000>;
297 regulator-state-mem {
298 regulator-on-in-suspend;
303 regulator-name = "VDD_HSIC_1V8";
304 regulator-min-microvolt = <1800000>;
305 regulator-max-microvolt = <1800000>;
309 regulator-state-mem {
310 regulator-on-in-suspend;
315 regulator-name = "VDD_APIO_MMC2";
316 regulator-min-microvolt = <1800000>;
317 regulator-max-microvolt = <2800000>;
320 regulator-state-mem {
321 regulator-off-in-suspend;
326 regulator-name = "VDD_MOTOR";
327 regulator-min-microvolt = <3000000>;
328 regulator-max-microvolt = <3000000>;
330 regulator-state-mem {
331 regulator-off-in-suspend;
336 regulator-name = "VDD_CAM1_2V8";
337 regulator-min-microvolt = <2800000>;
338 regulator-max-microvolt = <2800000>;
340 regulator-state-mem {
341 regulator-off-in-suspend;
346 regulator-name = "VDD_AP";
347 regulator-min-microvolt = <2800000>;
348 regulator-max-microvolt = <2800000>;
352 regulator-state-mem {
353 regulator-on-in-suspend;
359 regulator-name = "VDD_LDO17";
363 regulator-name = "VDD_CODEC";
364 regulator-min-microvolt = <1800000>;
365 regulator-max-microvolt = <1800000>;
368 regulator-state-mem {
369 regulator-on-in-suspend;
374 regulator-name = "VDD_VMMC";
375 regulator-min-microvolt = <2800000>;
376 regulator-max-microvolt = <2800000>;
378 regulator-state-mem {
379 regulator-on-in-suspend;
384 regulator-name = "VDD_CAM1_1V8";
385 regulator-min-microvolt = <1800000>;
386 regulator-max-microvolt = <1800000>;
388 regulator-state-mem {
389 regulator-off-in-suspend;
394 regulator-name = "VDD_CAM_IO";
395 regulator-min-microvolt = <1800000>;
396 regulator-max-microvolt = <1800000>;
398 regulator-state-mem {
399 regulator-off-in-suspend;
404 regulator-name = "VDD_CAM0_S_CORE";
405 regulator-min-microvolt = <1200000>;
406 regulator-max-microvolt = <1200000>;
408 regulator-state-mem {
409 regulator-off-in-suspend;
414 regulator-name = "VDD_MIFS";
415 regulator-min-microvolt = <800000>;
416 regulator-max-microvolt = <1100000>;
419 regulator-state-mem {
420 regulator-on-in-suspend;
425 regulator-name = "VDD_MHL_3V3";
426 regulator-min-microvolt = <3300000>;
427 regulator-max-microvolt = <3300000>;
429 regulator-state-mem {
430 regulator-off-in-suspend;
435 regulator-name = "VDD_LCD_1V8";
436 regulator-min-microvolt = <1800000>;
437 regulator-max-microvolt = <1800000>;
439 regulator-state-mem {
440 regulator-off-in-suspend;
445 regulator-name = "VDD_CAM0_AF";
446 regulator-min-microvolt = <2800000>;
447 regulator-max-microvolt = <2800000>;
449 regulator-state-mem {
450 regulator-off-in-suspend;
455 regulator-name = "VDD_G3DS";
456 regulator-min-microvolt = <800000>;
457 regulator-max-microvolt = <1100000>;
460 regulator-state-mem {
461 regulator-on-in-suspend;
466 regulator-name = "VDD_LCD_3V0";
467 regulator-min-microvolt = <3000000>;
468 regulator-max-microvolt = <3000000>;
470 regulator-state-mem {
471 regulator-off-in-suspend;
477 regulator-name = "VDD_LDO29";
481 regulator-name = "VDD_TOUCH";
482 regulator-min-microvolt = <1800000>;
483 regulator-max-microvolt = <1800000>;
485 regulator-state-mem {
486 regulator-off-in-suspend;
491 regulator-name = "VDD_COMP";
492 regulator-min-microvolt = <1800000>;
493 regulator-max-microvolt = <1800000>;
495 regulator-state-mem {
496 regulator-off-in-suspend;
501 regulator-name = "VDD_TOUCH_IO";
502 regulator-min-microvolt = <1800000>;
503 regulator-max-microvolt = <1800000>;
505 regulator-state-mem {
506 regulator-off-in-suspend;
511 regulator-name = "VDD_MHL_1V8";
512 regulator-min-microvolt = <1800000>;
513 regulator-max-microvolt = <1800000>;
515 regulator-state-mem {
516 regulator-off-in-suspend;
521 regulator-name = "VDD_HRM_3V3";
522 regulator-min-microvolt = <3300000>;
523 regulator-max-microvolt = <3300000>;
525 regulator-state-mem {
526 regulator-off-in-suspend;
531 regulator-name = "VDD_SIL";
532 regulator-min-microvolt = <1200000>;
533 regulator-max-microvolt = <1200000>;
535 regulator-state-mem {
536 regulator-off-in-suspend;
542 regulator-name = "VDD_LDO36";
543 regulator-min-microvolt = <800000>;
544 regulator-max-microvolt = <3950000>;
549 regulator-name = "VDD_LDO37";
550 regulator-min-microvolt = <800000>;
551 regulator-max-microvolt = <3950000>;
555 regulator-name = "VDD_KEY_LED";
556 regulator-min-microvolt = <3300000>;
557 regulator-max-microvolt = <3300000>;
559 regulator-state-mem {
560 regulator-off-in-suspend;
571 compatible = "syna,rmi4-i2c";
573 interrupt-parent = <&gpx1>;
574 interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
575 vio-supply = <&ldo32_reg>;
576 vdd-supply = <&tsp_vdd>;
577 syna,startup-delay-ms = <100>;
579 pinctrl-0 = <&touch_irq>;
580 pinctrl-names = "default";
582 #address-cells = <1>;
587 syna,nosleep-mode = <1>;
592 syna,sensor-type = <1>;
603 clock-frequency = <400000000>;
604 samsung,dw-mshc-ciu-div = <3>;
605 samsung,dw-mshc-sdr-timing = <0 4>;
606 samsung,dw-mshc-ddr-timing = <0 2>;
607 samsung,dw-mshc-hs400-timing = <0 2>;
608 samsung,read-strobe-delay = <90>;
609 pinctrl-names = "default";
610 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_rclk>;
615 s2mps11_irq: s2mps11-irq-pins {
616 samsung,pins = "gpx0-7";
617 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
618 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
619 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
622 touch_irq: touch-irq-pins {
623 samsung,pins = "gpx1-6";
624 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
630 clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
631 clock-names = "rtc", "rtc_src";
635 arm,cpu-registers-not-fw-configured;
639 vtmu-supply = <&ldo10_reg>;
643 vtmu-supply = <&ldo10_reg>;
647 vtmu-supply = <&ldo10_reg>;
651 vtmu-supply = <&ldo10_reg>;
655 vtmu-supply = <&ldo10_reg>;
659 dr_mode = "peripheral";
663 dr_mode = "peripheral";
667 vdd33-supply = <&ldo9_reg>;
668 vdd10-supply = <&ldo11_reg>;
672 vdd33-supply = <&ldo9_reg>;
673 vdd10-supply = <&ldo11_reg>;