imx6q uses EIM bus to read fpga

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

imx6q uses EIM bus to read fpga

408 Views
yacheng_zhang
Contributor I

hi,

 i am testing im6q to read my fpga with device-tree way.i have some question.

1.how to set cs0 and cs1 at same time in device-tree.if i set cs0 and cs1 with MX6QDL_PAD_EIM_CS0__EIM_CS0_B 0xb0b1,How does the kernel know I'm using CS0,

2.how to iomap fpga addr

can you give me some example code with device-tree to learn and solve this problem.thank you.

0 Kudos
1 Reply

404 Views
igorpadykov
NXP Employee
NXP Employee

Hi 亚成

 

for chip selects one can refer to sect.22.4 Chip Select Memory Map

i.MX 6Dual/6Quad Applications Processor Reference Manual

dts example and iomap in sect.3.2 EIM NOR  i.MX Linux Reference Manual​

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi?h...

 

Best regards
igor

0 Kudos