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:
parent
29c53f4f6a
commit
46aec6dbea
2 changed files with 16 additions and 0 deletions
|
@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -228,6 +228,12 @@ arduino_serial: &flexcomm12 {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&lpadc0 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&pinmux_lpadc0>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
};
|
||||||
|
|
||||||
&gpio0 {
|
&gpio0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue