diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2018-09-13 22:29:18 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2018-09-26 10:49:49 +0200 |
commit | fd6643142a0c5ab4d423ed7173a0be414d509214 (patch) | |
tree | c2206d1bc829e20678d2adc60bd02d4738bf6ce3 /arch/arm/boot/dts/meson8b-odroidc1.dts | |
parent | ARM: dts: meson8b: odroidc1: add the fixed voltage regulators (diff) | |
download | linux-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/meson8b-odroidc1.dts')
-rw-r--r-- | arch/arm/boot/dts/meson8b-odroidc1.dts | 5 |
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"; |