diff options
author | Eddie Huang <eddie.huang@mediatek.com> | 2015-06-22 09:19:37 -0400 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2015-07-07 03:55:16 -0400 |
commit | 16ea61fc56144f1860f9edd5a219666ade01d3b8 (patch) | |
tree | 25c5cafb9ae269fc5664e31a6d8f4e7d89f6657e | |
parent | 720570b14bb7c7494b0dbc2acc0d2065a490d31b (diff) |
arm64: dts: mt8173-evb: Add PMIC support
The MT8173 eval board contains a MT6397 PMIC. This adds the
corresponding device node to the dts file.
Signed-off-by: Henry Chen <henryc.chen@mediatek.com>
Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
-rw-r--r-- | arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 197 |
1 files changed, 197 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts index 7f583bdea229..986f25f0d534 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts | |||
@@ -64,6 +64,203 @@ | |||
64 | }; | 64 | }; |
65 | }; | 65 | }; |
66 | 66 | ||
67 | &pwrap { | ||
68 | pmic: mt6397 { | ||
69 | compatible = "mediatek,mt6397"; | ||
70 | interrupt-parent = <&pio>; | ||
71 | interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; | ||
72 | interrupt-controller; | ||
73 | #interrupt-cells = <2>; | ||
74 | |||
75 | mt6397regulator: mt6397regulator { | ||
76 | compatible = "mediatek,mt6397-regulator"; | ||
77 | |||
78 | mt6397_vpca15_reg: buck_vpca15 { | ||
79 | regulator-compatible = "buck_vpca15"; | ||
80 | regulator-name = "vpca15"; | ||
81 | regulator-min-microvolt = < 700000>; | ||
82 | regulator-max-microvolt = <1350000>; | ||
83 | regulator-ramp-delay = <12500>; | ||
84 | regulator-always-on; | ||
85 | }; | ||
86 | |||
87 | mt6397_vpca7_reg: buck_vpca7 { | ||
88 | regulator-compatible = "buck_vpca7"; | ||
89 | regulator-name = "vpca7"; | ||
90 | regulator-min-microvolt = < 700000>; | ||
91 | regulator-max-microvolt = <1350000>; | ||
92 | regulator-ramp-delay = <12500>; | ||
93 | regulator-enable-ramp-delay = <115>; | ||
94 | }; | ||
95 | |||
96 | mt6397_vsramca15_reg: buck_vsramca15 { | ||
97 | regulator-compatible = "buck_vsramca15"; | ||
98 | regulator-name = "vsramca15"; | ||
99 | regulator-min-microvolt = < 700000>; | ||
100 | regulator-max-microvolt = <1350000>; | ||
101 | regulator-ramp-delay = <12500>; | ||
102 | regulator-always-on; | ||
103 | }; | ||
104 | |||
105 | mt6397_vsramca7_reg: buck_vsramca7 { | ||
106 | regulator-compatible = "buck_vsramca7"; | ||
107 | regulator-name = "vsramca7"; | ||
108 | regulator-min-microvolt = < 700000>; | ||
109 | regulator-max-microvolt = <1350000>; | ||
110 | regulator-ramp-delay = <12500>; | ||
111 | regulator-always-on; | ||
112 | }; | ||
113 | |||
114 | mt6397_vcore_reg: buck_vcore { | ||
115 | regulator-compatible = "buck_vcore"; | ||
116 | regulator-name = "vcore"; | ||
117 | regulator-min-microvolt = < 700000>; | ||
118 | regulator-max-microvolt = <1350000>; | ||
119 | regulator-ramp-delay = <12500>; | ||
120 | regulator-always-on; | ||
121 | }; | ||
122 | |||
123 | mt6397_vgpu_reg: buck_vgpu { | ||
124 | regulator-compatible = "buck_vgpu"; | ||
125 | regulator-name = "vgpu"; | ||
126 | regulator-min-microvolt = < 700000>; | ||
127 | regulator-max-microvolt = <1350000>; | ||
128 | regulator-ramp-delay = <12500>; | ||
129 | regulator-enable-ramp-delay = <115>; | ||
130 | }; | ||
131 | |||
132 | mt6397_vdrm_reg: buck_vdrm { | ||
133 | regulator-compatible = "buck_vdrm"; | ||
134 | regulator-name = "vdrm"; | ||
135 | regulator-min-microvolt = <1200000>; | ||
136 | regulator-max-microvolt = <1400000>; | ||
137 | regulator-ramp-delay = <12500>; | ||
138 | regulator-always-on; | ||
139 | }; | ||
140 | |||
141 | mt6397_vio18_reg: buck_vio18 { | ||
142 | regulator-compatible = "buck_vio18"; | ||
143 | regulator-name = "vio18"; | ||
144 | regulator-min-microvolt = <1620000>; | ||
145 | regulator-max-microvolt = <1980000>; | ||
146 | regulator-ramp-delay = <12500>; | ||
147 | regulator-always-on; | ||
148 | }; | ||
149 | |||
150 | mt6397_vtcxo_reg: ldo_vtcxo { | ||
151 | regulator-compatible = "ldo_vtcxo"; | ||
152 | regulator-name = "vtcxo"; | ||
153 | regulator-always-on; | ||
154 | }; | ||
155 | |||
156 | mt6397_va28_reg: ldo_va28 { | ||
157 | regulator-compatible = "ldo_va28"; | ||
158 | regulator-name = "va28"; | ||
159 | regulator-always-on; | ||
160 | }; | ||
161 | |||
162 | mt6397_vcama_reg: ldo_vcama { | ||
163 | regulator-compatible = "ldo_vcama"; | ||
164 | regulator-name = "vcama"; | ||
165 | regulator-min-microvolt = <1500000>; | ||
166 | regulator-max-microvolt = <2800000>; | ||
167 | regulator-enable-ramp-delay = <218>; | ||
168 | }; | ||
169 | |||
170 | mt6397_vio28_reg: ldo_vio28 { | ||
171 | regulator-compatible = "ldo_vio28"; | ||
172 | regulator-name = "vio28"; | ||
173 | regulator-always-on; | ||
174 | }; | ||
175 | |||
176 | mt6397_vusb_reg: ldo_vusb { | ||
177 | regulator-compatible = "ldo_vusb"; | ||
178 | regulator-name = "vusb"; | ||
179 | }; | ||
180 | |||
181 | mt6397_vmc_reg: ldo_vmc { | ||
182 | regulator-compatible = "ldo_vmc"; | ||
183 | regulator-name = "vmc"; | ||
184 | regulator-min-microvolt = <1800000>; | ||
185 | regulator-max-microvolt = <3300000>; | ||
186 | regulator-enable-ramp-delay = <218>; | ||
187 | }; | ||
188 | |||
189 | mt6397_vmch_reg: ldo_vmch { | ||
190 | regulator-compatible = "ldo_vmch"; | ||
191 | regulator-name = "vmch"; | ||
192 | regulator-min-microvolt = <3000000>; | ||
193 | regulator-max-microvolt = <3300000>; | ||
194 | regulator-enable-ramp-delay = <218>; | ||
195 | }; | ||
196 | |||
197 | mt6397_vemc_3v3_reg: ldo_vemc3v3 { | ||
198 | regulator-compatible = "ldo_vemc3v3"; | ||
199 | regulator-name = "vemc_3v3"; | ||
200 | regulator-min-microvolt = <3000000>; | ||
201 | regulator-max-microvolt = <3300000>; | ||
202 | regulator-enable-ramp-delay = <218>; | ||
203 | }; | ||
204 | |||
205 | mt6397_vgp1_reg: ldo_vgp1 { | ||
206 | regulator-compatible = "ldo_vgp1"; | ||
207 | regulator-name = "vcamd"; | ||
208 | regulator-min-microvolt = <1220000>; | ||
209 | regulator-max-microvolt = <3300000>; | ||
210 | regulator-enable-ramp-delay = <240>; | ||
211 | }; | ||
212 | |||
213 | mt6397_vgp2_reg: ldo_vgp2 { | ||
214 | regulator-compatible = "ldo_vgp2"; | ||
215 | regulator-name = "vcamio"; | ||
216 | regulator-min-microvolt = <1000000>; | ||
217 | regulator-max-microvolt = <3300000>; | ||
218 | regulator-enable-ramp-delay = <218>; | ||
219 | }; | ||
220 | |||
221 | mt6397_vgp3_reg: ldo_vgp3 { | ||
222 | regulator-compatible = "ldo_vgp3"; | ||
223 | regulator-name = "vcamaf"; | ||
224 | regulator-min-microvolt = <1200000>; | ||
225 | regulator-max-microvolt = <3300000>; | ||
226 | regulator-enable-ramp-delay = <218>; | ||
227 | }; | ||
228 | |||
229 | mt6397_vgp4_reg: ldo_vgp4 { | ||
230 | regulator-compatible = "ldo_vgp4"; | ||
231 | regulator-name = "vgp4"; | ||
232 | regulator-min-microvolt = <1200000>; | ||
233 | regulator-max-microvolt = <3300000>; | ||
234 | regulator-enable-ramp-delay = <218>; | ||
235 | }; | ||
236 | |||
237 | mt6397_vgp5_reg: ldo_vgp5 { | ||
238 | regulator-compatible = "ldo_vgp5"; | ||
239 | regulator-name = "vgp5"; | ||
240 | regulator-min-microvolt = <1200000>; | ||
241 | regulator-max-microvolt = <3000000>; | ||
242 | regulator-enable-ramp-delay = <218>; | ||
243 | }; | ||
244 | |||
245 | mt6397_vgp6_reg: ldo_vgp6 { | ||
246 | regulator-compatible = "ldo_vgp6"; | ||
247 | regulator-name = "vgp6"; | ||
248 | regulator-min-microvolt = <1200000>; | ||
249 | regulator-max-microvolt = <3300000>; | ||
250 | regulator-enable-ramp-delay = <218>; | ||
251 | }; | ||
252 | |||
253 | mt6397_vibr_reg: ldo_vibr { | ||
254 | regulator-compatible = "ldo_vibr"; | ||
255 | regulator-name = "vibr"; | ||
256 | regulator-min-microvolt = <1300000>; | ||
257 | regulator-max-microvolt = <3300000>; | ||
258 | regulator-enable-ramp-delay = <218>; | ||
259 | }; | ||
260 | }; | ||
261 | }; | ||
262 | }; | ||
263 | |||
67 | &uart0 { | 264 | &uart0 { |
68 | status = "okay"; | 265 | status = "okay"; |
69 | }; | 266 | }; |