aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2017-02-14 22:18:44 +0100
committerKevin Hilman <[email protected]>2017-04-04 11:04:17 -0700
commit62158c6a9c5d2e5b62c6777b9fc1954fca1b7f59 (patch)
treeba098ef6fa14304c0658ae8fa86d0501cdd98a05
parent9503062d65f5636f41a5d59714f7a5c6844702ae (diff)
ARM64: dts: meson-gxbb-odroidc2: Enable SARADC node
Now that 3adbf3427330 "iio: adc: add a driver for the SAR ADC found in Amlogic Meson SoCs" has added support for the ADC, let's enable it on Odroid C2. Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
index a8f1f8a00b51..54a9c6a6b392 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
@@ -267,6 +267,11 @@
status = "okay";
};
+&saradc {
+ status = "okay";
+ vref-supply = <&vcc1v8>;
+};
+
/* SD */
&sd_emmc_b {
status = "okay";