Skip to content

Commit 4b102bd

Browse files
petejohansoncarlescufi
authored andcommitted
dts: bindings: gpio: Add SparkFun Pro Micro header
Add SparkFun Pro Micro header connector that is implemented by many other controllers. This allows hardware with compatible headers to define the related GPIOs and peripherals. Signed-off-by: Peter Johanson <[email protected]>
1 parent eb433f3 commit 4b102bd

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Copyright (C) 2021 Peter Johanson
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: |
5+
GPIO pins exposed on Sparkfun Pro Micro (and compatible devices) headers.
6+
7+
The Sparkfun Pro Micro layout provides two headers, along opposite
8+
edges of the board.
9+
10+
Proceeding counter-clockwise:
11+
* A 12-pin Power and Digital Input header. This has input signals
12+
labeled from 0 at the top through 9 at the bottom.
13+
* An 12-pin Power and Digital/Analog Input header. This
14+
has four power pins, followed by eight inputs, with a
15+
non-monotonically decreasing numbering.
16+
17+
This binding provides a nexus mapping for 18 pins, as depicted below:
18+
19+
0 TX0 RAW -
20+
1 RX1 GND -
21+
- GND RST -
22+
- GND VCC -
23+
2 D2 D21/A3 21
24+
3 D3 D20/A2 20
25+
4 A4 D19/A1 19
26+
5 D5 D18/A0 18
27+
6 D6 D15 15
28+
7 D7 D14 14
29+
8 D8 D16 16
30+
9 D9 D10 10
31+
32+
33+
compatible: "sparkfun,pro-micro-gpio"
34+
35+
include: [gpio-nexus.yaml, base.yaml]

0 commit comments

Comments
 (0)