drivers: memc: memc_mcux_flexspi: support diff RX clock source on port B

Some instances of the FlexSPI IP support a different clock source being
used for port B of the FlexSPI instance. Add a devicetree property and
driver support to enable configuring this property of the hardware.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2024-03-22 16:56:46 +00:00 committed by Maureen Helm
commit 88802acf78
2 changed files with 43 additions and 0 deletions

View file

@ -61,6 +61,19 @@ properties:
Source clock for flash read. See the RXCLKSRC field in register MCR0.
The default corresponds to the reset value of the register field.
rx-clock-source-b:
type: int
default: 0
enum:
- 0 # Loopback internally
- 1 # Loopback from DQS pad
- 2 # Loopback from SCK pad
- 3 # External input from DQS pad
description: |
Source clock for flash read on port B. Only supported by some instances
of this IP. See the RXCLKSRC_B field in register MCR2.
The default corresponds to the reset value of the register field.
rx-buffer-config:
type: array
description: |