面对信号干扰,在一些特殊需求或对sdio速度和wifi带宽有限制的情况下,需要软件上做控制 修改方法:修改sdio总线时钟频率 8mp设备树sdhc1节点添加关键字:no-1-8-v; &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_usdhc1_gpio>; pinctrl-1 = <&pinctrl_usdhc1_100mhz>, <&pinctrl_usdhc1_gpio>; pinctrl-2 = <&pinctrl_usdhc1_200mhz>, <&pinctrl_usdhc1_gpio>; bus-width = <4>; non-removable; no-1-8-v; status = "okay"; pm-ignore-notify; keep-power-in-suspend; /delete-property/ mmc-supply; mmc-pwrseq = <&usdhc1_pwrseq>; }; 修改效果: 修改前sdio时钟为200Mhz,修改后50Mhz wifi带宽:修改前实测239Mbit/sec,修改后121Mbit/sec |
|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )
GMT+8, 2024-11-24 22:01
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.