@@ -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{
@@ -393,6 +400,28 @@ int pinctrl_configure_pins(const pinctrl_soc_pin_t *pins, uint8_t pin_cnt,
393400 input = NRF_GPIO_PIN_INPUT_DISCONNECT ;
394401 break ;
395402#endif /* DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_exmif) */
403+ #if defined(CONFIG_SOC_NRF54L15_CPUAPP )
404+ #if DT_HAS_COMPAT_STATUS_OKAY (nordic_nrfe_mspi_controller )
405+ case NRF_FUN_SDP_MSPI_CS0 :
406+ case NRF_FUN_SDP_MSPI_CS1 :
407+ case NRF_FUN_SDP_MSPI_CS2 :
408+ case NRF_FUN_SDP_MSPI_CS3 :
409+ case NRF_FUN_SDP_MSPI_CS4 :
410+ case NRF_FUN_SDP_MSPI_SCK :
411+ case NRF_FUN_SDP_MSPI_DQ0 :
412+ case NRF_FUN_SDP_MSPI_DQ1 :
413+ case NRF_FUN_SDP_MSPI_DQ2 :
414+ case NRF_FUN_SDP_MSPI_DQ3 :
415+ case NRF_FUN_SDP_MSPI_DQ4 :
416+ case NRF_FUN_SDP_MSPI_DQ5 :
417+ case NRF_FUN_SDP_MSPI_DQ6 :
418+ case NRF_FUN_SDP_MSPI_DQ7 :
419+ NRF_PSEL_SDP_MSPI (psel );
420+ dir = NRF_GPIO_PIN_DIR_OUTPUT ;
421+ input = NRF_GPIO_PIN_INPUT_CONNECT ;
422+ break ;
423+ #endif /* DT_HAS_COMPAT_STATUS_OKAY(nordic_nrfe_mspi_controller) */
424+ #endif /* CONFIG_SOC_NRF54L15_CPUAPP */
396425 default :
397426 return - ENOTSUP ;
398427 }
0 commit comments