boards: frdm_kw41z: Add pinctrl nodes for frdm_kw41z
Add pinctrl nodes for frdm_kw41z Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
5133709332
commit
f969efcaa1
2 changed files with 79 additions and 16 deletions
71
boards/arm/frdm_kw41z/frdm_kw41z-pinctrl.dtsi
Normal file
71
boards/arm/frdm_kw41z/frdm_kw41z-pinctrl.dtsi
Normal file
|
@ -0,0 +1,71 @@
|
|||
/*
|
||||
* NOTE: Autogenerated file by kinetis_signal2dts.py
|
||||
* for MKW41Z512VHT4/signal_configuration.xml
|
||||
*
|
||||
* Copyright (c) 2022, NXP
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
|
||||
#include <nxp/kinetis/MKW41Z512VHT4-pinctrl.h>
|
||||
|
||||
&pinctrl {
|
||||
adc0_default: adc0_default {
|
||||
group0 {
|
||||
pinmux = <ADC0_SE3_PTB2>;
|
||||
drive-strength = "low";
|
||||
slew-rate = "slow";
|
||||
};
|
||||
};
|
||||
|
||||
i2c1_default: i2c1_default {
|
||||
group0 {
|
||||
pinmux = <I2C1_SCL_PTC2>,
|
||||
<I2C1_SDA_PTC3>;
|
||||
drive-strength = "low";
|
||||
slew-rate = "slow";
|
||||
};
|
||||
};
|
||||
|
||||
lpuart0_default: lpuart0_default {
|
||||
group0 {
|
||||
pinmux = <UART0_TX_PTC7>;
|
||||
drive-strength = "low";
|
||||
slew-rate = "fast";
|
||||
};
|
||||
group1 {
|
||||
pinmux = <UART0_RX_PTC6>;
|
||||
drive-strength = "low";
|
||||
slew-rate = "slow";
|
||||
};
|
||||
};
|
||||
|
||||
spi0_default: spi0_default {
|
||||
group0 {
|
||||
pinmux = <SPI0_SCK_PTC16>,
|
||||
<SPI0_SIN_PTC18>,
|
||||
<SPI0_SOUT_PTC17>,
|
||||
<SPI0_PCS0_PTC19>;
|
||||
drive-strength = "low";
|
||||
slew-rate = "fast";
|
||||
};
|
||||
};
|
||||
|
||||
tmp2_default: tmp2_default {
|
||||
group0 {
|
||||
pinmux = <TPM2_CH0_PTA18>,
|
||||
<TPM2_CH1_PTA19>;
|
||||
drive-strength = "low";
|
||||
slew-rate = "fast";
|
||||
};
|
||||
};
|
||||
|
||||
tpm0_default: tpm0_default {
|
||||
group0 {
|
||||
pinmux = <TPM0_CH2_PTC1>;
|
||||
drive-strength = "low";
|
||||
slew-rate = "slow";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
/dts-v1/;
|
||||
|
||||
#include <nxp/MKW41Z512VHT4.dtsi>
|
||||
#include <nxp/nxp_kw41z.dtsi>
|
||||
#include "frdm_kw41z-pinctrl.dtsi"
|
||||
|
||||
/ {
|
||||
model = "NXP Freedom KW41Z board";
|
||||
|
@ -109,13 +110,13 @@
|
|||
|
||||
&adc0 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&ADC0_SE3_PTB2>;
|
||||
pinctrl-0 = <&adc0_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&I2C1_SCL_PTC2 &I2C1_SDA_PTC3>;
|
||||
pinctrl-0 = <&i2c1_default>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
fxos8700@1f {
|
||||
|
@ -126,17 +127,9 @@
|
|||
};
|
||||
};
|
||||
|
||||
&I2C1_SCL_PTC2 {
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
&I2C1_SDA_PTC3 {
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
&lpuart0 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&UART0_RX_PTC6 &UART0_TX_PTC7>;
|
||||
pinctrl-0 = <&lpuart0_default>;
|
||||
pinctrl-names = "default";
|
||||
current-speed = <115200>;
|
||||
};
|
||||
|
@ -151,14 +144,13 @@
|
|||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&SPI0_SCK_PTC16 &SPI0_SOUT_PTC17
|
||||
&SPI0_SIN_PTC18 &SPI0_PCS0_PTC19>;
|
||||
pinctrl-0 = <&spi0_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&tpm0 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&TPM0_CH2_PTC1>;
|
||||
pinctrl-0 = <&tpm0_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
|
@ -168,6 +160,6 @@
|
|||
|
||||
&tpm2 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&TPM2_CH1_PTA19 &TPM2_CH0_PTA18>;
|
||||
pinctrl-0 = <&tmp2_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue