diff --git a/boards/arm/nucleo_f412zg/doc/index.rst b/boards/arm/nucleo_f412zg/doc/index.rst index 37a786f643d..c67e8d29f5d 100644 --- a/boards/arm/nucleo_f412zg/doc/index.rst +++ b/boards/arm/nucleo_f412zg/doc/index.rst @@ -133,7 +133,7 @@ Default Zephyr Peripheral Mapping: - UART_3 TX/RX : PD8/PD9 (ST-Link Virtual Port Com) - UART_6 TX/RX : PG14/PG9 (Arduino Serial) - I2C1 SCL/SDA : PB8/PB9 (Arduino I2C) -- SPI1 NSS/SCK/MISO/MOSI : PA4/PA5/PA6/PA7 (Arduino SPI) +- SPI1 NSS/SCK/MISO/MOSI : PD14/PA5/PA6/PA7 (Arduino SPI) - PWM_2_CH1 : PA0 - USER_PB : PC13 - LD1 : PB0 diff --git a/boards/arm/nucleo_f412zg/nucleo_f412zg.dts b/boards/arm/nucleo_f412zg/nucleo_f412zg.dts index 6c4bad47bfe..7be09a6bac8 100644 --- a/boards/arm/nucleo_f412zg/nucleo_f412zg.dts +++ b/boards/arm/nucleo_f412zg/nucleo_f412zg.dts @@ -94,8 +94,8 @@ }; &spi1 { - pinctrl-0 = <&spi1_nss_pa4 &spi1_sck_pa5 - &spi1_miso_pa6 &spi1_mosi_pa7>; + pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pa7>; + cs-gpios = <&gpiod 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; status = "okay"; };