Commit | Line | Data |
---|---|---|
d51f4261 J |
1 | /* |
2 | * Copyright (c) 2014 MediaTek Inc. | |
3 | * Author: Joe.C <yingjoe.chen@mediatek.com> | |
4 | * | |
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. | |
8 | * | |
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. | |
13 | */ | |
14 | ||
15 | /dts-v1/; | |
16 | #include "mt8135.dtsi" | |
17 | ||
18 | / { | |
19 | model = "MediaTek MT8135 evaluation board"; | |
20 | compatible = "mediatek,mt8135-evbp1", "mediatek,mt8135"; | |
21 | ||
22 | memory { | |
23 | reg = <0 0x80000000 0 0x40000000>; | |
24 | }; | |
25 | }; | |
ac00aa4d | 26 | |
aada7d52 SH |
27 | &pwrap { |
28 | pmic: mt6397 { | |
29 | compatible = "mediatek,mt6397"; | |
30 | ||
31 | mt6397regulator: mt6397regulator { | |
32 | compatible = "mediatek,mt6397-regulator"; | |
33 | ||
34 | mt6397_vpca15_reg: buck_vpca15 { | |
35 | regulator-compatible = "buck_vpca15"; | |
36 | regulator-name = "vpca15"; | |
37 | regulator-min-microvolt = < 850000>; | |
38 | regulator-max-microvolt = <1350000>; | |
39 | regulator-ramp-delay = <12500>; | |
40 | regulator-always-on; | |
41 | }; | |
42 | ||
43 | mt6397_vpca7_reg: buck_vpca7 { | |
44 | regulator-compatible = "buck_vpca7"; | |
45 | regulator-name = "vpca7"; | |
46 | regulator-min-microvolt = < 850000>; | |
47 | regulator-max-microvolt = <1350000>; | |
48 | regulator-ramp-delay = <12500>; | |
49 | regulator-always-on; | |
50 | }; | |
51 | ||
52 | mt6397_vsramca15_reg: buck_vsramca15 { | |
53 | regulator-compatible = "buck_vsramca15"; | |
54 | regulator-name = "vsramca15"; | |
55 | regulator-min-microvolt = < 850000>; | |
56 | regulator-max-microvolt = <1350000>; | |
57 | regulator-ramp-delay = <12500>; | |
58 | regulator-always-on; | |
59 | }; | |
60 | ||
61 | mt6397_vsramca7_reg: buck_vsramca7 { | |
62 | regulator-compatible = "buck_vsramca7"; | |
63 | regulator-name = "vsramca7"; | |
64 | regulator-min-microvolt = < 850000>; | |
65 | regulator-max-microvolt = <1350000>; | |
66 | regulator-ramp-delay = <12500>; | |
67 | regulator-always-on; | |
68 | }; | |
69 | ||
70 | mt6397_vcore_reg: buck_vcore { | |
71 | regulator-compatible = "buck_vcore"; | |
72 | regulator-name = "vcore"; | |
73 | regulator-min-microvolt = < 850000>; | |
74 | regulator-max-microvolt = <1350000>; | |
75 | regulator-ramp-delay = <12500>; | |
76 | regulator-always-on; | |
77 | }; | |
78 | ||
79 | mt6397_vgpu_reg: buck_vgpu { | |
80 | regulator-compatible = "buck_vgpu"; | |
81 | regulator-name = "vgpu"; | |
82 | regulator-min-microvolt = < 700000>; | |
83 | regulator-max-microvolt = <1350000>; | |
84 | regulator-ramp-delay = <12500>; | |
85 | regulator-enable-ramp-delay = <115>; | |
86 | }; | |
87 | ||
88 | mt6397_vdrm_reg: buck_vdrm { | |
89 | regulator-compatible = "buck_vdrm"; | |
90 | regulator-name = "vdrm"; | |
91 | regulator-min-microvolt = <1200000>; | |
92 | regulator-max-microvolt = <1400000>; | |
93 | regulator-ramp-delay = <12500>; | |
94 | regulator-always-on; | |
95 | }; | |
96 | ||
97 | mt6397_vio18_reg: buck_vio18 { | |
98 | regulator-compatible = "buck_vio18"; | |
99 | regulator-name = "vio18"; | |
100 | regulator-min-microvolt = <1620000>; | |
101 | regulator-max-microvolt = <1980000>; | |
102 | regulator-ramp-delay = <12500>; | |
103 | regulator-always-on; | |
104 | }; | |
105 | ||
106 | mt6397_vtcxo_reg: ldo_vtcxo { | |
107 | regulator-compatible = "ldo_vtcxo"; | |
108 | regulator-name = "vtcxo"; | |
109 | regulator-always-on; | |
110 | }; | |
111 | ||
112 | mt6397_va28_reg: ldo_va28 { | |
113 | regulator-compatible = "ldo_va28"; | |
114 | regulator-name = "va28"; | |
115 | regulator-always-on; | |
116 | }; | |
117 | ||
118 | mt6397_vcama_reg: ldo_vcama { | |
119 | regulator-compatible = "ldo_vcama"; | |
120 | regulator-name = "vcama"; | |
121 | regulator-min-microvolt = <1500000>; | |
122 | regulator-max-microvolt = <2800000>; | |
123 | regulator-enable-ramp-delay = <218>; | |
124 | }; | |
125 | ||
126 | mt6397_vio28_reg: ldo_vio28 { | |
127 | regulator-compatible = "ldo_vio28"; | |
128 | regulator-name = "vio28"; | |
129 | regulator-always-on; | |
130 | }; | |
131 | ||
132 | mt6397_vusb_reg: ldo_vusb { | |
133 | regulator-compatible = "ldo_vusb"; | |
134 | regulator-name = "vusb"; | |
135 | }; | |
136 | ||
137 | mt6397_vmc_reg: ldo_vmc { | |
138 | regulator-compatible = "ldo_vmc"; | |
139 | regulator-name = "vmc"; | |
140 | regulator-min-microvolt = <1800000>; | |
141 | regulator-max-microvolt = <3300000>; | |
142 | regulator-enable-ramp-delay = <218>; | |
143 | }; | |
144 | ||
145 | mt6397_vmch_reg: ldo_vmch { | |
146 | regulator-compatible = "ldo_vmch"; | |
147 | regulator-name = "vmch"; | |
148 | regulator-min-microvolt = <3000000>; | |
149 | regulator-max-microvolt = <3300000>; | |
150 | regulator-enable-ramp-delay = <218>; | |
151 | }; | |
152 | ||
153 | mt6397_vemc_3v3_reg: ldo_vemc3v3 { | |
154 | regulator-compatible = "ldo_vemc3v3"; | |
155 | regulator-name = "vemc_3v3"; | |
156 | regulator-min-microvolt = <3000000>; | |
157 | regulator-max-microvolt = <3300000>; | |
158 | regulator-enable-ramp-delay = <218>; | |
159 | }; | |
160 | ||
161 | mt6397_vgp1_reg: ldo_vgp1 { | |
162 | regulator-compatible = "ldo_vgp1"; | |
163 | regulator-name = "vcamd"; | |
164 | regulator-min-microvolt = <1220000>; | |
165 | regulator-max-microvolt = <3300000>; | |
166 | regulator-enable-ramp-delay = <240>; | |
167 | }; | |
168 | ||
169 | mt6397_vgp2_reg: ldo_vgp2 { | |
170 | regulator-compatible = "ldo_vgp2"; | |
171 | regulator-name = "vcamio"; | |
172 | regulator-min-microvolt = <1000000>; | |
173 | regulator-max-microvolt = <3300000>; | |
174 | regulator-enable-ramp-delay = <218>; | |
175 | }; | |
176 | ||
177 | mt6397_vgp3_reg: ldo_vgp3 { | |
178 | regulator-compatible = "ldo_vgp3"; | |
179 | regulator-name = "vcamaf"; | |
180 | regulator-min-microvolt = <1200000>; | |
181 | regulator-max-microvolt = <3300000>; | |
182 | regulator-enable-ramp-delay = <218>; | |
183 | }; | |
184 | ||
185 | mt6397_vgp4_reg: ldo_vgp4 { | |
186 | regulator-compatible = "ldo_vgp4"; | |
187 | regulator-name = "vgp4"; | |
188 | regulator-min-microvolt = <1200000>; | |
189 | regulator-max-microvolt = <3300000>; | |
190 | regulator-enable-ramp-delay = <218>; | |
191 | }; | |
192 | ||
193 | mt6397_vgp5_reg: ldo_vgp5 { | |
194 | regulator-compatible = "ldo_vgp5"; | |
195 | regulator-name = "vgp5"; | |
196 | regulator-min-microvolt = <1200000>; | |
197 | regulator-max-microvolt = <3000000>; | |
198 | regulator-enable-ramp-delay = <218>; | |
199 | }; | |
200 | ||
201 | mt6397_vgp6_reg: ldo_vgp6 { | |
202 | regulator-compatible = "ldo_vgp6"; | |
203 | regulator-name = "vgp6"; | |
204 | regulator-min-microvolt = <1200000>; | |
205 | regulator-max-microvolt = <3300000>; | |
206 | regulator-enable-ramp-delay = <218>; | |
207 | }; | |
208 | ||
209 | mt6397_vibr_reg: ldo_vibr { | |
210 | regulator-compatible = "ldo_vibr"; | |
211 | regulator-name = "vibr"; | |
212 | regulator-min-microvolt = <1300000>; | |
213 | regulator-max-microvolt = <3300000>; | |
214 | regulator-enable-ramp-delay = <218>; | |
215 | }; | |
216 | }; | |
217 | }; | |
218 | }; | |
219 | ||
ac00aa4d EH |
220 | &uart3 { |
221 | status = "okay"; | |
222 | }; |