Skip to content

Commit 05acc88

Browse files
davidmissaelnashif
authored andcommitted
boards: nxp: frdm_rw612: add aps6404l PSRAM
Add entry for aps6404l PSRAM on frdm_rw612 board Signed-off-by: David Missael Maciel <[email protected]>
1 parent cc1266a commit 05acc88

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

boards/nxp/frdm_rw612/frdm_rw612.dts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@
5656

5757
&flexspi {
5858
status = "okay";
59+
ahb-bufferable;
60+
ahb-prefetch;
61+
ahb-cacheable;
62+
ahb-read-addr-opt;
63+
ahb-boundary = "1024";
64+
rx-clock-source = <1>;
65+
rx-clock-source-b = <1>;
5966
/* Winbond external flash */
6067
w25q512jvfiq: w25q512jvfiq@0 {
6168
compatible = "nxp,imx-flexspi-nor";
@@ -66,6 +73,25 @@
6673
write-block-size = <1>;
6774
spi-max-frequency = <133000000>;
6875
};
76+
aps6404l: aps6404l@2 {
77+
compatible = "nxp,imx-flexspi-aps6404l";
78+
/* APS6404L is 8MB, 64MBit pSRAM */
79+
size = <DT_SIZE_M(8 * 8)>;
80+
reg = <2>;
81+
spi-max-frequency = <109000000>;
82+
/* PSRAM cannot be enabled while board is in default XIP
83+
* configuration, as it will conflict with flash chip.
84+
*/
85+
status = "disabled";
86+
cs-interval-unit = <1>;
87+
cs-interval = <2>;
88+
cs-hold-time = <3>;
89+
cs-setup-time = <3>;
90+
data-valid-time = <6>;
91+
column-space = <0>;
92+
ahb-write-wait-unit = <2>;
93+
ahb-write-wait-interval = <0>;
94+
};
6995
};
7096

7197
&hci {

0 commit comments

Comments
 (0)