SDIO for ESPRESSIF on RZG2L

Hi everyone,

 I would need to use the SDIO peripheral on the pins listed below to drive the ESP32 module:

I'm using a Yocto Dunfell system and in the device tree I set the device like this:

&sdhi1 {
pinctrl-0 = <&sdhi1_pins>;
pinctrl-names = "default";
no-1-8-v;
broken-cd;
vmmc-supply = <&reg_3p3v>;
bus-width = <4>;
status = "okay";
};

where sdhi1_pins are:

sdhi1_pins: sd1 {
sd1_data {
pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3";
power-source = <3300>;
};

sd1_ctrl {
pins = "SD1_CLK", "SD1_CMD";
power-source = <3300>;
};

sd1_mux {
pinmux = <RZG2L_PORT_PINMUX(19, 0, 1)>; /* SD1_CD */
};
};

but when I launch the system I don't see the SDIO device in /dev/, I thought I could do a test with the command echo "test" > SDIO1 and see if anything came out on the SDIO data line. Is this feasible?

Thank you.

 

Parents Reply Children
No Data