dts: bindings: ospi: add ospim io ports

Adds properties to configure OCTOSPI IO
Manager data lines. That allows to use
any `IOLowPort` and `IOHightPort`.

Note: OSPIM requires additional clock to be enabled.
      Please refer to Reference Manual.
      Extra clock can be enabled in devicetree.

Signed-off-by: Georgij Cernysiov <geo.cgv@gmail.com>
This commit is contained in:
Georgij Cernysiov 2023-04-13 16:10:09 +02:00 committed by Carles Cufí
commit 5cde75688e

View file

@ -81,3 +81,41 @@ properties:
Enables Sample Shifting half-cycle.
It is recommended to be enabled in STR mode and disabled in DTR mode.
io-low-port:
type: string
enum:
- "IOPORT_NONE"
- "IOPORT_1_LOW"
- "IOPORT_1_HIGH"
- "IOPORT_2_LOW"
- "IOPORT_2_HIGH"
description: |
Specifies which port of the OCTOSPI IO Manager is used for the IO[3:0] pins.
If absent, then `IOPORT_<n>_LOW` is used where `n` is the OSPI
instance number.
Note: You might need to enable the OCTOSPI I/O manager clock to use the
property. Please refer to Reference Manual.
The clock can be enabled in the devicetree.
io-high-port:
type: string
enum:
- "IOPORT_NONE"
- "IOPORT_1_LOW"
- "IOPORT_1_HIGH"
- "IOPORT_2_LOW"
- "IOPORT_2_HIGH"
description: |
Specifies which port of the OCTOSPI IO Manager is used for the IO[7:4] pins.
If absent, then `IOPORT_<n>_HIGH` is used where `n` is the OSPI
instance number.
Can be set to `IOPORT_NONE` for Single SPI, Dual SPI and Quad SPI.
Note: You might need to enable the OCTOSPI I/O manager clock to use the
property. Please refer to Reference Manual.
The clock can be enabled in the devicetree.