@@ -103,6 +103,13 @@ static const nrf_gpio_pin_drive_t drive_modes[NRF_DRIVE_COUNT] = {
103103#endif
104104#endif
105105
106+ #if defined(CONFIG_SOC_NRF54L15_CPUAPP )
107+ #if DT_HAS_COMPAT_STATUS_OKAY (nordic_nrfe_mspi_controller ) || defined(CONFIG_MSPI_NRFE )
108+ #define NRF_PSEL_SDP_MSPI (psel ) \
109+ nrf_gpio_pin_control_select(psel, NRF_GPIO_PIN_SEL_VPR);
110+ #endif
111+ #endif
112+
106113int pinctrl_configure_pins (const pinctrl_soc_pin_t * pins , uint8_t pin_cnt ,
107114 uintptr_t reg )
108115{
@@ -392,6 +399,28 @@ int pinctrl_configure_pins(const pinctrl_soc_pin_t *pins, uint8_t pin_cnt,
392399 input = NRF_GPIO_PIN_INPUT_DISCONNECT ;
393400 break ;
394401#endif /* DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_exmif) */
402+ #if defined(CONFIG_SOC_NRF54L15_CPUAPP )
403+ #if DT_HAS_COMPAT_STATUS_OKAY (nordic_nrfe_mspi_controller )
404+ case NRF_FUN_SDP_MSPI_CS0 :
405+ case NRF_FUN_SDP_MSPI_CS1 :
406+ case NRF_FUN_SDP_MSPI_CS2 :
407+ case NRF_FUN_SDP_MSPI_CS3 :
408+ case NRF_FUN_SDP_MSPI_CS4 :
409+ case NRF_FUN_SDP_MSPI_SCK :
410+ case NRF_FUN_SDP_MSPI_DQ0 :
411+ case NRF_FUN_SDP_MSPI_DQ1 :
412+ case NRF_FUN_SDP_MSPI_DQ2 :
413+ case NRF_FUN_SDP_MSPI_DQ3 :
414+ case NRF_FUN_SDP_MSPI_DQ4 :
415+ case NRF_FUN_SDP_MSPI_DQ5 :
416+ case NRF_FUN_SDP_MSPI_DQ6 :
417+ case NRF_FUN_SDP_MSPI_DQ7 :
418+ NRF_PSEL_SDP_MSPI (psel );
419+ dir = NRF_GPIO_PIN_DIR_OUTPUT ;
420+ input = NRF_GPIO_PIN_INPUT_CONNECT ;
421+ break ;
422+ #endif /* DT_HAS_COMPAT_STATUS_OKAY(nordic_nrfe_mspi_controller) */
423+ #endif /* CONFIG_SOC_NRF54L15_CPUAPP */
395424 default :
396425 return - ENOTSUP ;
397426 }
0 commit comments