1/*
2 * Copyright (c) 2023 Nuvoton Technology Corporation.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <mem.h>
8#include "npcx/npcx4.dtsi"
9
10/ {
11	flash0: flash@10088000 {
12		reg = <0x10088000 DT_SIZE_K(224)>;
13	};
14
15	flash1: flash@60000000 {
16		reg = <0x60000000 DT_SIZE_K(512)>;
17	};
18
19	sram0: memory@200c0000 {
20		compatible = "mmio-sram";
21		reg = <0x200C0000 DT_SIZE_K(96)>;
22	};
23
24	soc-id {
25		device-id = <0x2d>;
26	};
27};
28
29&qspi_fiu0 {
30	status = "okay";
31
32	int_flash: w25q40@0 {
33		compatible ="nuvoton,npcx-fiu-nor";
34		size = <DT_SIZE_K(512 * 8)>;
35		reg = <0>;
36		status = "okay";
37
38		/* quad spi bus configuration of nor flash device */
39		qspi-flags = <NPCX_QSPI_SW_CS0>;
40		mapped-addr = <0x60000000>;
41	};
42};
43