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:
parent
55c6a0eaa5
commit
e5f0075dc6
3 changed files with 16 additions and 0 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -100,3 +100,10 @@
|
|||
&lptmr0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
status = "disabled";
|
||||
current-speed = <115200>;
|
||||
pinctrl-0 = <&pinmux_uart2>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
|
|
@ -16,6 +16,7 @@ toolchain:
|
|||
- xtools
|
||||
supported:
|
||||
- gpio
|
||||
- uart
|
||||
- counter
|
||||
testing:
|
||||
ignore_tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue