board: frdmmcxc444: Add uart support

Add UART configuration and pin control. Set state to disabled,
as it serves as alternative to default LPUART0 or as second
uart only.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
This commit is contained in:
Neil Chen 2024-11-19 16:32:11 +08:00 committed by Anas Nashif
commit e5f0075dc6
3 changed files with 16 additions and 0 deletions

View file

@ -16,4 +16,12 @@
slew-rate = "slow";
};
};
pinmux_uart2: pinmux_uart2 {
group0 {
pinmux = <UART2_RX_PTD2>,
<UART2_TX_PTD3>;
drive-strength = "low";
slew-rate = "slow";
};
};
};

View file

@ -100,3 +100,10 @@
&lptmr0 {
status = "okay";
};
&uart2 {
status = "disabled";
current-speed = <115200>;
pinctrl-0 = <&pinmux_uart2>;
pinctrl-names = "default";
};

View file

@ -16,6 +16,7 @@ toolchain:
- xtools
supported:
- gpio
- uart
- counter
testing:
ignore_tags: