1 # SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
 
   3 # SPDX-License-Identifier: MIT
 
   4 """A Pin class for use with Rockchip RK3308."""
 
   6 from adafruit_blinka.microcontroller.generic_linux.sysfs_pin import Pin
 
 167 # ordered as i2cId, SCL, SDA
 
 169     (0, I2C0_SCL, I2C0_SDA),
 
 170     (1, I2C1_SCL, I2C1_SDA),
 
 171     (2, I2C2_SCL, I2C2_SDA),
 
 172     (3, I2C3_SCL, I2C3_SDA),
 
 175 # ordered as spiId, sckId, mosiId, misoId
 
 176 spiPorts = ((2, SPI2_SCLK, SPI2_MOSI, SPI2_MISO),)
 
 178 # SysFS pwm outputs, pwm channel and pin in first tuple
 
 184 # SysFS analog inputs, Ordered as analog analogInId, device, and channel
 
 185 analogIns = ((ADC_IN0, 0, 0),)