boards: arm: mimxrt595_evk add adc support

Add ADC support for RT595 EVK, with channels 0 and 8 connected via
pin control.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2022-12-09 11:02:31 -06:00 committed by Carles Cufí
commit 46aec6dbea
2 changed files with 16 additions and 0 deletions

View file

@ -139,4 +139,14 @@
bias-pull-up; bias-pull-up;
}; };
}; };
pinmux_lpadc0: pinmux_lpadc0 {
group0 {
pinmux = <ADC0_CH0_PIO0_5>,
<ADC0_CH2_PIO0_19>;
slew-rate = "normal";
drive-strength = "normal";
nxp,analog-mode;
};
};
}; };

View file

@ -228,6 +228,12 @@ arduino_serial: &flexcomm12 {
}; };
}; };
&lpadc0 {
status = "okay";
pinctrl-0 = <&pinmux_lpadc0>;
pinctrl-names = "default";
};
&gpio0 { &gpio0 {
status = "okay"; status = "okay";
}; };