fsl-quadspi.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. * Freescale Quad Serial Peripheral Interface(QuadSPI)
  2. Required properties:
  3. - compatible : Should be "fsl,vf610-qspi", "fsl,imx6sx-qspi",
  4. "fsl,imx7d-qspi", "fsl,imx6ul-qspi"
  5. - reg : the first contains the register location and length,
  6. the second contains the memory mapping address and length
  7. - reg-names: Should contain the reg names "QuadSPI" and "QuadSPI-memory"
  8. - interrupts : Should contain the interrupt for the device
  9. - clocks : The clocks needed by the QuadSPI controller
  10. - clock-names : the name of the clocks
  11. Optional properties:
  12. - fsl,qspi-has-second-chip: The controller has two buses, bus A and bus B.
  13. Each bus can be connected with two NOR flashes.
  14. Most of the time, each bus only has one NOR flash
  15. connected, this is the default case.
  16. But if there are two NOR flashes connected to the
  17. bus, you should enable this property.
  18. (Please check the board's schematic.)
  19. Example:
  20. qspi0: quadspi@40044000 {
  21. compatible = "fsl,vf610-qspi";
  22. reg = <0x40044000 0x1000>, <0x20000000 0x10000000>;
  23. reg-names = "QuadSPI", "QuadSPI-memory";
  24. interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
  25. clocks = <&clks VF610_CLK_QSPI0_EN>,
  26. <&clks VF610_CLK_QSPI0>;
  27. clock-names = "qspi_en", "qspi";
  28. flash0: s25fl128s@0 {
  29. ....
  30. };
  31. };