Skip to content

Commit 5aa7b73

Browse files
committed
ARM: dts: at91: sam9x75eb: Add ADC support
Add ADC support to the sam9x75eb board and enable it. Signed-off-by: Durai Manickam KR <durai.manickamkr@microchip.com>
1 parent f1264e5 commit 5aa7b73

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

arch/arm/boot/dts/microchip/at91-sam9x75eb.dts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@
8484
};
8585
};
8686

87+
&adc {
88+
vddana-supply = <&vdd_3v3>;
89+
vref-supply = <&vdd_3v3>;
90+
pinctrl-names = "default";
91+
pinctrl-0 = <&pinctrl_adc_default>;
92+
status = "okay";
93+
};
94+
8795
&can0 {
8896
pinctrl-names = "default";
8997
pinctrl-0 = <&pinctrl_can0_default>;
@@ -326,6 +334,11 @@
326334
};
327335

328336
&pinctrl {
337+
adc {
338+
pinctrl_adc_default: adc-default {
339+
atmel,pins = <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;
340+
};
341+
};
329342

330343
can0 {
331344
pinctrl_can0_default: can0 {

0 commit comments

Comments
 (0)