1 # SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
3 # SPDX-License-Identifier: MIT
4 """Pin definitions for Udoo x86 Ultra
5 (should work for Ultra and Ultra II)
7 There are 2 naming systems. A Digital Pin system which includes
8 the arduino chip (Leonardo or 101). The Braswell #s start at 16 and
9 is documented in the diagram and text for linux version later than 4.15 in:
10 https://www.udoo.org/docs-x86II/Introduction/Introduction.html
11 The other is based on the hardware manual:
12 https://udoo.org/download/files/UDOO_X86/Doc/UDOO_X86II_MANUAL.pdf
14 This will use the D system based on the diagram in the user guide
16 i2c use i2c(board.I2C0_SCL, board_I2C0_SDA) or i2c(board.I2C1_SCL, board_I2C1_SDA)
17 for the i2c(board.SCL, board.SCL) in the examples
19 UART use pyserial not busio
22 from adafruit_blinka.microcontroller.pentium.n3710 import pin
34 # Connector CN13 LPC interface
53 # Connector CN12 SDIO SD/MMC interfaces
69 I2C0_SCL = D34 # labeled on diagram as I2C1, hardware manual port 0
70 I2C0_SDA = D35 # i2cdetect-l lists it as i2c-0
72 I2C1_SCL = D38 # Labeled on diagram as I2C2, hardware manual port 5
73 I2C1_SCL = D39 # i2cdetect lists it as i2c-1