boards: st: nucleo_h745zi_q: Enable SPI on Arduino extention
The board is capable to serve SPI on the Arduino extention header. Configure and enable SPI to work on the extention. Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
This commit is contained in:
parent
5e6bbdc8e4
commit
205e971f29
4 changed files with 30 additions and 0 deletions
|
@ -117,6 +117,8 @@ features:
|
|||
+-------------+------------+-------------------------------------+
|
||||
| USB OTG FS | on-chip | USB device |
|
||||
+-------------+------------+-------------------------------------+
|
||||
| SPI | on-chip | spi |
|
||||
+-------------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported on this Zephyr port.
|
||||
|
||||
|
@ -138,6 +140,7 @@ and a ST morpho connector. Board is configured as follows:
|
|||
- LD2 : PB7
|
||||
- LD3 : PB14
|
||||
- I2C : PB8, PB9
|
||||
- SPI : PA5, PA6, PB5, PD14
|
||||
|
||||
System Clock
|
||||
------------
|
||||
|
|
|
@ -35,3 +35,11 @@
|
|||
&rcc {
|
||||
clock-frequency = <DT_FREQ_M(240)>;
|
||||
};
|
||||
|
||||
&spi1 {
|
||||
pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pb5>;
|
||||
pinctrl-names = "default";
|
||||
cs-gpios = <&gpiod 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -132,6 +132,13 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&spi1 {
|
||||
pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pb5>;
|
||||
pinctrl-names = "default";
|
||||
cs-gpios = <&gpiod 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
zephyr_udc0: &usbotg_fs {
|
||||
pinctrl-0 = <&usb_otg_fs_dm_pa11 &usb_otg_fs_dp_pa12>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
@ -56,6 +56,8 @@ tests:
|
|||
platform_allow:
|
||||
- nucleo_h743zi
|
||||
- nucleo_h753zi
|
||||
- nucleo_h745zi_q/stm32h745xx/m4
|
||||
- nucleo_h745zi_q/stm32h745xx/m7
|
||||
drivers.spi.stm32_spi_dma.loopback:
|
||||
extra_args: OVERLAY_CONFIG="overlay-stm32-spi-dma.conf"
|
||||
filter: CONFIG_SOC_FAMILY_STM32
|
||||
|
@ -71,6 +73,8 @@ tests:
|
|||
- nucleo_wl55jc
|
||||
- nucleo_h743zi
|
||||
- nucleo_h753zi
|
||||
- nucleo_h745zi_q/stm32h745xx/m4
|
||||
- nucleo_h745zi_q/stm32h745xx/m7
|
||||
- stm32h573i_dk
|
||||
integration_platforms:
|
||||
- nucleo_g474re
|
||||
|
@ -83,6 +87,8 @@ tests:
|
|||
platform_allow:
|
||||
- nucleo_h743zi
|
||||
- nucleo_h753zi
|
||||
- nucleo_h745zi_q/stm32h745xx/m4
|
||||
- nucleo_h745zi_q/stm32h745xx/m7
|
||||
drivers.spi.stm32_spi_16bits_frames_dma.loopback:
|
||||
extra_args:
|
||||
- OVERLAY_CONFIG="overlay-stm32-spi-16bits-dma.conf"
|
||||
|
@ -91,6 +97,8 @@ tests:
|
|||
platform_allow:
|
||||
- nucleo_h743zi
|
||||
- nucleo_h753zi
|
||||
- nucleo_h745zi_q/stm32h745xx/m4
|
||||
- nucleo_h745zi_q/stm32h745xx/m7
|
||||
drivers.spi.stm32_spi_16bits_frames_dma_dt_nocache_mem.loopback:
|
||||
extra_args:
|
||||
- OVERLAY_CONFIG="overlay-stm32-spi-16bits-dma-dt-nocache-mem.conf"
|
||||
|
@ -99,6 +107,8 @@ tests:
|
|||
platform_allow:
|
||||
- nucleo_h743zi
|
||||
- nucleo_h753zi
|
||||
- nucleo_h745zi_q/stm32h745xx/m4
|
||||
- nucleo_h745zi_q/stm32h745xx/m7
|
||||
drivers.spi.stm32_spi_interrupt.loopback:
|
||||
extra_args: OVERLAY_CONFIG="overlay-stm32-spi-interrupt.conf"
|
||||
filter: CONFIG_SOC_FAMILY_STM32
|
||||
|
@ -111,6 +121,8 @@ tests:
|
|||
- nucleo_g474re
|
||||
- nucleo_h743zi
|
||||
- nucleo_h753zi
|
||||
- nucleo_h745zi_q/stm32h745xx/m4
|
||||
- nucleo_h745zi_q/stm32h745xx/m7
|
||||
- nucleo_l152re
|
||||
- nucleo_wb55rg
|
||||
- nucleo_wl55jc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue