In order to try with lower SDIO frequency to identify problem, need to config SDIO clock frequency, is it configurable in DTS file? did not find such a option.
Change am33xx-clcok.dtsi mmc_clk clock-div from 2 to 4 can change MMC_CLK, but it result in wifi module can't be recognized. Is this mmc_clk stands for PRCM output clock, not the MMC clock pin.
mmc_clk: mmc_clk {
#clock-cells = <0>;
compatible = "fixed-factor-clock";
clocks = <&dpll_per_m2_ck>;
clock-mult = <1>;
clock-div = <2>;
};
I think it should configure SD_SYSCTL[CLKD] to get different frequency MMC_CLK. how to change it from DTS?