boards: twr_kv58f220m: Add pinctrl groups for twr_kv58f220m

Add pinctrl groups for twr_kv58f220m

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2022-02-28 18:02:36 -06:00 committed by David Leach
commit b15d5a95fd
2 changed files with 36 additions and 11 deletions

View file

@ -0,0 +1,32 @@
/*
* NOTE: Autogenerated file by kinetis_signal2dts.py
* for MKV58F1M0VLQ24/signal_configuration.xml
*
* Copyright (c) 2022, NXP
* SPDX-License-Identifier: Apache-2.0
*/
#include <nxp/kinetis/MKV58F1M0VLQ24-pinctrl.h>
&pinctrl {
i2c1_default: i2c1_default {
group0 {
pinmux = <I2C1_SCL_PTD8>,
<I2C1_SDA_PTD9>;
drive-strength = "low";
drive-open-drain;
slew-rate = "fast";
};
};
uart0_default: uart0_default {
group0 {
pinmux = <UART0_RX_PTB0>,
<UART0_TX_PTB1>;
drive-strength = "low";
slew-rate = "fast";
};
};
};

View file

@ -6,7 +6,8 @@
/dts-v1/;
#include <nxp/MKV58F1M0VLQ24.dtsi>
#include <nxp/nxp_kv58f1m0vlx24.dtsi>
#include "twr_kv58f220m-pinctrl.dtsi"
/ {
model = "NXP Kinetis KV58 MCU Tower System Module";
@ -131,7 +132,7 @@
&i2c1 {
status = "okay";
pinctrl-0 = <&I2C1_SCL_PTD8 &I2C1_SDA_PTD9>;
pinctrl-0 = <&i2c1_default>;
pinctrl-names = "default";
fxos8700@1c {
@ -143,17 +144,9 @@
};
};
&I2C1_SCL_PTD8 {
drive-open-drain;
};
&I2C1_SDA_PTD9 {
drive-open-drain;
};
&uart0 {
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&UART0_RX_PTB0 &UART0_TX_PTB1>;
pinctrl-0 = <&uart0_default>;
pinctrl-names = "default";
};