boards: arm: hexiwear_k64: Add pinctrl dts properties
Add pinctrl-0 properties for configuration of peripherals like UARTs, I2C, SPI, FTMs, 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
dcb2211fc1
commit
efb8a9ad04
1 changed files with 21 additions and 0 deletions
|
@ -80,10 +80,12 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
compatible = "nxp,kinetis-ftm-pwm";
|
compatible = "nxp,kinetis-ftm-pwm";
|
||||||
#pwm-cells = <3>;
|
#pwm-cells = <3>;
|
||||||
|
pinctrl-0 = <&FTM3_CH4_PTC8 &FTM3_CH5_PTC9 &FTM3_CH0_PTD0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
pinctrl-0 = <&I2C0_SCL_PTB0 &I2C0_SDA_PTB1>;
|
||||||
|
|
||||||
max30101@57 {
|
max30101@57 {
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
@ -93,8 +95,17 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&I2C0_SCL_PTB0 {
|
||||||
|
drive-open-drain;
|
||||||
|
};
|
||||||
|
|
||||||
|
&I2C0_SDA_PTB1 {
|
||||||
|
drive-open-drain;
|
||||||
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
pinctrl-0 = <&I2C1_SCL_PTC10 &I2C1_SDA_PTC11>;
|
||||||
|
|
||||||
fxos8700@1e {
|
fxos8700@1e {
|
||||||
compatible = "nxp,fxos8700";
|
compatible = "nxp,fxos8700";
|
||||||
|
@ -113,14 +124,24 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&I2C1_SCL_PTC10 {
|
||||||
|
drive-open-drain;
|
||||||
|
};
|
||||||
|
|
||||||
|
&I2C1_SDA_PTC11 {
|
||||||
|
drive-open-drain;
|
||||||
|
};
|
||||||
|
|
||||||
&uart0 {
|
&uart0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
current-speed = <115200>;
|
current-speed = <115200>;
|
||||||
|
pinctrl-0 = <&UART0_RX_PTB16 &UART0_TX_PTB17>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&uart4 {
|
&uart4 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
current-speed = <115200>;
|
current-speed = <115200>;
|
||||||
|
pinctrl-0 = <&UART4_RX_PTE25 &UART4_TX_PTE24>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&gpiob {
|
&gpiob {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue