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:
parent
520ba93f5d
commit
b11ec57445
4 changed files with 16 additions and 0 deletions
|
@ -71,6 +71,8 @@ The current Zephyr stm32h747i_disco board configuration supports the following h
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
| FMC | on-chip | memc (SDRAM) |
|
| FMC | on-chip | memc (SDRAM) |
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
|
| SPI | on-chip | spi |
|
||||||
|
+-----------+------------+-------------------------------------+
|
||||||
|
|
||||||
(*) From UM2411 Rev 4:
|
(*) From UM2411 Rev 4:
|
||||||
With the default setting, the Ethernet feature is not working because of
|
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_1 TX/RX : PA9/PA10 (ST-Link Virtual Port Com)
|
||||||
- UART_8 TX/RX : PJ8/PJ9 (Arduino Serial)
|
- UART_8 TX/RX : PJ8/PJ9 (Arduino Serial)
|
||||||
|
- SPI_5 NSS/SCK/MISO/MOSI : PK1/PK0/PJ11/PJ10 (Arduino SPI)
|
||||||
- LD1 : PI12
|
- LD1 : PI12
|
||||||
- LD2 : PI13
|
- LD2 : PI13
|
||||||
- LD3 : PI14
|
- LD3 : PI14
|
||||||
|
|
|
@ -76,3 +76,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
arduino_serial: &uart8 {};
|
arduino_serial: &uart8 {};
|
||||||
|
|
||||||
|
&spi5 {
|
||||||
|
pinctrl-0 = <&spi5_nss_pk1 &spi5_sck_pk0
|
||||||
|
&spi5_miso_pj11 &spi5_mosi_pj10>;
|
||||||
|
};
|
||||||
|
|
|
@ -80,6 +80,10 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&spi5 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&flash0 {
|
&flash0 {
|
||||||
partitions {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
|
@ -160,3 +164,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
arduino_spi: &spi5 {};
|
||||||
|
|
|
@ -11,5 +11,7 @@ flash: 1024
|
||||||
supported:
|
supported:
|
||||||
- arduino_gpio
|
- arduino_gpio
|
||||||
- gpio
|
- gpio
|
||||||
|
- arduino_spi
|
||||||
|
- spi
|
||||||
- netif:eth
|
- netif:eth
|
||||||
- memc
|
- memc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue