1# Copyright (C) 2020 Linaro
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5    GPIO pins exposed on Mikro BUS headers.
6
7    The Mikro BUS layout provides two headers, aligned on the opposite
8    edges of the board.
9
10    Documentation:
11    https://www.mikroe.com/mikrobus
12    https://download.mikroe.com/documents/standards/mikrobus/mikrobus-standard-specification-v200.pdf
13
14    This binding provides a nexus mapping for 10 pins, left side pins are
15    numbered 0 - 5 (AN - MOSI), the right side pins are numbered 6 - 10
16    (PWM - SDA). The bottom 2 pins on each side are used for input voltage
17    and ground, they are not mapped in the nexus.
18
19                           Analog - AN     PWM - PWM output
20                            Reset - RST    INT - Hardware Interrupt
21                  SPI Chip Select - CS      RX - UART Receive
22                        SPI Clock - SCK     TX - UART Transmit
23    SPI Master Input Slave Output - MISO   SCL - I2C Clock
24    SPI Master Output Slave Input - MOSI   SDA - I2C Data
25                   VCC-3.3V power - +3.3V  +5V - VCC-5V power
26                 Reference Ground - GND    GND - Reference Ground
27
28    Board's silkscreen may vary depending on your board, but coherent with
29    the description above as it's according to the standard's specification.
30
31compatible: "mikro-bus"
32
33include: [gpio-nexus.yaml, base.yaml]
34