Commit f3cdc783 authored by Eugen Hristev's avatar Eugen Hristev Committed by Alexandre Belloni

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: default avatarSwapna Gurumani <swapna.gurumani@microchip.com>
Signed-off-by: default avatarLudovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: default avatarEugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent c890ecdb
...@@ -283,6 +283,13 @@ i2c1: i2c@fc028000 { ...@@ -283,6 +283,13 @@ i2c1: i2c@fc028000 {
status = "okay"; status = "okay";
}; };
adc: adc@fc030000 {
vddana-supply = <&vddana>;
vref-supply = <&advref>;
status = "disabled";
};
pinctrl@fc038000 { pinctrl@fc038000 {
pinctrl_can1_default: can1_default { pinctrl_can1_default: can1_default {
...@@ -549,4 +556,39 @@ blue { ...@@ -549,4 +556,39 @@ blue {
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
}; };
vddin_3v3: fixed-regulator-vddin_3v3 {
compatible = "regulator-fixed";
regulator-name = "VDDIN_3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
status = "okay";
};
vddana: fixed-regulator-vddana {
compatible = "regulator-fixed";
regulator-name = "VDDANA";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
vin-supply = <&vddin_3v3>;
status = "okay";
};
advref: fixed-regulator-advref {
compatible = "regulator-fixed";
regulator-name = "advref";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
vin-supply = <&vddana>;
status = "okay";
};
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment