2021-01-20 17:06:58 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 Nuvoton Technology Corporation.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <mem.h>
|
2022-07-25 17:27:08 +08:00
|
|
|
#include "npcx/npcx7.dtsi"
|
2021-01-20 17:06:58 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
flash0: flash@10090000 {
|
|
|
|
reg = <0x10090000 DT_SIZE_K(192)>;
|
|
|
|
};
|
|
|
|
|
|
|
|
flash1: flash@64000000 {
|
|
|
|
reg = <0x64000000 DT_SIZE_K(512)>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sram0: memory@200c0000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x200C0000 DT_SIZE_K(62)>;
|
|
|
|
};
|
2021-07-01 14:05:04 +08:00
|
|
|
|
2022-02-07 10:17:46 +08:00
|
|
|
/* RAM space used by Booter */
|
|
|
|
bootloader_ram: memory@200cf800 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x200CF800 DT_SIZE_K(2)>;
|
|
|
|
};
|
|
|
|
|
2021-07-01 14:05:04 +08:00
|
|
|
soc-id {
|
|
|
|
device-id = <0x29>;
|
|
|
|
};
|
2021-01-20 17:06:58 +08:00
|
|
|
};
|
2021-10-13 14:17:02 +08:00
|
|
|
|
2023-06-20 09:44:57 +08:00
|
|
|
&qspi_fiu0 {
|
|
|
|
status = "okay";
|
|
|
|
|
2021-10-13 14:17:02 +08:00
|
|
|
int_flash: w25q40@0 {
|
2023-06-20 09:44:57 +08:00
|
|
|
compatible ="nuvoton,npcx-fiu-nor";
|
|
|
|
size = <DT_SIZE_K(512 * 8)>;
|
2021-10-13 14:17:02 +08:00
|
|
|
reg = <0>;
|
|
|
|
status = "okay";
|
2023-06-20 09:44:57 +08:00
|
|
|
|
|
|
|
/* quad spi bus configuration of nor flash device */
|
|
|
|
qspi-flags = <NPCX_QSPI_SW_CS1>;
|
|
|
|
mapped-addr = <0x64000000>;
|
|
|
|
pinctrl-0 = <&int_flash_sl>;
|
|
|
|
pinctrl-names = "default";
|
2021-10-13 14:17:02 +08:00
|
|
|
};
|
|
|
|
};
|