1 # SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
 
   3 # SPDX-License-Identifier: MIT
 
   4 """A Pin class for use with Rockchip RK3399."""
 
   6 from adafruit_blinka.microcontroller.generic_linux.sysfs_pin import Pin
 
  78 # ordered as i2cId, SCL, SDA
 
  80     (0, I2C2_SCL, I2C2_SDA),
 
  81     (1, I2C6_SCL, I2C6_SDA),
 
  82     (7, I2C7_SCL, I2C7_SDA),
 
  85 # ordered as spiId, sckId, mosiId, misoId
 
  86 spiPorts = ((1, SPI1_SCLK, SPI1_MOSI, SPI1_MISO),)
 
  88 # SysFS pwm outputs, pwm channel and pin in first tuple
 
  94 # SysFS analog inputs, Ordered as analog analogInId, device, and channel
 
  95 analogIns = ((ADC_IN0, 0, 0),)