1# Copyright (c) 2024 Jerónimo Agulló 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 GPIO pins exposed on micromod headers. 6 7 The micromod standard leverages the M.2 connector with 76 pins for 8 swap between a myriad of supported boards and carriers. 9 10 The micromod standard consists of two lanes with the following 11 supported buses: 12 * An 6-pin Power Supply header. No pins on this header are exposed 13 by this binding. 14 * Reset, Boot pins and SWD pins not exposed by this binding. 15 * 2 UART buses. First with RTS and CTS pins, while the 2nd with only 16 RX and TX pins. Neither of them are exposed by this binding. 17 * 2 i2c buses. Only the corresponding interrupt pin is exposed by 18 this binding. 19 * 2 SPI buses not exposed by this binding. Only SPI CS control pin 20 is exposed by this binding. 21 * Audio line not exposed by this binding. 22 * 2 analog pins (A0 and A1). 23 * 2 digital pins (D0 and D1). 24 * 12 General purpose pins (G0 - G11). 25 26 This binding provides a nexus mapping for the analog, digital and 27 general purpose gpios in the order depicted below: 28 29 - 00 -> A0 PIN 34 30 - 01 -> A1 PIN 38 31 - 02 -> D0 PIN 10 32 - 03 -> D1/CAM_TRIG PIN 18 33 - 04 -> I2C_INT# PIN 16 34 - 05 -> G0/BUS0 PIN 40 35 - 06 -> G1/BUS1 PIN 42 36 - 07 -> G2/BUS2 PIN 44 37 - 08 -> G3/BUS3 PIN 46 38 - 09 -> G4/BUS4 PIN 48 39 - 10 -> G5/BUS5 PIN 73 40 - 11 -> G6/BUS6 PIN 71 41 - 12 -> G7/BUS7 PIN 69 42 - 13 -> G8 PIN 67 43 - 14 -> G9/ADC_D-/CAM_HSYNC PIN 65 44 - 15 -> G10/ADC_D+/CAM_VSYNC PIN 63 45 - 16 -> G11/SWO PIN 8 46 - 17 -> SPI_CS PIN 55 47 48 49compatible: "sparkfun,micromod-gpio" 50 51include: [gpio-nexus.yaml, base.yaml] 52