X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/a013da4927ee9ef030130fa287e5ce486b62281f..327311ee9cc06390c83e1ba7f711f9d089303e23:/src/adafruit_blinka/microcontroller/rockchip/rk3568b2/pin.py diff --git a/src/adafruit_blinka/microcontroller/rockchip/rk3568b2/pin.py b/src/adafruit_blinka/microcontroller/rockchip/rk3568b2/pin.py index 51535d5..0f1a01b 100644 --- a/src/adafruit_blinka/microcontroller/rockchip/rk3568b2/pin.py +++ b/src/adafruit_blinka/microcontroller/rockchip/rk3568b2/pin.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 MrPanc0 for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """A Pin class for use with Rockchip RK3568B2.""" from adafruit_blinka.microcontroller.generic_linux.libgpiod_pin import Pin @@ -50,8 +54,8 @@ UART1_TX = GPIO3D_6 UART1_RX = GPIO3D_7 # PWM -#PWM0 = GPIO4_C2 -#PWM1 = GPIO4_C6 +# PWM0 = GPIO4_C2 +# PWM1 = GPIO4_C6 # ordered as i2cId, SCL, SDA i2cPorts = ( @@ -63,13 +67,13 @@ i2cPorts = ( spiPorts = ((1, SPI0_SCLK, SPI0_MOSI, SPI0_MISO),) # SysFS pwm outputs, pwm channel and pin in first tuple -#pwmOuts = ( +# pwmOuts = ( # ((0, 0), PWM0), # ((1, 0), PWM1), -#) +# ) # SysFS analog inputs, Ordered as analog analogInId, device, and channel analogIns = ( - (ADC_AIN0, 0, 0), - (ADC_AIN1, 0, 0), - ) + (ADC_AIN0, 0, 0), + (ADC_AIN1, 0, 0), +)