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:
parent
954dcbd754
commit
b15d5a95fd
2 changed files with 36 additions and 11 deletions
32
boards/arm/twr_kv58f220m/twr_kv58f220m-pinctrl.dtsi
Normal file
32
boards/arm/twr_kv58f220m/twr_kv58f220m-pinctrl.dtsi
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
|
@ -6,7 +6,8 @@
|
||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
#include <nxp/MKV58F1M0VLQ24.dtsi>
|
#include <nxp/nxp_kv58f1m0vlx24.dtsi>
|
||||||
|
#include "twr_kv58f220m-pinctrl.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "NXP Kinetis KV58 MCU Tower System Module";
|
model = "NXP Kinetis KV58 MCU Tower System Module";
|
||||||
|
@ -131,7 +132,7 @@
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
pinctrl-0 = <&I2C1_SCL_PTD8 &I2C1_SDA_PTD9>;
|
pinctrl-0 = <&i2c1_default>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
||||||
fxos8700@1c {
|
fxos8700@1c {
|
||||||
|
@ -143,17 +144,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&I2C1_SCL_PTD8 {
|
|
||||||
drive-open-drain;
|
|
||||||
};
|
|
||||||
|
|
||||||
&I2C1_SDA_PTD9 {
|
|
||||||
drive-open-drain;
|
|
||||||
};
|
|
||||||
|
|
||||||
&uart0 {
|
&uart0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
current-speed = <115200>;
|
current-speed = <115200>;
|
||||||
pinctrl-0 = <&UART0_RX_PTB0 &UART0_TX_PTB1>;
|
pinctrl-0 = <&uart0_default>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue