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/npcx7.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(62)>; 22 }; 23 24 /* RAM space used by Booter */ 25 bootloader_ram: memory@200cf800 { 26 compatible = "mmio-sram"; 27 reg = <0x200CF800 DT_SIZE_K(2)>; 28 }; 29 30 soc-id { 31 device-id = <0x29>; 32 }; 33}; 34 35&qspi_fiu0 { 36 status = "okay"; 37 38 int_flash: w25q40@0 { 39 compatible ="nuvoton,npcx-fiu-nor"; 40 size = <DT_SIZE_K(512 * 8)>; 41 reg = <0>; 42 status = "okay"; 43 44 /* quad spi bus configuration of nor flash device */ 45 qspi-flags = <NPCX_QSPI_SW_CS1>; 46 mapped-addr = <0x64000000>; 47 pinctrl-0 = <&int_flash_sl>; 48 pinctrl-names = "default"; 49 }; 50}; 51