boards: arm: twr_ke18f: add ADC support

Add support for reading the onboard potentiometer (ADC0 channel
12) and thermistor (ADC0 channels 0 and 1).

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2019-05-16 08:21:25 +02:00 committed by Maureen Helm
commit ac4294216b
5 changed files with 23 additions and 0 deletions

View file

@ -141,6 +141,11 @@
status = "ok";
};
&adc0 {
status = "ok";
sample-time = <12>;
};
&flash0 {
/*
* For more information, see: