1/*
2 * Copyright (c) 2024 Ambiq Micro Inc. <www.ambiq.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	aliases {
9		mspi0 = &mspi0;
10	};
11};
12
13&mspi0 {
14
15	ce-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>,
16		   <&gpio0 18 GPIO_ACTIVE_LOW>;
17	dqs-support;
18	software-multiperipheral;
19
20	flash_dummy0: flash_dummy0@0 {
21		status = "okay";
22		compatible = "zephyr,mspi-emul-flash";
23		reg = <0x0>;
24		size = <DT_SIZE_K(8*8)>;
25		mspi-max-frequency = <48000000>;
26		mspi-io-mode = "MSPI_IO_MODE_QUAD";
27		mspi-data-rate = "MSPI_DATA_RATE_SINGLE";
28		mspi-hardware-ce-num = <0>;
29		read-command = <0x0B>;
30		write-command = <0x02>;
31		command-length = "INSTR_1_BYTE";
32		address-length = "ADDR_4_BYTE";
33		rx-dummy = <8>;
34		tx-dummy = <0>;
35	};
36
37	flash_dummy1: flash_dummy1@1 {
38		status = "okay";
39		compatible = "zephyr,mspi-emul-flash";
40		reg = <0x1>;
41		size = <DT_SIZE_K(8*8)>;
42		mspi-max-frequency = <96000000>;
43		mspi-io-mode = "MSPI_IO_MODE_OCTAL";
44		mspi-data-rate = "MSPI_DATA_RATE_DUAL";
45		mspi-hardware-ce-num = <1>;
46		mspi-dqs-enable;
47		read-command = <0x20>;
48		write-command = <0xAA>;
49		command-length = "INSTR_2_BYTE";
50		address-length = "ADDR_3_BYTE";
51		rx-dummy = <6>;
52		tx-dummy = <5>;
53		xip-config = <1 0 0 0>;
54		ce-break-config = <1024 4>;
55	};
56
57};
58