boards: arm: disco_l475_iot1: full Arduino SPI support

Full Arduino SPI support for disco_l475_iot1

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
Alexandre Bourdiol 2021-06-17 10:26:53 +02:00 committed by Anas Nashif
commit 75adf12258
2 changed files with 2 additions and 1 deletions

View file

@ -142,6 +142,7 @@
&spi1 { &spi1 {
pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pa7>; pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pa7>;
cs-gpios = <&gpioa 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
status = "okay"; status = "okay";
}; };

View file

@ -156,7 +156,7 @@ Default Zephyr Peripheral Mapping:
- I2C1 SCL/SDA : PB8/PB9 (Arduino I2C) - I2C1 SCL/SDA : PB8/PB9 (Arduino I2C)
- I2C2 SCL/SDA : PB10/PB11 (Sensor I2C bus) - I2C2 SCL/SDA : PB10/PB11 (Sensor I2C bus)
- I2C3 SCL/SDA : PC0/PC1 - I2C3 SCL/SDA : PC0/PC1
- SPI1 SCK/MISO/MOSI : PA5/PA6/PA7 (Arduino SPI) - SPI1 NSS/SCK/MISO/MOSI : PA2/PA5/PA6/PA7 (Arduino SPI)
- SPI3 SCK/MISO/MOSI : PC10/PC11/PC12 (BT SPI bus) - SPI3 SCK/MISO/MOSI : PC10/PC11/PC12 (BT SPI bus)
- PWM_2_CH1 : PA15 - PWM_2_CH1 : PA15
- USER_PB : PC13 - USER_PB : PC13