aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@microchip.com>2018-09-19 08:39:53 -0400
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-09-19 13:11:02 -0400
commitf3cdc783ceb7016a17418d848a53055ee79bfe74 (patch)
tree3fd43d8344542b833f487969ae5f8407e25995ad
parentc890ecdbe93d482512a911b299bfb009780a29c2 (diff)
ARM: dts: at91: sama5d27_som1_ek: add adc regulators
Add fixed regulators for the ADC. This board does not have a programmable PMIC, but fixed regulators. Adding them to DT so the ADC can probe correctly. Tested-by: Swapna Gurumani <swapna.gurumani@microchip.com> Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--arch/arm/boot/dts/at91-sama5d27_som1_ek.dts42
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
index e86e0c00eb6b..363a43d77424 100644
--- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
@@ -283,6 +283,13 @@
283 status = "okay"; 283 status = "okay";
284 }; 284 };
285 285
286 adc: adc@fc030000 {
287 vddana-supply = <&vddana>;
288 vref-supply = <&advref>;
289
290 status = "disabled";
291 };
292
286 pinctrl@fc038000 { 293 pinctrl@fc038000 {
287 294
288 pinctrl_can1_default: can1_default { 295 pinctrl_can1_default: can1_default {
@@ -549,4 +556,39 @@
549 linux,default-trigger = "heartbeat"; 556 linux,default-trigger = "heartbeat";
550 }; 557 };
551 }; 558 };
559
560 vddin_3v3: fixed-regulator-vddin_3v3 {
561 compatible = "regulator-fixed";
562
563 regulator-name = "VDDIN_3V3";
564 regulator-min-microvolt = <3300000>;
565 regulator-max-microvolt = <3300000>;
566 regulator-always-on;
567 regulator-boot-on;
568 status = "okay";
569 };
570
571 vddana: fixed-regulator-vddana {
572 compatible = "regulator-fixed";
573
574 regulator-name = "VDDANA";
575 regulator-min-microvolt = <3300000>;
576 regulator-max-microvolt = <3300000>;
577 regulator-always-on;
578 regulator-boot-on;
579 vin-supply = <&vddin_3v3>;
580 status = "okay";
581 };
582
583 advref: fixed-regulator-advref {
584 compatible = "regulator-fixed";
585
586 regulator-name = "advref";
587 regulator-min-microvolt = <3300000>;
588 regulator-max-microvolt = <3300000>;
589 regulator-always-on;
590 regulator-boot-on;
591 vin-supply = <&vddana>;
592 status = "okay";
593 };
552}; 594};