boards: arm: frdm_k82f: Add pinctrl dts properties

Add pinctrl-0 properties for configuration of peripherals like LPUART,
SPI, I2C, ADC, etc.  These settings are based on what is defined in
the board/pinmux.c file.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2021-04-08 18:49:42 -05:00 committed by Kumar Gala
commit bee58ceec2

View file

@ -113,6 +113,7 @@
&adc0 {
status = "okay";
pinctrl-0 = <&ADC0_SE15_PTC1>;
};
&gpioa {
@ -167,6 +168,7 @@
&i2c3 {
status = "okay";
pinctrl-0 = <&I2C3_SDA_PTA1 &I2C3_SCL_PTA2>;
fxos8700@1c {
compatible = "nxp,fxos8700";
@ -176,8 +178,17 @@
};
};
&I2C3_SDA_PTA1 {
drive-open-drain;
};
&I2C3_SCL_PTA2 {
drive-open-drain;
};
&lpuart4 {
status = "okay";
pinctrl-0 = <&LPUART4_RX_PTC14 &LPUART4_TX_PTC15>;
current-speed = <115200>;
};
@ -185,11 +196,15 @@
status = "okay";
compatible = "nxp,kinetis-ftm-pwm";
#pwm-cells = <3>;
pinctrl-0 = <&FTM3_CH4_PTC8 &FTM3_CH5_PTC9 &FTM3_CH6_PTC10>;
};
&spi1 {
status = "okay";
pinctrl-0 = <&SPI1_SCK_PTE1 &SPI1_SOUT_PTE2
&SPI1_SIN_PTE4 &SPI1_PCS0_PTE5>;
mx25u32: mx25u3235f@0 {
compatible = "jedec,spi-nor";
label = "MX25U3235F";