1 # SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
 
   3 # SPDX-License-Identifier: MIT
 
   4 """Hifive Unleashed pin names"""
 
   6 from adafruit_blinka.microcontroller.generic_linux.libgpiod_pin import Pin
 
  30 # ordered as spiId, sckId, mosiId, misoId
 
  31 SPI_PORTS = (1, SPI0_SCLK, SPI0_DOUT, SPI0_DIN)
 
  33 # ordered as uartId, txId, rxId
 
  35     (0, UART0_TXD, UART0_RXD),
 
  37     (1, UART1_TXD, UART1_RXD),
 
  40 # ordered as i2cId, sclId, sdaId
 
  41 I2C_PORTS = (0, I2C0_SDA, I2C0_SCL)