1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc-child.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: device tree bindings for children of the Texas Instruments GPMC
10 - Tony Lindgren <tony@atomide.com>
11 - Roger Quadros <rogerq@kernel.org>
14 This binding is meant for the child nodes of the GPMC node. The node
15 represents any device connected to the GPMC bus. It may be a Flash chip,
16 RAM chip or Ethernet controller, etc. These properties are meant for
17 configuring the GPMC settings/timings and will accompany the bindings
18 supported by the respective device.
23 # GPMC Timing properties for child nodes. All are optional and default to 0.
25 description: Minimum clock period for synchronous mode
28 # Chip-select signal timings corresponding to GPMC_CONFIG2:
30 description: Assertion time
34 description: Read deassertion time
38 description: Write deassertion time
41 # ADV signal timings corresponding to GPMC_CONFIG3:
43 description: Assertion time
47 description: Read deassertion time
51 description: Write deassertion time
54 gpmc,adv-aad-mux-on-ns:
55 description: Assertion time for AAD
58 gpmc,adv-aad-mux-rd-off-ns:
59 description: Read deassertion time for AAD
62 gpmc,adv-aad-mux-wr-off-ns:
63 description: Write deassertion time for AAD
66 # WE signals timings corresponding to GPMC_CONFIG4:
68 description: Assertion time
72 description: Deassertion time
75 # OE signals timings corresponding to GPMC_CONFIG4:
77 description: Assertion time
81 description: Deassertion time
84 gpmc,oe-aad-mux-on-ns:
85 description: Assertion time for AAD
88 gpmc,oe-aad-mux-off-ns:
89 description: Deassertion time for AAD
92 # Access time and cycle time timings (in nanoseconds) corresponding to
94 gpmc,page-burst-access-ns:
95 description: Multiple access word delay
99 description: Start-cycle to first data valid delay
103 description: Total read cycle time
107 description: Total write cycle time
110 gpmc,bus-turnaround-ns:
111 description: Turn-around time between successive accesses
114 gpmc,cycle2cycle-delay-ns:
115 description: Delay between chip-select pulses
118 gpmc,clk-activation-ns:
119 description: GPMC clock activation time
122 gpmc,wait-monitoring-ns:
123 description: Start of wait monitoring with regard to valid data
126 # Boolean timing parameters. If property is present, parameter is enabled
127 # otherwise disabled.
128 gpmc,adv-extra-delay:
129 description: ADV signal is delayed by half GPMC clock
133 description: CS signal is delayed by half GPMC clock
136 gpmc,cycle2cycle-diffcsen:
138 Add "cycle2cycle-delay" between successive accesses
142 gpmc,cycle2cycle-samecsen:
144 Add "cycle2cycle-delay" between successive accesses
149 description: OE signal is delayed by half GPMC clock
153 description: WE signal is delayed by half GPMC clock
156 gpmc,time-para-granularity:
157 description: Multiply all access times by 2
160 # The following two properties are applicable only to OMAP3+ and AM335x:
163 In synchronous write mode, for single or
164 burst accesses, defines the number of
165 GPMC_FCLK cycles from start access time
166 to the GPMC_CLK rising edge used by the
167 memory device for the first data capture.
170 gpmc,wr-data-mux-bus-ns:
172 In address-data multiplex mode, specifies
173 the time when the first data is driven on
174 the address-data bus.
177 # GPMC chip-select settings properties for child nodes. All are optional.
179 description: Page/burst length.
180 $ref: /schemas/types.yaml#/definitions/uint32
185 description: Enables wrap bursting
189 description: Enables read page/burst mode
193 description: Enables write page/burst mode
198 Total width of device(s) connected to a GPMC
199 chip-select in bytes. The GPMC supports 8-bit
200 and 16-bit devices and so this property must be
202 $ref: /schemas/types.yaml#/definitions/uint32
208 Address and data multiplexing configuration.
210 0 for Non multiplexed mode
211 1 for address-address-data multiplexing mode and
212 2 for address-data multiplexing mode.
213 $ref: /schemas/types.yaml#/definitions/uint32
218 Enables synchronous read. Defaults to asynchronous
224 Enables synchronous writes. Defaults to asynchronous
230 Wait-pin used by client. Must be less than "gpmc,num-waitpins".
231 $ref: /schemas/types.yaml#/definitions/uint32
234 description: Enables wait monitoring on reads.
238 description: Enables wait monitoring on writes.
244 # the GPMC child will have its own native properties
245 additionalProperties: true