]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/microcontroller/stm32/stm32mp157/pin.py
Merge pull request #1005 from makermelissa/libgpiod-fix
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / stm32 / stm32mp157 / pin.py
index e0a540b023f93f8838177ae014bcb9f84355b6da..bc8cd5d758e73fc3d7e6a5372b9741e17c01ab91 100755 (executable)
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
+#
+# SPDX-License-Identifier: MIT
 """STM32MP157 pins"""
 from adafruit_blinka.microcontroller.generic_linux.periphery_pin import Pin
 
 """STM32MP157 pins"""
 from adafruit_blinka.microcontroller.generic_linux.periphery_pin import Pin
 
@@ -94,6 +97,7 @@ PF12 = Pin((5, 12))
 PF13 = Pin((5, 13))
 PF14 = Pin((5, 14))
 PF15 = Pin((5, 15))
 PF13 = Pin((5, 13))
 PF14 = Pin((5, 14))
 PF15 = Pin((5, 15))
+PG0 = Pin((6, 0))
 PG1 = Pin((6, 1))
 PG2 = Pin((6, 2))
 PG3 = Pin((6, 3))
 PG1 = Pin((6, 1))
 PG2 = Pin((6, 2))
 PG3 = Pin((6, 3))
@@ -162,7 +166,8 @@ i2cPorts = (
 )
 
 # SysFS analog inputs, Ordered as analog analogInId, device, and channel
 )
 
 # SysFS analog inputs, Ordered as analog analogInId, device, and channel
-# Because stm32mp157 analog io used special port name, it doesn't like gpiod named form, so support analog io in this way
+# Because stm32mp157 analog io used special port name,it doesn't like gpiod named form
+# so support analog io in this way
 PAN0 = 0
 PAN1 = 0
 analogIns = ((PAN0, 0, 0),)
 PAN0 = 0
 PAN1 = 0
 analogIns = ((PAN0, 0, 0),)