1/*
2 * Copyright (c) 2024 Renesas Electronics Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	aliases {
9		sram-ext = &memc;
10	};
11};
12
13&psram {
14	status = "okay";
15};
16
17/* QSPIC settings for the APS6404L-3SQR QSPI PSRAM memory in QPI mode. */
18&memc {
19	status = "okay";
20	is-ram;
21	dev-size = <DT_SIZE_M(64)>;
22	dev-type = <0x5D>;
23	dev-id = <0x0D>;
24	dev-density = <0xE040>;
25	reset-delay-us = <50>;
26	read-cs-idle-min-ns = <18>;
27	tcem-max-us = <2>;
28	enter-qpi-mode;
29	enter-qpi-cmd = <0x35>;
30	extra-byte-enable;
31	extra-byte = <0x0>;
32	dummy-bytes-count = "dummy-bytes-count2";
33	read-cmd = <0xEB>;
34	write-cmd = <0x38>;
35	rx-inst-mode = "quad-spi";
36	rx-addr-mode = "quad-spi";
37	rx-data-mode = "quad-spi";
38	rx-dummy-mode = "quad-spi";
39	rx-extra-mode = "quad-spi";
40	tx-inst-mode = "quad-spi";
41	tx-addr-mode = "quad-spi";
42	tx-data-mode = "quad-spi";
43};
44