boards: arm: nucleo_f207zg: full Arduino SPI support

Full Arduino SPI support for nucleo_f207zg

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

View file

@ -146,7 +146,7 @@ Default Zephyr Peripheral Mapping:
- UART_3 TX/RX : PD8/PD9 (ST-Link Virtual Port Com) - UART_3 TX/RX : PD8/PD9 (ST-Link Virtual Port Com)
- UART_6 TX/RX : PG14/PG9 (Arduino Serial) - UART_6 TX/RX : PG14/PG9 (Arduino Serial)
- I2C1 SCL/SDA : PB8/PB9 (Arduino I2C) - I2C1 SCL/SDA : PB8/PB9 (Arduino I2C)
- SPI1 NSS/SCK/MISO/MOSI : PA4/PA5/PA6/PA7 (Arduino SPI) - SPI1 NSS/SCK/MISO/MOSI : PD14/PA5/PA6/PA7 (Arduino SPI)
- ETH : PA1, PA2, PA7, PB13, PC1, PC4, PC5, PG11, PG13 - ETH : PA1, PA2, PA7, PB13, PC1, PC4, PC5, PG11, PG13
- USB_DM : PA11 - USB_DM : PA11
- USB_DP : PA12 - USB_DP : PA12

View file

@ -76,8 +76,8 @@
}; };
&spi1 { &spi1 {
pinctrl-0 = <&spi1_nss_pa4 &spi1_sck_pa5 pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pa7>;
&spi1_miso_pa6 &spi1_mosi_pa7>; cs-gpios = <&gpiod 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
status = "okay"; status = "okay";
}; };