Hi, i'm porting wifi/BT on my board.
The OS system is Linux+QT.
I'm using Yocto project of meta-fsl-arm layers and based on SABRE SD i.MX 6.
This is my config file.
https://gist.github.com/victorwangwinmate/a87f0a8a0cb0fb9185fd689031001f51
And here is the place i add my pcie.
arch/arm/boot/dts/imx6qdl-fa30-210.dtsi
&pcie {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcie>;
reset-gpio = <&gpio2 2 1>;
power-on-gpio = <&gpio4 5 1>;
status = "okay";
};
I defined my pinctrl_pcie in arch/arm/boot/dts/imx6qdl-fa3.dtsi
pinctrl_pcie: pciegrp {
fsl,pins = <
MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0 /*wifi_EN*/
MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0 /*PCIE_RST*/
>;
};
And now when i send `lspci` i can't see anything.
When i check my syslog it returns -19 from function "platform_driver_probe()" for me.
Error code -19 means "No such device".
How can i fix this?
By the way, i can identify my module through commend "lspci" on OS Android 6.0.
Hi Wang
one can try to debug function "platform_driver_probe()" using attached
Linux Manual Chapter 40 PCI Express Root Complex Driver and
AN4553 Using Open Source Debugging Tools for Linux on i.MX Processors
http://www.nxp.com/assets/documents/data/en/application-notes/AN4553.pdf
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Actually i found that my clock from cpu is not working.
CLK1_N and CLK1_P have no signal out.
IS that any possible that my dts file is not write in the right way?