boards: nxp: frdm_mcxn947: add pinctrl for LPUART2
Add pinctrl and board enablement for LPUART2, which is broken out to P4_2 and P4_3 on the FRDM board. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
6b6adc07d0
commit
cbcbe7f43d
3 changed files with 24 additions and 0 deletions
|
@ -31,6 +31,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pinmux_flexcomm2_lpuart: pinmux_flexcomm2_lpuart {
|
||||||
|
group0 {
|
||||||
|
pinmux = <FC2_P2_PIO4_2>,
|
||||||
|
<FC2_P3_PIO4_3>;
|
||||||
|
slew-rate = "fast";
|
||||||
|
drive-strength = "low";
|
||||||
|
input-enable;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
pinmux_flexcomm4_lpuart: pinmux_flexcomm4_lpuart {
|
pinmux_flexcomm4_lpuart: pinmux_flexcomm4_lpuart {
|
||||||
group0 {
|
group0 {
|
||||||
pinmux = <FC4_P0_PIO1_8>,
|
pinmux = <FC4_P0_PIO1_8>,
|
||||||
|
|
|
@ -61,6 +61,12 @@
|
||||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&flexcomm2_lpuart2 {
|
||||||
|
current-speed = <115200>;
|
||||||
|
pinctrl-0 = <&pinmux_flexcomm2_lpuart>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
};
|
||||||
|
|
||||||
&flexcomm4_lpuart4 {
|
&flexcomm4_lpuart4 {
|
||||||
current-speed = <115200>;
|
current-speed = <115200>;
|
||||||
pinctrl-0 = <&pinmux_flexcomm4_lpuart>;
|
pinctrl-0 = <&pinmux_flexcomm4_lpuart>;
|
||||||
|
|
|
@ -85,6 +85,14 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
*LPFLEXCOMM supports UART and I2C on the same instance, enable this for
|
||||||
|
* LFLEXCOMM2
|
||||||
|
*/
|
||||||
|
&flexcomm2_lpuart2 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&flexcomm4 {
|
&flexcomm4 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue