1# Copyright (c) 2024-2025 Renesas Electronics Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4description: Renesas RA family flash high-performance controller
5
6compatible: "renesas,ra-flash-hp-controller"
7
8include: flash-controller.yaml
9
10properties:
11  interrupts:
12    description: |
13      IRQ number and priority to use for Flash controller.
14      Note: If the config FLASH_RENESAS_RA_HP_BGO is not set,
15            no need to define interrupt for flash controller.
16
17  interrupt-names:
18    enum:
19      - "frdyi"
20      - "fiferr"
21    description: |
22      Interrupts must be given corresponding names so that the driver can recognize them.
23
24  flash-hardware-version:
25    type: int
26    required: true
27    enum:
28      - 4
29      - 40
30    description: |
31      Version of the Flash peripheral/hardware.
32
33  "#erase-block-cells":
34    type: int
35    const: 2
36    description: Number of items to expect in a flash layout.
37
38erase-block-cells:
39  - pages_count
40  - pages_size
41