imx7d PCIe configuration registers

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx7d PCIe configuration registers

1,338 次查看
dmitrykinev
Contributor I

Could someone please explain the difference between regiters used in the linux kernel starting at address 0x33800000 and registers decribed in the imx7d Reference Manual (at address 0x306d0000)? Why are the regs at 0x33800000 used instead of regs at 0x306d0000? I also can't find a description for regs at 0x33800000.

Thanks in advance.

标记 (2)
0 项奖励
回复
3 回复数

1,190 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Dmitry

linux uses address mapping, only i.MX7D PCIe register descriptions are given

in Reference Manual.

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

Best regards
igor

0 项奖励
回复

1,190 次查看
dmitrykinev
Contributor I

Do you mean that the regs at 0x33800000 are all the same as (just a memory map of) the regs at 0x306d0000?

PS: 0x33800000 - I got it from the imx7d.dtsi file. From the drivers\pci\host\pci-imx6.c I can see the base address is something like 0xc01d0000 (the value of pp->dbi_base)

0 项奖励
回复

1,190 次查看
igorpadykov
NXP Employee
NXP Employee

seems these registers are the same as for i.MX6Q PCIe dtsi 0x1000000

Best regards
igor

0 项奖励
回复