iMX6 PCIE range not found

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX6 PCIE range not found

ソリューションへジャンプ
1,364件の閲覧回数
randysilagi
Contributor II

I have a Sabre i.MX6 Solox board.  The PCIe bus fails with:

imx6q-pcie 8ffc000.pcie: phy link never came up
imx6q-pcie 8ffc000.pcie: DEBUG_R0: 0x00cb8300, DEBUG_R1: 0x08200000
imx6q-pcie 8ffc000.pcie: failed to initialize host: ret: -22

I have tracked this to pcie-designware.c::dw_pcie_host_init->of_pci_parse_bus_range(np, &pp->busn);

This function of_pci_parse_bus_range is looking for the "bus-range" property.  I assume that property is coming from one of the DTS files.  This version is comprised of 3 DTS included to create the one being used, imx6sx-sdb.dts.    None of the DTS files have any "bus-range".  I'm wondering if the "ranges" would from imx6sx.dtsi would work.  Maybe the property name is justed spelled wrong, again?

If anyone has any ideas about why the "bus-range" property can't be found please let me know.

Randy Silagi

ラベル(2)
0 件の賞賛
返信
1 解決策
932件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Randy

one can look at linux/Documentation/devicetree/bindings/pci/designware-pcie.txt

linux-2.6-imx.git - Freescale i.MX Linux Tree 

and try to add this property using example

linux-2.6-imx.git - Freescale i.MX Linux Tree 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

1 返信
933件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Randy

one can look at linux/Documentation/devicetree/bindings/pci/designware-pcie.txt

linux-2.6-imx.git - Freescale i.MX Linux Tree 

and try to add this property using example

linux-2.6-imx.git - Freescale i.MX Linux Tree 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------