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:
parent
bee58ceec2
commit
e14b78c3ff
1 changed files with 12 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue