Skip to content

Commit a00c940

Browse files
Andrei StefanescuRazvanStef
authored andcommitted
ARM: dts: at91: sama5d2_icp: add PMIC bindings
This patch adds the PMIC bindings for the ICP board. Signed-off-by: Andrei Stefanescu <andrei.stefanescu@microchip.com> [razvan.stefanescu@microchip.com Updated title, set lpm gpio to low] Signed-off-by: Razvan Stefanescu <razvan.stefanescu@microchip.com>
1 parent 22d0d40 commit a00c940

1 file changed

Lines changed: 116 additions & 0 deletions

File tree

arch/arm/boot/dts/at91-sama5d2_icp.dts

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,122 @@
254254
pinctrl-0 = <&pinctrl_flx4_default>;
255255
atmel,fifo-size = <16>;
256256
status = "okay";
257+
258+
mcp16502@5b {
259+
compatible = "microchip,mcp16502";
260+
reg = <0x5b>;
261+
status = "okay";
262+
lpm-gpios = <&pioBU 7 GPIO_ACTIVE_LOW>;
263+
264+
regulators {
265+
VDD_IO {
266+
regulator-name = "VDD_IO";
267+
regulator-min-microvolt = <1200000>;
268+
regulator-max-microvolt = <3700000>;
269+
regulator-initial-mode = <2>;
270+
regulator-allowed-modes = <2>, <4>;
271+
regulator-always-on;
272+
273+
regulator-state-standby {
274+
regulator-on-in-suspend;
275+
regulator-mode = <4>;
276+
};
277+
278+
regulator-state-mem {
279+
regulator-off-in-suspend;
280+
regulator-mode = <4>;
281+
};
282+
};
283+
284+
VDD_DDR {
285+
regulator-name = "VDD_DDR";
286+
regulator-min-microvolt = <600000>;
287+
regulator-max-microvolt = <1850000>;
288+
regulator-initial-mode = <2>;
289+
regulator-allowed-modes = <2>, <4>;
290+
regulator-always-on;
291+
292+
regulator-state-standby {
293+
regulator-on-in-suspend;
294+
regulator-mode = <4>;
295+
};
296+
297+
regulator-state-mem {
298+
regulator-on-in-suspend;
299+
regulator-mode = <4>;
300+
};
301+
};
302+
303+
VDD_CORE {
304+
regulator-name = "VDD_CORE";
305+
regulator-min-microvolt = <600000>;
306+
regulator-max-microvolt = <1850000>;
307+
regulator-initial-mode = <2>;
308+
regulator-allowed-modes = <2>, <4>;
309+
regulator-always-on;
310+
311+
regulator-state-standby {
312+
regulator-on-in-suspend;
313+
regulator-mode = <4>;
314+
};
315+
316+
regulator-state-mem {
317+
regulator-off-in-suspend;
318+
regulator-mode = <4>;
319+
};
320+
};
321+
322+
VDD_OTHER {
323+
regulator-name = "VDD_OTHER";
324+
regulator-min-microvolt = <600000>;
325+
regulator-max-microvolt = <1850000>;
326+
regulator-initial-mode = <2>;
327+
regulator-allowed-modes = <2>, <4>;
328+
regulator-always-on;
329+
330+
regulator-state-standby {
331+
regulator-on-in-suspend;
332+
regulator-mode = <4>;
333+
};
334+
335+
regulator-state-mem {
336+
regulator-off-in-suspend;
337+
regulator-mode = <4>;
338+
};
339+
};
340+
341+
LDO1 {
342+
regulator-name = "LDO1";
343+
regulator-min-microvolt = <1200000>;
344+
regulator-max-microvolt = <3700000>;
345+
regulator-always-on;
346+
347+
regulator-state-standby {
348+
regulator-on-in-suspend;
349+
};
350+
351+
regulator-state-mem {
352+
regulator-off-in-suspend;
353+
};
354+
};
355+
356+
LDO2 {
357+
regulator-name = "LDO2";
358+
regulator-min-microvolt = <1200000>;
359+
regulator-max-microvolt = <3700000>;
360+
regulator-always-on;
361+
362+
regulator-state-standby {
363+
regulator-on-in-suspend;
364+
};
365+
366+
regulator-state-mem {
367+
regulator-off-in-suspend;
368+
};
369+
};
370+
371+
};
372+
};
257373
};
258374
};
259375

0 commit comments

Comments
 (0)