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@10060000 { 12 reg = <0x10060000 DT_SIZE_K(384)>; 13 }; 14 15 flash1: flash@60000000 { 16 reg = <0x60000000 DT_SIZE_M(1)>; 17 }; 18 19 sram0: memory@200c0000 { 20 compatible = "mmio-sram"; 21 reg = <0x200C0000 DT_SIZE_K(114)>; 22 }; 23 24 soc-id { 25 device-id = <0x2b>; 26 }; 27}; 28 29&qspi_fiu0 { 30 status = "okay"; 31 32 int_flash: w25q80@0 { 33 compatible ="nuvoton,npcx-fiu-nor"; 34 size = <DT_SIZE_M(1 * 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