boards: nxp: rd_rw612_bga: add support for IS66 PSRAM

Add support for IS66WVQ8M quadspi PSRAM on the RW612 BGA board, and
update board pin control to enable muxing PSRAM pins on the FlexSPI.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2024-03-22 17:01:11 +00:00 committed by Maureen Helm
commit f63baf6044
3 changed files with 37 additions and 1 deletions

View file

@ -45,7 +45,7 @@ Supported Features
+-----------+------------+-----------------------------------+
| I2C | on-chip | i2c |
+-----------+------------+-----------------------------------+
| FLEXSPI | on-chip | flash |
| FLEXSPI | on-chip | flash/memc |
+-----------+------------+-----------------------------------+
| TRNG | on-chip | entropy |
+-----------+------------+-----------------------------------+

View file

@ -70,5 +70,21 @@
slew-rate = "ultra";
bias-pull-down;
};
group2 {
pinmux = <IO_MUX_QUAD_SPI_PSRAM_IO35
IO_MUX_QUAD_SPI_PSRAM_IO36
IO_MUX_QUAD_SPI_PSRAM_IO38
IO_MUX_QUAD_SPI_PSRAM_IO39
IO_MUX_QUAD_SPI_PSRAM_IO40
IO_MUX_QUAD_SPI_PSRAM_IO41>;
slew-rate = "normal";
};
group3 {
pinmux = <IO_MUX_QUAD_SPI_PSRAM_IO37>;
slew-rate = "normal";
bias-pull-down;
};
};
};

View file

@ -116,6 +116,7 @@ arduino_i2c: &flexcomm2 {
ahb-cacheable;
ahb-read-addr-opt;
rx-clock-source = <1>;
rx-clock-source-b = <3>;
pinctrl-0 = <&pinmux_flexspi>;
pinctrl-names = "default";
status = "okay";
@ -156,6 +157,25 @@ arduino_i2c: &flexcomm2 {
};
};
};
is66wvq8m4: is66wvq8m4@2 {
compatible = "nxp,imx-flexspi-is66wvq8m4";
/* IS66WVQ8M4 is 4MB, 32MBit pSRAM */
size = <DT_SIZE_M(32)>;
reg = <2>;
spi-max-frequency = <256000000>;
/* PSRAM cannot be enabled while board is in default XIP
* configuration, as it will conflict with flash chip.
*/
status = "disabled";
cs-interval-unit = <1>;
cs-interval = <5>;
cs-hold-time = <2>;
cs-setup-time = <3>;
data-valid-time = <1>;
column-space = <14>;
ahb-write-wait-unit = <2>;
ahb-write-wait-interval = <0>;
};
};
&dmic0 {