2024-07-15 05:28 AM - last edited on 2024-07-15 06:24 AM by SofLit
Hi Team,
In the DTS node property mwifiex mentioned below, the default operating frequency is 25 MHz. I would like to update my SDMMC1 clock to 50 MHz and require assistance with configuring it accordingly. Could you please provide me with details or reference documents?
&sdmmc1 {
pinctrl-names = "default", "opendrain", "sleep";
pinctrl-0 = <&sdmmc1_pins_mx>;
pinctrl-1 = <&sdmmc1_opendrain_pins_mx>;
pinctrl-2 = <&sdmmc1_sleep_pins_mx>;
non-removable;
st,neg-edge;
bus-width = <4>;
vmmc-supply = <&scmi_vdd_sd>;
mmc-pwrseq = <&wifi_pwrseq>;
mmc-ddr-3_3v;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
mwifiex: mwifiex@1 {
compatible = "marvell,sd8978";
reg = <1>;
interrupt-parent = <&gpiof>;
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
//marvell,wakeup-pin = <3>; /* FIXME: check */
};
};
2024-07-16 12:34 AM
Hi,
please check if you add 'max-frequency' token.
maybe also check if SDMMC kernel clock is high enough (I think it should be twice as external clock)
https://wiki.st.com/stm32mpu/wiki/STM32MP13_clock_tree
Regards.