1# Copyright (c) 2023 Antmicro <www.antmicro.com>
2# Copyright (c) 2023 Ambiq Micro Inc. <www.ambiq.com>
3# SPDX-License-Identifier: Apache-2.0
4
5description: Ambiq GPIO bank node
6
7compatible: "ambiq,gpio-bank"
8
9include: [gpio-controller.yaml, base.yaml]
10
11properties:
12  reg:
13    required: true
14    description: |
15      This property indicates the register address offset of each GPIO child node
16      under the "ambiq,gpio" parent node. The register address of pin described in
17      gpio-cells can be obtained by: base address + child address offset + (pin << 2).
18
19  "#gpio-cells":
20    const: 2
21
22gpio-cells:
23  - pin
24  - flags
25