2021-04-27 17:49:13 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 Nuvoton Technology Corporation.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <mem.h>
|
|
|
|
#include "npcx9.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
flash0: flash@10090000 {
|
|
|
|
reg = <0x10090000 DT_SIZE_K(192)>;
|
|
|
|
};
|
|
|
|
|
|
|
|
flash1: flash@64000000 {
|
|
|
|
reg = <0x64000000 DT_SIZE_K(512)>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sram0: memory@200c0000 {
|
|
|
|
compatible = "mmio-sram";
|
2022-01-27 16:03:46 +08:00
|
|
|
reg = <0x200C0000 DT_SIZE_K(64)>;
|
2021-04-27 17:49:13 +08:00
|
|
|
};
|
2021-07-01 14:05:04 +08:00
|
|
|
|
|
|
|
soc-id {
|
|
|
|
device-id = <0x21>;
|
|
|
|
};
|
2021-04-27 17:49:13 +08:00
|
|
|
};
|
2021-10-13 14:17:02 +08:00
|
|
|
|
|
|
|
&spi_fiu0 {
|
|
|
|
int_flash: w25q40@0 {
|
|
|
|
compatible ="jedec,spi-nor";
|
|
|
|
/* 4194304 bits = 512K Bytes */
|
|
|
|
size = <0x400000>;
|
|
|
|
label = "W25Q40";
|
|
|
|
reg = <0>;
|
|
|
|
spi-max-frequency = <50000000>;
|
|
|
|
status = "okay";
|
|
|
|
jedec-id = [ef 40 13];
|
|
|
|
};
|
|
|
|
};
|