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/npcx9.dtsi"
9
10/ {
11	flash0: flash@10070000 {
12		reg = <0x10070000 DT_SIZE_K(320)>;
13	};
14
15	flash1: flash@64000000 {
16		reg = <0x64000000 DT_SIZE_K(1024)>;
17	};
18
19	sram0: memory@200c0000 {
20		compatible = "mmio-sram";
21		reg = <0x200C0000 DT_SIZE_K(64)>;
22	};
23
24	soc-id {
25		device-id = <0x62>;
26	};
27};
28
29&qspi_fiu0 {
30	int_flash: w25q80@0 {
31		compatible ="nuvoton,npcx-fiu-nor";
32		size = <DT_SIZE_M(1 * 8)>;
33		reg = <0>;
34		status = "okay";
35
36		/* quad spi bus configuration of nor flash device */
37		qspi-flags = <NPCX_QSPI_SW_CS1>;
38		mapped-addr = <0x64000000>;
39		pinctrl-0 = <&int_flash_sl>;
40		pinctrl-names = "default";
41	};
42};
43