diff options
| author | Jon Hunter <jon-hunter@ti.com> | 2013-02-20 16:53:12 -0500 |
|---|---|---|
| committer | Jon Hunter <jon-hunter@ti.com> | 2013-04-01 15:53:45 -0400 |
| commit | 8c8a77712756edcef9298444868537af42334fc0 (patch) | |
| tree | 3be80581884b41e8925ea66644aea4dcfdd311f7 /Documentation/devicetree/bindings/bus | |
| parent | 3a544354d5b6e97459ba9c15e9d89dac60023553 (diff) | |
ARM: OMAP2+: Add function to read GPMC settings from device-tree
Adds a function to read the various GPMC chip-select settings from
device-tree and store them in the gpmc_settings structure.
Update the GPMC device-tree binding documentation to describe these
options.
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Diffstat (limited to 'Documentation/devicetree/bindings/bus')
| -rw-r--r-- | Documentation/devicetree/bindings/bus/ti-gpmc.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/bus/ti-gpmc.txt b/Documentation/devicetree/bindings/bus/ti-gpmc.txt index 5ddb2e9efaaa..6fde1cfe51f8 100644 --- a/Documentation/devicetree/bindings/bus/ti-gpmc.txt +++ b/Documentation/devicetree/bindings/bus/ti-gpmc.txt | |||
| @@ -65,6 +65,29 @@ The following are only applicable to OMAP3+ and AM335x: | |||
| 65 | - gpmc,wr-access | 65 | - gpmc,wr-access |
| 66 | - gpmc,wr-data-mux-bus | 66 | - gpmc,wr-data-mux-bus |
| 67 | 67 | ||
| 68 | GPMC chip-select settings properties for child nodes. All are optional. | ||
| 69 | |||
| 70 | - gpmc,burst-length Page/burst length. Must be 4, 8 or 16. | ||
| 71 | - gpmc,burst-wrap Enables wrap bursting | ||
| 72 | - gpmc,burst-read Enables read page/burst mode | ||
| 73 | - gpmc,burst-write Enables write page/burst mode | ||
| 74 | - gpmc,device-nand Device is NAND | ||
| 75 | - gpmc,device-width Total width of device(s) connected to a GPMC | ||
| 76 | chip-select in bytes. The GPMC supports 8-bit | ||
| 77 | and 16-bit devices and so this property must be | ||
| 78 | 1 or 2. | ||
| 79 | - gpmc,mux-add-data Address and data multiplexing configuration. | ||
| 80 | Valid values are 1 for address-address-data | ||
| 81 | multiplexing mode and 2 for address-data | ||
| 82 | multiplexing mode. | ||
| 83 | - gpmc,sync-read Enables synchronous read. Defaults to asynchronous | ||
| 84 | is this is not set. | ||
| 85 | - gpmc,sync-write Enables synchronous writes. Defaults to asynchronous | ||
| 86 | is this is not set. | ||
| 87 | - gpmc,wait-pin Wait-pin used by client. Must be less than | ||
| 88 | "gpmc,num-waitpins". | ||
| 89 | - gpmc,wait-on-read Enables wait monitoring on reads. | ||
| 90 | - gpmc,wait-on-write Enables wait monitoring on writes. | ||
| 68 | 91 | ||
| 69 | Example for an AM33xx board: | 92 | Example for an AM33xx board: |
| 70 | 93 | ||
