t113 xr829模块wifi使用sdc0初始化报错
-
rfkill: rfkill@0 {
compatible = "allwinner,sunxi-rfkill";
chip_en;
power_en;
pinctrl-0 = <&wlan_pins_a>;
pinctrl-names = "default";
status = "okay";wlan: wlan@0 { compatible = "allwinner,sunxi-wlan"; clock-names = "32k-fanout1"; clocks = <&ccu CLK_FANOUT1_OUT>; wlan_busnum = <0x0>; wlan_regon = <&pio PE 13 GPIO_ACTIVE_HIGH>; wlan_hostwake = <&pio PF 6 GPIO_ACTIVE_HIGH>; /*wlan_power = "VCC-3V3";*/ /*wlan_power_vol = <3300000>;*/ /*interrupt-parent = <&pio>; interrupts = < PG 10 IRQ_TYPE_LEVEL_HIGH>;*/ wakeup-source; status = "okay"; };
};
&sdc0 {
sdio-used-1v8;
bus-width = <4>;
no-mmc;
no-sd;
cap-sd-highspeed;
cap-sdio-irq;
keep-power-in-suspend;
ignore-pm-notify;
//max-frequency = <150000000>;
max-frequency = <25000000>;
ctl-spec-caps = <0x8>;
status = "okay";
};sdc0: sdmmc@4020000 { compatible = "allwinner,sunxi-mmc-v5p3x"; device_type = "sdc0"; reg = <0x0 0x04020000 0x0 0x1000>; interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; clocks = <&dcxo24M>, <&ccu CLK_PLL_PERIPH0_2X>, <&ccu CLK_MMC0>, <&ccu CLK_BUS_MMC0>; clock-names = "osc24m","pll_periph","mmc","ahb"; resets = <&ccu RST_BUS_MMC0>; reset-names = "rst"; pinctrl-names = "default","sleep"; pinctrl-0 = <&sdc0_pins_a>; pinctrl-1 = <&sdc0_pins_b>; max-frequency = <50000000>; bus-width = <4>; cap-sd-highspeed; no-mmc; keep-power-in-suspend; sunxi-dly-52M-ddr4 = <1 0 0 0 2>; sunxi-dly-104M = <1 0 0 0 1>; sunxi-dly-208M = <1 0 0 0 1>; status = "okay"; };
insmod xr829.ko
[24889.619313] ======== XRADIO WIFI OPEN ========
[24889.624888] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31
[24889.631741] [XRADIO] Allocated hw_priv @ c0c0523f
[24889.637038] [ADDR_MGT] get_addr_by_name: t->addr:
[24889.643040] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 0
[24889.659376] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[24889.866586] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[24889.877776] [XRADIO] Detect SDIO card 0
[24889.887415] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[24889.907589] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[24889.932678] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[24889.940370] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[24889.947248] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[24889.961893] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[24889.975691] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[24889.983275] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[24889.990857] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[24889.998437] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[24890.005214] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[24891.947372] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success
[24892.054663] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[24892.065853] [XRADIO] Remove SDIO card 0
[24892.077390] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[24892.080186] [SBUS_ERR] sdio probe timeout!
[24892.089651] [XRADIO_ERR] sbus_sdio_init failed
[24892.094911] xradio_core_init failed (-110)!
[24892.097339] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[24892.124718] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[24892.132428] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[24892.139339] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[24892.153989] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[24892.167796] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[24892.175384] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[24892.182975] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[24892.190570] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[24892.197352] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
failed to insert xr829.ko请问是哪里配置出错了
-
你好,请问问题解决了吗?我也遇到了这个问题。我的wifi模块是bw121,飞易通的。也是sdc0作为sdio.
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号