2 * Copyright (c) 2014 MediaTek Inc.
3 * Author: Joe.C <yingjoe.chen@mediatek.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
16 #include "mt8135.dtsi"
19 model = "MediaTek MT8135 evaluation board";
20 compatible = "mediatek,mt8135-evbp1", "mediatek,mt8135";
23 reg = <0 0x80000000 0 0x40000000>;
29 compatible = "mediatek,mt6397";
31 mt6397regulator: mt6397regulator {
32 compatible = "mediatek,mt6397-regulator";
34 mt6397_vpca15_reg: buck_vpca15 {
35 regulator-name = "vpca15";
36 regulator-min-microvolt = < 850000>;
37 regulator-max-microvolt = <1350000>;
38 regulator-ramp-delay = <12500>;
42 mt6397_vpca7_reg: buck_vpca7 {
43 regulator-name = "vpca7";
44 regulator-min-microvolt = < 850000>;
45 regulator-max-microvolt = <1350000>;
46 regulator-ramp-delay = <12500>;
50 mt6397_vsramca15_reg: buck_vsramca15 {
51 regulator-name = "vsramca15";
52 regulator-min-microvolt = < 850000>;
53 regulator-max-microvolt = <1350000>;
54 regulator-ramp-delay = <12500>;
58 mt6397_vsramca7_reg: buck_vsramca7 {
59 regulator-name = "vsramca7";
60 regulator-min-microvolt = < 850000>;
61 regulator-max-microvolt = <1350000>;
62 regulator-ramp-delay = <12500>;
66 mt6397_vcore_reg: buck_vcore {
67 regulator-name = "vcore";
68 regulator-min-microvolt = < 850000>;
69 regulator-max-microvolt = <1350000>;
70 regulator-ramp-delay = <12500>;
74 mt6397_vgpu_reg: buck_vgpu {
75 regulator-name = "vgpu";
76 regulator-min-microvolt = < 700000>;
77 regulator-max-microvolt = <1350000>;
78 regulator-ramp-delay = <12500>;
79 regulator-enable-ramp-delay = <115>;
82 mt6397_vdrm_reg: buck_vdrm {
83 regulator-name = "vdrm";
84 regulator-min-microvolt = <1200000>;
85 regulator-max-microvolt = <1400000>;
86 regulator-ramp-delay = <12500>;
90 mt6397_vio18_reg: buck_vio18 {
91 regulator-name = "vio18";
92 regulator-min-microvolt = <1620000>;
93 regulator-max-microvolt = <1980000>;
94 regulator-ramp-delay = <12500>;
98 mt6397_vtcxo_reg: ldo_vtcxo {
99 regulator-name = "vtcxo";
103 mt6397_va28_reg: ldo_va28 {
104 regulator-name = "va28";
108 mt6397_vcama_reg: ldo_vcama {
109 regulator-name = "vcama";
110 regulator-min-microvolt = <1500000>;
111 regulator-max-microvolt = <2800000>;
112 regulator-enable-ramp-delay = <218>;
115 mt6397_vio28_reg: ldo_vio28 {
116 regulator-name = "vio28";
120 mt6397_vusb_reg: ldo_vusb {
121 regulator-name = "vusb";
124 mt6397_vmc_reg: ldo_vmc {
125 regulator-name = "vmc";
126 regulator-min-microvolt = <1800000>;
127 regulator-max-microvolt = <3300000>;
128 regulator-enable-ramp-delay = <218>;
131 mt6397_vmch_reg: ldo_vmch {
132 regulator-name = "vmch";
133 regulator-min-microvolt = <3000000>;
134 regulator-max-microvolt = <3300000>;
135 regulator-enable-ramp-delay = <218>;
138 mt6397_vemc_3v3_reg: ldo_vemc3v3 {
139 regulator-name = "vemc_3v3";
140 regulator-min-microvolt = <3000000>;
141 regulator-max-microvolt = <3300000>;
142 regulator-enable-ramp-delay = <218>;
145 mt6397_vgp1_reg: ldo_vgp1 {
146 regulator-name = "vcamd";
147 regulator-min-microvolt = <1220000>;
148 regulator-max-microvolt = <3300000>;
149 regulator-enable-ramp-delay = <240>;
152 mt6397_vgp2_reg: ldo_vgp2 {
153 regulator-name = "vcamio";
154 regulator-min-microvolt = <1000000>;
155 regulator-max-microvolt = <3300000>;
156 regulator-enable-ramp-delay = <218>;
159 mt6397_vgp3_reg: ldo_vgp3 {
160 regulator-name = "vcamaf";
161 regulator-min-microvolt = <1200000>;
162 regulator-max-microvolt = <3300000>;
163 regulator-enable-ramp-delay = <218>;
166 mt6397_vgp4_reg: ldo_vgp4 {
167 regulator-name = "vgp4";
168 regulator-min-microvolt = <1200000>;
169 regulator-max-microvolt = <3300000>;
170 regulator-enable-ramp-delay = <218>;
173 mt6397_vgp5_reg: ldo_vgp5 {
174 regulator-name = "vgp5";
175 regulator-min-microvolt = <1200000>;
176 regulator-max-microvolt = <3000000>;
177 regulator-enable-ramp-delay = <218>;
180 mt6397_vgp6_reg: ldo_vgp6 {
181 regulator-name = "vgp6";
182 regulator-min-microvolt = <1200000>;
183 regulator-max-microvolt = <3300000>;
184 regulator-enable-ramp-delay = <218>;
187 mt6397_vibr_reg: ldo_vibr {
188 regulator-name = "vibr";
189 regulator-min-microvolt = <1300000>;
190 regulator-max-microvolt = <3300000>;
191 regulator-enable-ramp-delay = <218>;