@@ -108,6 +108,13 @@ static const nrf_gpio_pin_drive_t drive_modes[NRF_DRIVE_COUNT] = {
108108#endif
109109#endif
110110
111+ #if defined(CONFIG_SOC_NRF54L15_CPUAPP )
112+ #if DT_HAS_COMPAT_STATUS_OKAY (nordic_nrfe_mspi_controller ) || defined(CONFIG_MSPI_NRFE )
113+ #define NRF_PSEL_SDP_MSPI (psel ) \
114+ nrf_gpio_pin_control_select(psel, NRF_GPIO_PIN_SEL_VPR);
115+ #endif
116+ #endif
117+
111118int pinctrl_configure_pins (const pinctrl_soc_pin_t * pins , uint8_t pin_cnt ,
112119 uintptr_t reg )
113120{
@@ -420,6 +427,28 @@ int pinctrl_configure_pins(const pinctrl_soc_pin_t *pins, uint8_t pin_cnt,
420427 input = NRF_GPIO_PIN_INPUT_CONNECT ;
421428 break ;
422429#endif /* defined(NRF_PSEL_TWIS) */
430+ #if defined(CONFIG_SOC_NRF54L15_CPUAPP )
431+ #if DT_HAS_COMPAT_STATUS_OKAY (nordic_nrfe_mspi_controller )
432+ case NRF_FUN_SDP_MSPI_CS0 :
433+ case NRF_FUN_SDP_MSPI_CS1 :
434+ case NRF_FUN_SDP_MSPI_CS2 :
435+ case NRF_FUN_SDP_MSPI_CS3 :
436+ case NRF_FUN_SDP_MSPI_CS4 :
437+ case NRF_FUN_SDP_MSPI_SCK :
438+ case NRF_FUN_SDP_MSPI_DQ0 :
439+ case NRF_FUN_SDP_MSPI_DQ1 :
440+ case NRF_FUN_SDP_MSPI_DQ2 :
441+ case NRF_FUN_SDP_MSPI_DQ3 :
442+ case NRF_FUN_SDP_MSPI_DQ4 :
443+ case NRF_FUN_SDP_MSPI_DQ5 :
444+ case NRF_FUN_SDP_MSPI_DQ6 :
445+ case NRF_FUN_SDP_MSPI_DQ7 :
446+ NRF_PSEL_SDP_MSPI (psel );
447+ dir = NRF_GPIO_PIN_DIR_OUTPUT ;
448+ input = NRF_GPIO_PIN_INPUT_CONNECT ;
449+ break ;
450+ #endif /* DT_HAS_COMPAT_STATUS_OKAY(nordic_nrfe_mspi_controller) */
451+ #endif /* CONFIG_SOC_NRF54L15_CPUAPP */
423452 default :
424453 return - ENOTSUP ;
425454 }
0 commit comments