AnsweredAssumed Answered

How to porting pcie wifi (Bcm 4356)? at android 5.1

Question asked by warren jan on Mar 22, 2017
Latest reply on Apr 8, 2017 by warren jan

HI  all 

I'm trying to get a custom board, based on iMX6Q SoC, to bring up the PCIe link connected to a BCM4356.

my buid environment is Android5.1.1_2.1.0-ga 

and at kernel menuconfig .  i set

BUS support -----> [*]PCI support

                     ------>PCI host controller drive                     

                     ------>[*]Freescale i.MX6 PCIe controller.

Device Drivers---->[*]Network device support

                     ------->[*]Wireless LAN

                     -------><*> Broadcom FullMAC wireless cards support 

                      (/system/etc/firmware/bcm/fw_bcmdhd.bin) Firmware path

                      (/system/etc/firmware/bcm/nvram.txt) NVRAM path

                       Enable Chip interface (PCIe bus interface support)

 

and at kernel device tree

i add

pinctrl_pcie: pciegrp {
fsl,pins = <
MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x1b0b0
MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x1b0b0
>;
};

 

&pcie {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcie>;
//disable-gpio = <&gpio5 15 GPIO_ACTIVE_LOW>; //hw alway-high
power-on-gpio = <&gpio4 10 GPIO_ACTIVE_LOW>;
reset-gpio = <&gpio4 9 GPIO_ACTIVE_LOW>;
status = "okay";
};

 but  the log show imx6q-pcie : probe  failed with error -16

 No Broadcom PCI device enumerated!

 

Can somebody help me??

Outcomes