1/*
2 * Copyright (c) 2021 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@10090000 {
12		reg = <0x10090000 DT_SIZE_K(192)>;
13	};
14
15	flash1: flash@64000000 {
16		reg = <0x64000000 DT_SIZE_K(512)>;
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 = <0x21>;
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_CS1>;
40		mapped-addr = <0x64000000>;
41		pinctrl-0 = <&int_flash_sl>;
42		pinctrl-names = "default";
43	};
44};
45