1# Copyright (c) 2023 Antmicro <www.antmicro.com>
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5    GPIO pins exposed on Ambiq Apollo4p EVB headers
6
7    The Ambiq Apollo4p EVB layout provides 5x16 and 1x20 pin headers.
8
9    The binding provides a nexus mapping for these pins as depicted below.
10
11            J7                              J12
12
13    VDD_MCU - VDD_MCU -             GPIO22 22 GND     -
14    VDD_EXT - VDD_EXT -             GPIO23 23 GPIO24 24
15    nRST    - GND     -             VDD_MCU - GND     -
16    VDD_EXT - VDD_EXT -             GND     - GPIO64 64
17    VDD_5V  - VDD_5V  -             GPIO61 61 GPIO65 65
18    GND     - GND     -             GPIO63 63 GPIO66 66
19    GND     - GPIO100 100           GPIO62 62 GPIO67 67
20    VDDH2   - GPIO97  97            GPIO47 47 GPIO68 68
21                                    GPIO49 49 GPIO69 69
22            J9                      GPIO48 48 GPIO70 70
23
24    GPIO19 19 GPIO96  96                    J11
25    GPIO18 18 GPIO95  95
26    GPIO17 17 GPIO98  98            GPIO53 53 GPIO71 71
27    GPIO16 16 GPIO99  99            GPIO52 52 GPIO72 72
28    GPIO15 15 GPIO102 102           GPIO91 91 GPIO73 73
29    GPIO14 14 GPIO34  34            GPIO90 90 GPIO93 93
30    GPIO13 13 GPIO35  35            GPIO11 11 GPIO92 92
31    GPIO12 12 GPIO36  36            GPIO10 10 GPIO33 33
32                                    GPIO8  8  GPIO32 32
33                                    GPIO9  9  GPIO31 31
34
35                                            J10
36
37                                    GPIO28 28 GPIO60 60
38                                    GPIO30 30 GPIO59 59
39                                    GPIO94 94 GPIO58 58
40                                    GPIO55 55 GPIO7  7
41                                    GPIO0  0  GPIO54 54
42                                    GPIO51 51 GPIO1  1
43                                    GPIO2  2  GPIO50 50
44                                    GPIO3  3  GPIO4  4
45
46                                      Voltage Header
47
48                                    VDD_EXT - VDD_5V -
49                                    GND     - GND    -
50                                    BIAS    - BIAS   -
51                                    GND     - AUDA   -
52                                    GND     - GND    -
53                                    D1P     - DON    -
54                                    D1N     - DOP    -
55                                    GND     - GND    -
56
57compatible: "ambiq-header"
58
59include: [gpio-nexus.yaml, base.yaml]
60