boards: arm: nucleo_l476rg: add Arduino SPI support
Add Arduino SPI support for nucleo_l476rg. Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
parent
b56ae7b2a3
commit
1c1106db1e
2 changed files with 3 additions and 3 deletions
|
@ -163,7 +163,7 @@ Default Zephyr Peripheral Mapping:
|
|||
- UART_3 TX/RX : PB10/PB11
|
||||
- I2C_1 SCL/SDA : PB8/PB9 (Arduino I2C)
|
||||
- I2C_3 SCL/SDA : PC0/PC1
|
||||
- SPI_1 CS/SCK/MISO/MOSI : PA4/PB3/PA6/PA7 (Arduino SPI)
|
||||
- SPI_1 CS/SCK/MISO/MOSI : PB6/PA5/PA6/PA7 (Arduino SPI)
|
||||
- SPI_2 CS/SCK/MISO/MOSI : PB12/PB13/PB14/PB15
|
||||
- SPI_3 CS/SCK/MISO/MOSI : PA15/PC10/PC11/PC12
|
||||
- PWM_2_CH1 : PA0
|
||||
|
|
|
@ -117,8 +117,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