altera_qspi.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Altera QUADSPI driver
  2. Required properties:
  3. - compatible: Should be "altr,quadspi-1.0"
  4. - reg: Address and length of the register set for the device. It contains
  5. the information of registers in the same order as described by reg-names
  6. - reg-names: Should contain the reg names
  7. "avl_csr": Should contain the register configuration base address
  8. "avl_mem": Should contain the data base address
  9. - #address-cells: Must be <1>.
  10. - #size-cells: Must be <0>.
  11. - flash device tree subnode, there must be a node with the following fields:
  12. - compatible: Should contain the flash name:
  13. 1. EPCS: epcs16, epcs64, epcs128
  14. 2. EPCQ: epcq16, epcq32, epcq64, epcq128, epcq256, epcq512, epcq1024
  15. 3. EPCQ-L: epcql256, epcql512, epcql1024
  16. - #address-cells: please refer to /mtd/partition.txt
  17. - #size-cells: please refer to /mtd/partition.txt
  18. For partitions inside each flash, please refer to /mtd/partition.txt
  19. Example:
  20. quadspi_controller_0: quadspi@0x180014a0 {
  21. compatible = "altr,quadspi-1.0";
  22. reg = <0x180014a0 0x00000020>,
  23. <0x14000000 0x04000000>;
  24. reg-names = "avl_csr", "avl_mem";
  25. #address-cells = <1>;
  26. #size-cells = <0>;
  27. flash0: epcq512@0 {
  28. compatible = "altr,epcq512";
  29. #address-cells = <1>;
  30. #size-cells = <1>;
  31. };
  32. };