1 """MIPS 24kec pin names"""
2 from adafruit_blinka.microcontroller.generic_linux.periphery_pin import Pin
8 GPIO4 = Pin(4) # I2C SDA
9 GPIO5 = Pin(5) # I2C SCL
10 GPIO6 = Pin(6) # SPI CS
11 GPIO7 = Pin(7) # SPI SCLK
12 GPIO8 = Pin(8) # SPI MOSI
13 GPIO9 = Pin(9) # SPI MISO
56 # ordered as i2cId, sclId, sdaId
57 i2cPorts = ((0, I2C0_SCL, I2C0_SDA),)
59 # ordered as spiId, sckId, mosiId, misoId
60 spiPorts = (((0, 1), SPI0_SCLK, SPI0_MOSI, SPI0_MISO),)
62 # ordered as uartId, txId, rxId
64 (0, UART0_TX, UART0_RX),
65 (1, UART1_TX, UART1_RX),