cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gsingh14
Observer
Observer
786 Views
Registered: ‎03-15-2019

Petalinux Quad SPI

Hello everyone,

I'm working on a project that uses axi_quad_spi on PL side.But after importing hdf file into petalinux and using petalinux-config -c kernel, i'm not able to see Xilinx quad spi option there? I'm only able to see GQSPI?

Any recomendations?Screenshot from 2019-10-29 11-21-37.png

0 Kudos
3 Replies
pawelzz
Contributor
Contributor
756 Views
Registered: ‎05-16-2018

Hi!

"Xilinx SPI controller common module" is what you need. You have already selected it.

Paweł

gsingh14
Observer
Observer
736 Views
Registered: ‎03-15-2019

Hi @pawelzz Thanks. Do I also have to enable GQSPI? Another question whats the difference between QSPI AND GQSPI?

Also Can any one look at my device tree?

&amba{
    axi_quad_spi_0:axi_quad_spi_0@b0000000 {
                        compatible = "xlnx,axi-quad-spi-3.2""xlnx,xps-spi-2.00.a";
                        reg = <0xb0000000 0x10000>;
                        interrupt-parent = <&axi_intc>;
                        interrupts = <1 0>;
                        xlnx,instance = "axi_quad_spi_inst";
                        xlnx,num-ss-bits = <0x1>;
                        xlnx,spi-mode = <0x0>;
                        xlnx,sub-family = "zynq";
                        #address-cells = <1>;
                        #size-cells = <0>;is-dual = <0>;
                        spidev0:spidev@0 {
                                  compatible = "spidev";
                                  reg = <0x0>;
                                  spi-max-frequency = <781250>;
                      };
    };
};
0 Kudos
gudishak
Moderator
Moderator
645 Views
Registered: ‎06-27-2017

Hi @gsingh14 

Xilinx ZynqMP GQSPI driver is for PS QSPI hard controller.d

Xilinx SPI controller driver is for AXI-QSPI IP which supports both 1x and 4x.

What is the issue you are observing once boot your system?

 

Best Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.
0 Kudos