mmc-spi error on STM32MP135-DK
We are using STM32MP135-DK and we connect to SPI5 an SD Card Adapter.
We modified the device tree as follows to use the mmc-spi-slot driver:
&spi5{
pinctrl-names = "default", "sleep";
pinctrl-0 = <&spi5_pins_mx>;
pinctrl-1 = <&spi5_sleep_pins_mx>;
status = "okay";
/* USER CODE BEGIN spi5 */
spisdcard@0 {
compatible = "mmc-spi-slot";
reg = <0>;
gpios = <&gpiog 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
voltage-ranges = <3300 3300>;
spi-max-frequency = <2400000>;
status = "okay";
disable-wp;
};
/* USER CODE END spi5 */
};

Could you help me to find what is wrong? We checked all the wiring and it is correct.
