1/*
2 * Copyright (c) 2023 ITE Corporation. All Rights Reserved.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <mem.h>
8
9/ {
10	soc {
11		flashctrl: flash-controller@f01000 {
12			compatible = "ite,it8xxx2-flash-controller";
13			reg = <0x00f01000 0x100>;
14			#address-cells = <1>;
15			#size-cells = <1>;
16
17			flash0: flash@80000000 {
18				compatible = "soc-nv-flash";
19				reg = <0x80000000 DT_SIZE_K(512)>;
20				erase-block-size = <4096>;
21				write-block-size = <4>;
22			};
23		};
24	};
25};
26
27