1 """A Pin class for use with Rockchip RK3568B2."""
3 from adafruit_blinka.microcontroller.generic_linux.sysfs_pin import Pin
56 # ordered as i2cId, SCL, SDA
58 (0, I2C0_SCL, I2C0_SDA),
59 (1, I2C1_SCL, I2C1_SDA),
62 # ordered as spiId, sckId, mosiId, misoId
63 spiPorts = ((1, SPI0_SCLK, SPI0_MOSI, SPI0_MISO),)
65 # SysFS pwm outputs, pwm channel and pin in first tuple
71 # SysFS analog inputs, Ordered as analog analogInId, device, and channel