ARM: dts: at91: sama5d3_xplained: fix ADC vref
authorLudovic Desroches <ludovic.desroches@microchip.com>
Mon, 10 Apr 2017 08:25:16 +0000 (10:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 12:30:15 +0000 (14:30 +0200)
commit 9cdd31e5913c1f86dce7e201b086155b3f24896b upstream.

The voltage reference for the ADC is not 3V but 3.3V since it is connected to
VDDANA.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/at91-sama5d3_xplained.dts

index f3e2b96c06a361ed01f240797f299ae4a129249c..ed331a7d16ee47336b9f0d713dab43a567a11700 100644 (file)
                        };
 
                        adc0: adc@f8018000 {
+                               atmel,adc-vref = <3300>;
                                pinctrl-0 = <
                                        &pinctrl_adc0_adtrg
                                        &pinctrl_adc0_ad0