imx7d PCIe configuration registers

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

imx7d PCIe configuration registers

1,330 Views
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.

Tags (2)
0 Kudos
Reply
3 Replies

1,182 Views
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 Kudos
Reply

1,182 Views
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 Kudos
Reply

1,182 Views
igorpadykov
NXP Employee
NXP Employee

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

Best regards
igor

0 Kudos
Reply