boards: stm32: Convert boards I2C pins to devicetree

Get STM32 boards configuring I2C using device tree and
remove configuration from pinmux.c

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2020-10-12 17:53:50 +02:00 committed by Kumar Gala
commit cb22d8ece7
114 changed files with 113 additions and 363 deletions

View file

@ -84,11 +84,13 @@
};
&i2c1 {
pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pb7>;
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
};
&i2c2 {
pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb9>;
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
@ -113,6 +115,7 @@
};
&i2c3 {
pinctrl-0 = <&i2c3_scl_pa8 &i2c3_sda_pb4>;
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;