NXP QorIQ T4240 PCIE 64 bit descriptor not working

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

NXP QorIQ T4240 PCIE 64 bit descriptor not working

1,256 次查看
immbalu
Contributor II

Hello All,

I'm trying to use PCIe 64 bit descriptors and transfer data to processor DDR.

Here is the device tree I'm using 

	pci0: pcie@ffe240000 {
		reg = <0xf 0xfe240000 0 0x10000>;
		num-lanes = <8>;
		ranges = <0x03000000 0 0xa0000000 0xc 0x00000000 0x0 0x20000000
			  0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
		pcie@0 {
			ranges = <0x03000000 0 0xa0000000
				  0x02000000 0 0xa0000000
				  0 0x20000000

				  0x01000000 0 0x00000000
				  0x01000000 0 0x00000000
				  0 0x00010000>;
		};
	};

I am able to see the data in DDR offset when i use 32 bit ddr offset (Ex:0xDEC0_0000) in descriptors and when I change the address of DDR offset to 64 bit (Ex:0x1_0000_0000). PCIe bandwidth is showing that it is writing the data but i cant able to see data in the DDR. How to i use 64 bit descriptor address?

Thanks and regards,

Balaji.G

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