1# Copyright (c) 2022 BrainCo Inc.
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Flash memory binding of GD32 FMC v2.
6
7  GD32 series use this type flash memory:
8    - GD32F10x
9    - GD32F20x
10    - GD32F30x
11    - GD32F403
12
13include: soc-nv-flash.yaml
14
15compatible: gd,gd32-nv-flash-v2
16
17properties:
18  max-erase-time-ms:
19    type: int
20    required: true
21    description: Max erase time(millisecond) of a flash page
22
23  bank0-page-size:
24    type: int
25    required: true
26    description: Flash memory page size for bank0
27
28  bank1-page-size:
29    type: int
30    required: true
31    description: Flash memory page size for bank1
32