cancel
Showing results for 
Search instead for 
Did you mean: 

QSPI Initialization Issue on STM32MP135F-DK Board

Detrois
Associate

Hi all,

We are currently trying to add a QSPI device to the STM32MP135F-DK board. Using STM32CubeMX, we selected PB2, PF8, PF9, and PF10 as the QSPI pins and generated the Device Tree accordingly. We then built the image using openstlinux-6.1-yocto-mickledore-mpu-v24.06.26.

However, the QSPI initialization failed, and we encountered the following messages during boot:

[ 0.623919] stm32mp135-pinctrl soc:pinctrl@50002000: Can't access gpio 88
[ 0.623944] stm32mp135-pinctrl soc:pinctrl@50002000: request() failed for pin 88
[ 0.623953] stm32mp135-pinctrl soc:pinctrl@50002000: pin-88 (58003000.spi) status -13
[ 0.623964] stm32mp135-pinctrl soc:pinctrl@50002000: could not request pin 88 (PF8) from group PF8 on device soc:pinctrl@50002000
[ 0.623974] stm32-qspi 58003000.spi: Error applying setting, reverse things back
Additional information: We are using SD boot. To address the absence of PWR_WKUP caused by the reassignment of PF8, we replaced it with PI3.

1 ACCEPTED SOLUTION

Accepted Solutions
Detrois
Associate
1 REPLY 1
Detrois
Associate

The problem has been solved, please refer to https://wiki.st.com/stm32mpu/wiki/How_to_configure_PWR_Wake-up_pins.