1 """A Pin class for use with Rockchip RK3308."""
3 from adafruit_blinka.microcontroller.generic_linux.sysfs_pin import Pin
162 # ordered as i2cId, SCL, SDA
164 (1, I2C1_SCL, I2C1_SDA),
165 (2, I2C2_SCL, I2C2_SDA),
166 (3, I2C3_SCL, I2C3_SDA),
169 # ordered as spiId, sckId, mosiId, misoId
170 spiPorts = ((2, SPI2_SCLK, SPI2_MOSI, SPI2_MISO),)
172 # SysFS pwm outputs, pwm channel and pin in first tuple
178 # SysFS analog inputs, Ordered as analog analogInId, device, and channel
179 analogIns = ((ADC_IN0, 0, 0),)