boards: ti: launchxl: Add support of UART1
Some examples may require the usage of a second UART. This adds UART1 to common launchxl.dtsi in order to make it available for these examples. Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
This commit is contained in:
parent
3341298c0c
commit
7a49ed899d
2 changed files with 18 additions and 0 deletions
|
|
@ -18,6 +18,17 @@
|
|||
input-enable;
|
||||
};
|
||||
|
||||
/* UART1 */
|
||||
uart1_tx_default: uart1_tx_default {
|
||||
pinmux = <22 IOC_PORT_MCU_UART1_TX>;
|
||||
bias-disable;
|
||||
};
|
||||
uart1_rx_default: uart1_rx_default {
|
||||
pinmux = <24 IOC_PORT_MCU_UART1_RX>;
|
||||
bias-disable;
|
||||
input-enable;
|
||||
};
|
||||
|
||||
/* I2C0 */
|
||||
i2c0_scl_default: i2c0_scl_default {
|
||||
pinmux = <4 IOC_PORT_MCU_I2C_MSSCL>;
|
||||
|
|
|
|||
|
|
@ -76,6 +76,13 @@
|
|||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
status = "disabled";
|
||||
current-speed = <115200>;
|
||||
pinctrl-0 = <&uart1_rx_default &uart1_tx_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&i2c0_scl_default &i2c0_sda_default>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue