i.MX6ULL (MYiR MYD-Y6ULL) WiFi Module Activation Problem for Linux v4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6ULL (MYiR MYD-Y6ULL) WiFi Module Activation Problem for Linux v4

Jump to solution
639 Views
firtina_hg
Contributor II

I have a problem with activation of WiFi module(AP6212) in my MYiR MYD-Y6ULL custom board. The problem is come up with Linux v4 , it is working(wlan0 can be seen) on Linux v5. 

This is my content of related "usdhc2" configuration on the DTS file; 

&usdhc2 {
    #address-cells = <1>;
    #size-cells = <0>;
pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_usdhc2_alt &pinctrl_wifi>;
bus-width = <4>;
no-1-8-v; // force 3.3V VIO
non-removable;
cd-post;
pm-ignore-notify;
wifi-host; // pull in card detect mechanism for BCMDHD driver
status = "okay";

    brcmf: bcrmf@1 {
        reg = <1>;
        compatible = "brcm,bcm4329-fmac";
    };

};

 

root@myd-y6ull14x14:~# dmesg | grep Br
[    0.041176] Brought up 1 CPUs
[    1.675947] Broadcom 43xx driver loaded [ Features: NS ]
[    1.680188] Broadcom 43xx-legacy driver loaded [ Features: ID ]

 

This is the output message from dmesg. 

And related sdhc info as below:
 
[    1.899337] sdhci: Secure Digital Host Controller Interface driver
[    1.904750] sdhci: Copyright(c) Pierre Ossman
[    1.907867] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.914407] /soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified
[    1.920386] sdhci-esdhc-imx 2190000.usdhc: could not get ultra high speed state, work on normal mode
[    1.928294] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[    1.933533] sdhci-esdhc-imx 2190000.usdhc: No vmmc regulator found
[    1.938446] sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found
[    1.991960] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
 
And this is the sdhc output. 
 
What could be the possible reason? 

 

Labels (2)
0 Kudos
1 Solution
511 Views
firtina_hg
Contributor II

It seems there is a file which is AP6212 related brcm43430-sdio.txt and bin files for the L4.1. We got it from AMPAK, problem solved. Thank you for the reply.

View solution in original post

0 Kudos
5 Replies
512 Views
firtina_hg
Contributor II

It seems there is a file which is AP6212 related brcm43430-sdio.txt and bin files for the L4.1. We got it from AMPAK, problem solved. Thank you for the reply.

0 Kudos
556 Views
firtina_hg
Contributor II

It seems there is an incompatibility with brcm sdio files(e.g. brcm43430-sdio.bin , brcm43430a0-sdio.bin , brcm43430-sdio.txt etc.), Is there any Linux v4.x version files for this sdio files? 

0 Kudos
570 Views
firtina_hg
Contributor II

[ 94.225259] brcmfmac: brcmf_of_probe: interrupt could not be mapped
[ 94.246239] brcmfmac: brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done for chip 43430 rev 1 pmurev 24
[ 94.460314] brcmfmac: brcmf_sdiod_intr_register: request_irq failed -22
[ 94.465664] brcmfmac: brcmf_sdio_firmware_callback: intr register failed:-22 ,

This is the kernel module output for brcmfmac.ko.

0 Kudos
602 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

The logs looks correct so I cannot say for sure what could be wrong. Also, I would suggest to contact your module vendor (broadcom) for further assistance on this.

 

Best regards,
Aldo.

0 Kudos
577 Views
firtina_hg
Contributor II

Thank you for your reply.

It works on v5 Linux so Broadcom couldnt help about the problem. Is there any example documents or DTS file content which works on v4 Linux for this module? 

Kindly regards.

0 Kudos