zephyr/dts/bindings/gpio/seeed-xiao-header.yaml
Peter Johanson d99de305ce dts: bindings: Add generic Xiao interconnect
* With existence of Adafruit Qt Py boards, and upcoming wireless
  Xiao from Seeeduino, define nexus node and peripheral node
  labels for use with shields that accept any Xiao format board.
* Adds `&xiao_d`, `&xiao_spi`, `&xiao_i2c` and `&xiao_serial` generic
  node labels.
* Add new 'seeed-xioa-header.yaml` to document new nexus node.

Signed-off-by: Peter Johanson <peter@peterjohanson.com>
2021-11-22 22:25:20 -05:00

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]