1 """A Pin class for use with Rockchip RK3399."""
3 from adafruit_blinka.microcontroller.generic_linux.sysfs_pin import Pin
60 # ordered as i2cId, SCL, SDA
62 (0, I2C2_SCL, I2C2_SDA),
63 (1, I2C6_SCL, I2C6_SDA),
64 (7, I2C7_SCL, I2C7_SDA),
67 # ordered as spiId, sckId, mosiId, misoId
68 spiPorts = ((1, SPI1_SCLK, SPI1_MOSI, SPI1_MISO),)
70 # SysFS pwm outputs, pwm channel and pin in first tuple
76 # SysFS analog inputs, Ordered as analog analogInId, device, and channel
77 analogIns = ((ADC_IN0, 0, 0),)