1 # SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
 
   3 # SPDX-License-Identifier: MIT
 
   4 """MIPS 24kec pin names"""
 
   5 from adafruit_blinka.microcontroller.generic_linux.periphery_pin import Pin
 
  11 GPIO4 = Pin(4)  # I2C SDA
 
  12 GPIO5 = Pin(5)  # I2C SCL
 
  13 GPIO6 = Pin(6)  # SPI CS
 
  14 GPIO7 = Pin(7)  # SPI SCLK
 
  15 GPIO8 = Pin(8)  # SPI MOSI
 
  16 GPIO9 = Pin(9)  # SPI MISO
 
  59 # ordered as i2cId, sclId, sdaId
 
  60 i2cPorts = ((0, I2C0_SCL, I2C0_SDA),)
 
  62 # ordered as spiId, sckId, mosiId, misoId
 
  63 spiPorts = (((0, 1), SPI0_SCLK, SPI0_MOSI, SPI0_MISO),)
 
  65 # ordered as uartId, txId, rxId
 
  67     (0, UART0_TX, UART0_RX),
 
  68     (1, UART1_TX, UART1_RX),