st,stm32-fmc2-ebi-props.yaml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi-props.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Peripheral properties for ST FMC2 Controller
  7. maintainers:
  8. - Christophe Kerello <christophe.kerello@foss.st.com>
  9. - Marek Vasut <marex@denx.de>
  10. properties:
  11. st,fmc2-ebi-cs-transaction-type:
  12. description: |
  13. Select one of the transactions type supported
  14. 0: Asynchronous mode 1 SRAM/FRAM.
  15. 1: Asynchronous mode 1 PSRAM.
  16. 2: Asynchronous mode A SRAM/FRAM.
  17. 3: Asynchronous mode A PSRAM.
  18. 4: Asynchronous mode 2 NOR.
  19. 5: Asynchronous mode B NOR.
  20. 6: Asynchronous mode C NOR.
  21. 7: Asynchronous mode D NOR.
  22. 8: Synchronous read synchronous write PSRAM.
  23. 9: Synchronous read asynchronous write PSRAM.
  24. 10: Synchronous read synchronous write NOR.
  25. 11: Synchronous read asynchronous write NOR.
  26. $ref: /schemas/types.yaml#/definitions/uint32
  27. minimum: 0
  28. maximum: 11
  29. st,fmc2-ebi-cs-cclk-enable:
  30. description: Continuous clock enable (first bank must be configured
  31. in synchronous mode). The FMC_CLK is generated continuously
  32. during asynchronous and synchronous access. By default, the
  33. FMC_CLK is only generated during synchronous access.
  34. $ref: /schemas/types.yaml#/definitions/flag
  35. st,fmc2-ebi-cs-mux-enable:
  36. description: Address/Data multiplexed on databus (valid only with
  37. NOR and PSRAM transactions type). By default, Address/Data
  38. are not multiplexed.
  39. $ref: /schemas/types.yaml#/definitions/flag
  40. st,fmc2-ebi-cs-buswidth:
  41. description: Data bus width
  42. $ref: /schemas/types.yaml#/definitions/uint32
  43. enum: [ 8, 16 ]
  44. default: 16
  45. st,fmc2-ebi-cs-waitpol-high:
  46. description: Wait signal polarity (NWAIT signal active high).
  47. By default, NWAIT is active low.
  48. $ref: /schemas/types.yaml#/definitions/flag
  49. st,fmc2-ebi-cs-waitcfg-enable:
  50. description: The NWAIT signal indicates wheither the data from the
  51. device are valid or if a wait state must be inserted when accessing
  52. the device in synchronous mode. By default, the NWAIT signal is
  53. active one data cycle before wait state.
  54. $ref: /schemas/types.yaml#/definitions/flag
  55. st,fmc2-ebi-cs-wait-enable:
  56. description: The NWAIT signal is enabled (its level is taken into
  57. account after the programmed latency period to insert wait states
  58. if asserted). By default, the NWAIT signal is disabled.
  59. $ref: /schemas/types.yaml#/definitions/flag
  60. st,fmc2-ebi-cs-asyncwait-enable:
  61. description: The NWAIT signal is taken into account during asynchronous
  62. transactions. By default, the NWAIT signal is not taken into account
  63. during asynchronous transactions.
  64. $ref: /schemas/types.yaml#/definitions/flag
  65. st,fmc2-ebi-cs-cpsize:
  66. description: CRAM page size. The controller splits the burst access
  67. when the memory page is reached. By default, no burst split when
  68. crossing page boundary.
  69. $ref: /schemas/types.yaml#/definitions/uint32
  70. enum: [ 0, 128, 256, 512, 1024 ]
  71. default: 0
  72. st,fmc2-ebi-cs-byte-lane-setup-ns:
  73. description: This property configures the byte lane setup timing
  74. defined in nanoseconds from NBLx low to Chip Select NEx low.
  75. st,fmc2-ebi-cs-address-setup-ns:
  76. description: This property defines the duration of the address setup
  77. phase in nanoseconds used for asynchronous read/write transactions.
  78. st,fmc2-ebi-cs-address-hold-ns:
  79. description: This property defines the duration of the address hold
  80. phase in nanoseconds used for asynchronous multiplexed read/write
  81. transactions.
  82. st,fmc2-ebi-cs-data-setup-ns:
  83. description: This property defines the duration of the data setup phase
  84. in nanoseconds used for asynchronous read/write transactions.
  85. st,fmc2-ebi-cs-bus-turnaround-ns:
  86. description: This property defines the delay in nanoseconds between the
  87. end of current read/write transaction and the next transaction.
  88. st,fmc2-ebi-cs-data-hold-ns:
  89. description: This property defines the duration of the data hold phase
  90. in nanoseconds used for asynchronous read/write transactions.
  91. st,fmc2-ebi-cs-clk-period-ns:
  92. description: This property defines the FMC_CLK output signal period in
  93. nanoseconds.
  94. st,fmc2-ebi-cs-data-latency-ns:
  95. description: This property defines the data latency before reading or
  96. writing the first data in nanoseconds.
  97. st,fmc2-ebi-cs-write-address-setup-ns:
  98. description: This property defines the duration of the address setup
  99. phase in nanoseconds used for asynchronous write transactions.
  100. st,fmc2-ebi-cs-write-address-hold-ns:
  101. description: This property defines the duration of the address hold
  102. phase in nanoseconds used for asynchronous multiplexed write
  103. transactions.
  104. st,fmc2-ebi-cs-write-data-setup-ns:
  105. description: This property defines the duration of the data setup
  106. phase in nanoseconds used for asynchronous write transactions.
  107. st,fmc2-ebi-cs-write-bus-turnaround-ns:
  108. description: This property defines the delay between the end of current
  109. write transaction and the next transaction in nanoseconds.
  110. st,fmc2-ebi-cs-write-data-hold-ns:
  111. description: This property defines the duration of the data hold phase
  112. in nanoseconds used for asynchronous write transactions.
  113. st,fmc2-ebi-cs-max-low-pulse-ns:
  114. description: This property defines the maximum chip select low pulse
  115. duration in nanoseconds for synchronous transactions. When this timing
  116. reaches 0, the controller splits the current access, toggles NE to
  117. allow device refresh and restarts a new access.
  118. additionalProperties: true