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