页次: 1
帮我配置设备树,让 SDIO wifi 模块开始工作。
WIFI模块RTL8189FTV通过SDIO连接到NT98562处理器。内核版本 4.19。设备树如下所示:
mmc0: mmc@f0420000 {
兼容=“nvt,nvt_mmc”;
注册=<0xf04200000x1000>;
中断 = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
最大频率 = <48000000>;
电压开关 = <0>;
最大电压 = <3300>;
总线宽度 = <4>;
负样本边缘 = <0>;
驾驶 = <15 15 15 20 15 15 25 25 25 25 25 25>;
cd_gpio = <C_GPIO(9) GPIO_FALLING_EDGE GPIO_POLLING>;
/*card_power_gpio = <P_GPIO(0) GPIO_LOW>;*/
/*ro_gpio = <D_GPIO(1) GPIO_RISING_EDGE GPIO_POLLING>;*/
/*power_en = <D_GPIO(2) GPIO_RISING_EDGE>;*/
};
mmc1:mmc@f0500000 {
兼容=“nvt,nvt_mmc2”;
注册=<0xf05000000x1000>;
中断 = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
最大频率 = <48000000>;
电压开关 = <0>;
最大电压 = <3300>;
总线宽度 = <4>;
负样本边缘 = <0>;
驾驶 = <15 8 8 20 8 8 20 8 8 20 8 8>;
cd_gpio = <0 GPIO_FALLING_EDGE GPIO_INTERRUPT>;
/*ro_gpio = <D_GPIO(3) GPIO_RISING_EDGE GPIO_POLLING>;*/
/*power_en = <D_GPIO(4) GPIO_RISING_EDGE>;*/
/*status="禁用";*/
};
启动后出现错误:nvt_mmc f0500000.mmc: no support for card's volts
mmc1:初始化 SDIO 卡时出现错误 -22
如何检查我的 wifi 模块是否看到 SDIO 端口?
页次: 1