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