summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2018-11-26 18:27:51 +0300
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-11-27 12:43:55 +0300
commit01f965ce9e5d1c865ed1a5e0a484a3246f51502d (patch)
treef35a2e4197293c6c87f2d4c31ef09d4cef2496ca /arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
parent382744d359167fe83d30c304aefefc03bf15259e (diff)
downloadlinux-01f965ce9e5d1c865ed1a5e0a484a3246f51502d.tar.xz
ARM: dts: sun7i: set proper lradc vref on OLinuXino Lime2
The lradc's analog reference voltage is set to 3.0 volt in the hardware. This is more or less set in copper for at least lradc0. Set the property in the dts to ensure the lradc is referenced properly. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Signed-off-by: Priit Laes <plaes@plaes.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
index b828677f331d..fbdb6faffcd4 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
@@ -154,6 +154,10 @@
};
};
+&lradc {
+ vref-supply = <&reg_vcc3v0>;
+};
+
&mmc0 {
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins_a>;