1 # SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
3 # SPDX-License-Identifier: MIT
4 """A Pin class for use with Rockchip RK3399."""
6 from adafruit_blinka.microcontroller.generic_linux.sysfs_pin import Pin
63 # ordered as i2cId, SCL, SDA
65 (0, I2C2_SCL, I2C2_SDA),
66 (1, I2C6_SCL, I2C6_SDA),
67 (7, I2C7_SCL, I2C7_SDA),
70 # ordered as spiId, sckId, mosiId, misoId
71 spiPorts = ((1, SPI1_SCLK, SPI1_MOSI, SPI1_MISO),)
73 # SysFS pwm outputs, pwm channel and pin in first tuple
79 # SysFS analog inputs, Ordered as analog analogInId, device, and channel
80 analogIns = ((ADC_IN0, 0, 0),)