ARM: dts: sun7i: set proper lradc vref on OLinuXino Lime2
authorOlliver Schinagl <oliver@schinagl.nl>
Mon, 26 Nov 2018 15:27:51 +0000 (17:27 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 27 Nov 2018 09:43:55 +0000 (10:43 +0100)
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>
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts

index b828677..fbdb6fa 100644 (file)
        };
 };
 
+&lradc {
+       vref-supply = <&reg_vcc3v0>;
+};
+
 &mmc0 {
        pinctrl-names = "default";
        pinctrl-0 = <&mmc0_pins_a>;