]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/microcontroller/amlogic/s922x/pin.py
Massive pylinting session and added Github Actions
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / amlogic / s922x / pin.py
index d544e8044683e2791570bfc8b44e7b44b1e9d4d5..b9198aea650ee153ea17aca9d119b7e66f1ccfa4 100644 (file)
@@ -1,20 +1,3 @@
+"""AmLogic s922x pin names"""
+# pylint: disable=wildcard-import,unused-wildcard-import
 from adafruit_blinka.microcontroller.amlogic.meson_g12_common.pin import *
-
-
-I2C2_SDA = GPIO493
-I2C2_SCL = GPIO494
-I2C3_SDA = GPIO474
-I2C3_SCL = GPIO475
-
-UART1_TX = GPIO488
-UART1_RX = GPIO489
-
-SPI0_SCLK = GPIO487
-SPI0_MISO = GPIO485
-SPI0_MOSI = GPIO484
-
-i2cPorts = ((2, I2C2_SCL, I2C2_SDA), (3, I2C3_SCL, I2C3_SDA), )
-# ordered as spiId, sckId, mosiId, misoId
-spiPorts = ((0, SPI0_SCLK, SPI0_MOSI, SPI0_MISO), )
-# ordered as uartId, txId, rxId
-uartPorts = ((1, UART1_TX, UART1_RX), )