1 # SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
3 # SPDX-License-Identifier: MIT
4 """Pin definitions for the AML-S905X-CC-V1."""
6 from adafruit_blinka.microcontroller.amlogic.s905x import pin
8 for it in pin.i2cPorts:
9 globals()["SCL" + str(it[0])] = it[1]
10 globals()["SDA" + str(it[0])] = it[2]
12 SCL = pin.i2cPorts[0][1]
13 SDA = pin.i2cPorts[0][2]
21 # https://github.com/libre-computer-project/libretech-wiring-tool/blob/master/libre-computer/aml-s905x-cc/gpio.map