boards: arm: nucleo_g474re: fix Arduino SPI support
Fix Arduino SPI support for nucleo_g474re. Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
parent
7f7cf98887
commit
cab576fb82
2 changed files with 5 additions and 3 deletions
|
@ -123,6 +123,8 @@ The Zephyr nucleo_g474re board configuration supports the following hardware fea
|
|||
+-----------+------------+-------------------------------------+
|
||||
| COUNTER | on-chip | rtc |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| SPI | on-chip | spi |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported on this Zephyr port.
|
||||
|
||||
|
@ -150,7 +152,7 @@ Default Zephyr Peripheral Mapping:
|
|||
- I2C_1_SCL : PB8
|
||||
- I2C_1_SDA : PB9
|
||||
- SPI_1_NSS : PB6
|
||||
- SPI_1_SCK : PB3
|
||||
- SPI_1_SCK : PA5
|
||||
- SPI_1_MISO : PA6
|
||||
- SPI_1_MOSI : PA7
|
||||
- SPI_2_NSS : PB12
|
||||
|
|
|
@ -93,8 +93,8 @@
|
|||
};
|
||||
|
||||
&spi1 {
|
||||
pinctrl-0 = <&spi1_nss_pa4 &spi1_sck_pb3
|
||||
&spi1_miso_pa6 &spi1_mosi_pa7>;
|
||||
pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pa7>;
|
||||
cs-gpios = <&gpiob 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue