hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// SPDX-License-Identifier: GPL-2.0
/*
 * dts file for MediaTek MT6380 regulator
 *
 * Copyright (c) 2018 MediaTek Inc.
 * Author: Chenglin Xu <chenglin.xu@mediatek.com>
 *       Sean Wang <sean.wang@mediatek.com>
 */
 
&pwrap {
   regulators {
       compatible = "mediatek,mt6380-regulator";
 
       mt6380_vcpu_reg: buck-vcore1 {
           regulator-name = "vcore1";
           regulator-min-microvolt = < 600000>;
           regulator-max-microvolt = <1393750>;
           regulator-ramp-delay = <6250>;
           regulator-always-on;
           regulator-boot-on;
       };
 
       mt6380_vcore_reg: buck-vcore {
           regulator-name = "vcore";
           regulator-min-microvolt = <600000>;
           regulator-max-microvolt = <1393750>;
           regulator-ramp-delay = <6250>;
           regulator-always-on;
           regulator-boot-on;
       };
 
       mt6380_vrf_reg: buck-vrf {
           regulator-name = "vrf";
           regulator-min-microvolt = <1200000>;
           regulator-max-microvolt = <1575000>;
           regulator-ramp-delay = <0>;
           regulator-always-on;
           regulator-boot-on;
       };
 
       mt6380_vm_reg: ldo-vm {
           regulator-name = "vm";
           regulator-min-microvolt = <1050000>;
           regulator-max-microvolt = <1400000>;
           regulator-ramp-delay = <0>;
           regulator-always-on;
           regulator-boot-on;
       };
 
       mt6380_va_reg: ldo-va {
           regulator-name = "va";
           regulator-min-microvolt = <2200000>;
           regulator-max-microvolt = <3300000>;
           regulator-ramp-delay = <0>;
           regulator-always-on;
           regulator-boot-on;
       };
 
       mt6380_vphy_reg: ldo-vphy {
           regulator-name = "vphy";
           regulator-min-microvolt = <1800000>;
           regulator-max-microvolt = <1800000>;
           regulator-ramp-delay = <0>;
           regulator-always-on;
           regulator-boot-on;
       };
 
       mt6380_vddr_reg: ldo-vddr {
           regulator-name = "vddr";
           regulator-min-microvolt = <1240000>;
           regulator-max-microvolt = <1840000>;
           regulator-ramp-delay = <0>;
           regulator-always-on;
           regulator-boot-on;
       };
 
       mt6380_vt_reg: ldo-vt {
           regulator-name = "vt";
           regulator-min-microvolt = <2200000>;
           regulator-max-microvolt = <3300000>;
           regulator-ramp-delay = <0>;
           regulator-always-on;
           regulator-boot-on;
       };
   };
};