boards: arm: frdm_kl25z: Add pinctrl dts properties

Add pinctrl-0 properties for configuration of peripherals like UART,
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:53:42 -05:00 committed by Kumar Gala
commit e14b78c3ff

View file

@ -92,10 +92,13 @@
&adc0 {
status = "okay";
pinctrl-0 = <&ADC0_SE12_PTB2>;
};
&i2c0 {
status = "okay";
pinctrl-0 = <&I2C0_SCL_PTE24 &I2C0_SDA_PTE25>;
mma8451q@1d {
compatible = "nxp,fxos8700","nxp,mma8451q";
reg = <0x1d>;
@ -105,9 +108,18 @@
};
};
&I2C0_SCL_PTE24 {
bias-pull-up;
};
&I2C0_SDA_PTE25 {
bias-pull-up;
};
&uart0 {
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&UART0_RX_PTA1 &UART0_TX_PTA2>;
};
&gpioa {