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