zephyr/dts/bindings/gpio/seeed-xiao-header.yaml

34 lines
1.1 KiB
YAML

# Copyright (c) 2019 Foundries.io
# Copyright (C) 2019 Peter Bigot Consulting, LLC
# Copyright (C) 2021 Peter Johanson
# SPDX-License-Identifier: Apache-2.0
description: |
GPIO pins exposed on Seeeduino Xiao (and compatible devices) headers.
The Seeeeduino Xiao layout provides two headers, along opposite
edges of the board.
Proceeding counter-clockwise:
* A 7-pin Digital/Analog Input header. This has input signals
labeled from 0 at the top through 6 at the bottom.
* An 7-pin header Power and Digital/Analog Input header. This
has three power pins, followed by four inputs labeled 10 at the
top through 7 at the bottom.
This binding provides a nexus mapping for 10 pins where parent pins 0
through 10 correspond to D0 through D10, as depicted below:
0 D0 5V -
1 D1 GND -
2 D2 3V3 -
3 D3 D10 10
4 A4 D9 9
5 D5 D8 8
6 D6 D7 7
compatible: "seeed,xiao-gpio"
include: [gpio-nexus.yaml, base.yaml]