boards: arm: stm32h747i_disco: add Arduino SPI support

Add Arduino SPI support for stm32h747i_disco.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
Alexandre Bourdiol 2021-06-09 13:32:18 +02:00 committed by Anas Nashif
commit b11ec57445
4 changed files with 16 additions and 0 deletions

View file

@ -71,6 +71,8 @@ The current Zephyr stm32h747i_disco board configuration supports the following h
+-----------+------------+-------------------------------------+
| FMC | on-chip | memc (SDRAM) |
+-----------+------------+-------------------------------------+
| SPI | on-chip | spi |
+-----------+------------+-------------------------------------+
(*) From UM2411 Rev 4:
With the default setting, the Ethernet feature is not working because of
@ -96,6 +98,7 @@ Default Zephyr Peripheral Mapping:
- UART_1 TX/RX : PA9/PA10 (ST-Link Virtual Port Com)
- UART_8 TX/RX : PJ8/PJ9 (Arduino Serial)
- SPI_5 NSS/SCK/MISO/MOSI : PK1/PK0/PJ11/PJ10 (Arduino SPI)
- LD1 : PI12
- LD2 : PI13
- LD3 : PI14

View file

@ -76,3 +76,8 @@
};
arduino_serial: &uart8 {};
&spi5 {
pinctrl-0 = <&spi5_nss_pk1 &spi5_sck_pk0
&spi5_miso_pj11 &spi5_mosi_pj10>;
};

View file

@ -80,6 +80,10 @@
status = "okay";
};
&spi5 {
status = "okay";
};
&flash0 {
partitions {
compatible = "fixed-partitions";
@ -160,3 +164,5 @@
};
};
};
arduino_spi: &spi5 {};

View file

@ -11,5 +11,7 @@ flash: 1024
supported:
- arduino_gpio
- gpio
- arduino_spi
- spi
- netif:eth
- memc