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 13:44:44 +0000 (15:44 +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 c51fc65..7a0fa1a 100644 (file)
                        };
 
                        adc0: adc@f8018000 {
+                               atmel,adc-vref = <3300>;
                                pinctrl-0 = <
                                        &pinctrl_adc0_adtrg
                                        &pinctrl_adc0_ad0