summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2018-09-13 22:29:18 +0200
committerKevin Hilman <khilman@baylibre.com>2018-09-26 10:49:49 +0200
commitfd6643142a0c5ab4d423ed7173a0be414d509214 (patch)
treec2206d1bc829e20678d2adc60bd02d4738bf6ce3 /arch/arm/boot/dts
parentARM: dts: meson8b: odroidc1: add the fixed voltage regulators (diff)
downloadlinux-fd6643142a0c5ab4d423ed7173a0be414d509214.tar.xz
linux-fd6643142a0c5ab4d423ed7173a0be414d509214.zip
ARM: dts: meson8b: odroidc1: enable the SAR ADC
Odroid-C1 exposes ADC channels 0 and 1 on the GPIO headers. NOTE: Due to the SoC design these are limited to 1.8V (instead of 3.3V like all other pins). Enable the SAR ADC to enable voltage measurements on these pins. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/meson8b-odroidc1.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts
index a08dccccdb5e..7c1225658567 100644
--- a/arch/arm/boot/dts/meson8b-odroidc1.dts
+++ b/arch/arm/boot/dts/meson8b-odroidc1.dts
@@ -246,6 +246,11 @@
pinctrl-names = "default";
};
+&saradc {
+ status = "okay";
+ vref-supply = <&vcc_1v8>;
+};
+
&sdio {
status = "okay";