1 # SPDX-FileCopyrightText: 2024 Suren Khorenyan
3 # SPDX-License-Identifier: MIT
4 """Repka Pi 3 (Allwinner H5) pin names"""
5 from adafruit_blinka.microcontroller.generic_linux.libgpiod_pin import Pin
59 (1, TWI1_SCL, TWI1_SDA),
60 # todo: check pinout in `/proc/device-tree/repka-pinout`?
61 (2, TWI2_SCL, TWI2_SDA),
63 # ordered as spiId, sckId, mosiId, misoId
65 (0, SPI0_CLK, SPI0_MOSI, SPI0_MISO),
66 (1, SPI1_CLK, SPI1_MOSI, SPI1_MISO),
68 # ordered as uartId, txId, rxId
70 # todo: check uart ids
71 (0, UART0_TX, UART0_RX),
72 (2, UART2_TX, UART2_RX),
73 (1, S_UART_TX, S_UART_RX),